Jayesh,
Thanks for your reply.
I tried the code you suggested, but I could not get it work.
When I tried to call the public method in the form, the code would not compile.
Here is the line I tried
Form oForm = this.ActiveMDIChild;
oForm.RunQuery();
The compiler came back with 'System.Windows.Forms.Form' does not contain a definition for 'RunQuery'
I replaced "Form" with "View" (which is the form that has the method RunQuery) and the compiler came back with "Cannot implicitly convert type 'System.Windows.Forms.Form' to 'QueryView.View'"
Any suggestions will be greatly appreciated.
Thanks
Ben Alicea
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only