Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling method in MDI form
Message
De
15/05/2003 14:24:57
Ben Alicea
B.A. Software & Consulting, Inc
Oldsmar, Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00788597
Message ID:
00788908
Vues:
41
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
Fil
Voir

Click here to load this message in the networking platform