Looking fo event
is there any control event equivalent to load in form , or at least accrues the sec after the control been created?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Jun 22, 2008, 3:30 AM EDT
Sunny Chen162 reputationPosted Jul 5, 2008, 8:02 PM EDT
Yes, I agree with Scott.
Another way, you may add another event handler into the form's designer generated code, like following:
this.Load += new EventHandler(YourMethodName);
where the YourMethodName is the method where you put your code that is similar to Form_Load.
Hope this helps.