I have an Windows form application that has three forms, Main, Form1 and
Form 2. I created a new property on Form 1 that accepts a datatable that is
generated in Form2. The data table is past to Form 1 and is used to fill a
devX extragrid drop down box.
Everything works well when Form 1 is the application startup form. But when
I make the Main Form the startup form and open Form 1 from the Main Form,
the datatable created in Form 2 is not passed to Form 1.
There is data in the data table created by Form 2.
Is there a reason why everything works when the startup form is Form 1 and
doesn't work when it is opened by the Main Form?
|