Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is macro substitution available in .net
Message
De
10/07/2006 07:59:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01134885
Message ID:
01134900
Vues:
19
>Hi Cetin
>The scenario is i have developed one toolbar as User Control and by making a user control library linked it with my project.
>This toolbar have buttons like ADD,EDIT,DELETE,FIND etc
>i have used this toolbar in my main project and when the user clicks this button i want it should run a specific function of that form only.
>
>Ex. on the click event of Add a function name variable is passed and it should execute.
>
>
>Thanks

As I said check System.Reflection and Activator class in .Net. Also check "Dynamically Loading and Using Types" in help.
BUT think twice if you really need it. I didn't understand your scenario. Why bind to specific function of a form, instead binding to generic functions outside of form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform