Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding and methods
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00951733
Message ID:
00951814
Views:
5
Thanks David, thats what i thought, but i needed some one to confirm it.

Thanks Again!!!!

-->Shawn

>Each panel on the form is an instance of a panel. You cannot override a method on an instance. You can create three subclasses outside of your form but that is probably not what you want to do in this case. Instead you should look for some event on each instance to handle. If there is no suitable event you can create your own on the panel base class and raise it at the appropriate time.
>
>panel1.Event += new EventHandler(eventhandler1);
>panel2.Event += new EventHandler(eventhandler2);
>panel3.Event += new EventHandler(eventhandler3);
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Previous
Reply
Map
View

Click here to load this message in the networking platform