General information
Title:
Event for .net control similar foxpro object Init() event
Hi,
My question maybe is stupid :)) but I can't find event for control like FoxPro object Init event :)) sorry..
I try to explain.
I wrote some code into baseclass of control. This code must be executed when control initialized.. and ONLY in RUNTIME.. not at design time
So.. if I put code to Sub New() - this code always executed in runtime and designtime because DesignMode for control inside Sub New() is always false. (even if I open it in IDE)
So I need to find possiblity to start a code when control initializing and only in DesignMode = false
Thanks for help
Denis
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only