i want to call the load event of the form inside the click event of the commant button depending upon certain condition
how can i do this?
babbu
-12
Posting Whiz in Training
Recommended Answers
Jump to PostLets say that in the loadmain you set text for a label like this
Label1.Text = "Load Main"
But you want to do the same thing if you click a button, then create a function called for example…private void SetLabel() { Label1.Text = "Load Main" }
All 4 Replies
jbisono
51
Posting Pro in Training
babbu
-12
Posting Whiz in Training
sonia sardana
-13
Posting Whiz
Nahla_1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.