Information générale
Catégorie:
Formulaires Web
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement