Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is macro substitution available in .net
Message
From
10/07/2006 07:59:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01134885
Message ID:
01134900
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform