Guys i have a main form. When this one is loaded it first has to show another form. So there opens a new form and the main form is hided. How can I do this?
ITStrawberry
0
Newbie Poster
Recommended Answers
Jump to PostHello there,
What you could do is, on the FormLoad() Event, you could write the following code:Form1 secForm = new Form1(); //this is the new form that you want to show. secForm.Show(); this.Hide();
Hope i helped,
Alex
All 2 Replies
Reply to this topic
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.