|
-
Oct 25th, 2010, 10:15 PM
#1
Thread Starter
Hyperactive Member
Event Handlers - Form Load
Hi, I'm trying to re use my Event for the Form Load, when the user clicks a button in the different form, I'd like it to reuse the event Form Load for the main, which calls a lot of the methods to load data. I'm using this current code:
Code:
this.FormClosed += Forms.frmMain.frmMain_Load;
It somewhat works, with this, I'm able to show the MessageBox I have set there for testing purposes, but for some reason (sorry, a bit new at the whole event handling) it won't update my actual controls - my label should be set to something else, but isn't updating. My variable is though, because I'm showing that in the MessageBox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|