I have a project with a form MDIContainer (form1) and this form1 has 4 child forms ( form2, form3, form4, form5).
All the data need to be connected, I mean, I need create one object of each form and don't lose the data of this object
In the form1, I declare all the forms like: form2 frm_2 = new form2 ...
form2,form3,form4,form5 has DataGridViews, bindingsources, etc...
Some times I need manipulate data between forms.
ex:How Can I pass data through the childforms ? But this data need to be always there
Ex:. When on the form2 the event DataGridView2_SelectionChanged I need get some data from the database and put in form3 DataGridView3.But on the form3 I have a method and bindingsource and dataset binding on the DataGridView3. So I need access this method.
I need a example how to do that, many child forms and How to communicate between all of them