Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to load a form inside another form in C# 2008?

$
0
0

 

Hello,

 

I have 3 forms: Form1, Form2 and Form3. Form1 is the main form. We can call form from another form by using:

 

 

private void btnForm2_Click(object sender, EventArgs e)

{

    Form2 formDig1 = new Form2();

    formDig1.Show();

}

 

My question is: HOW TO LOAD A FORM "INSIDE" OF ANOTHER FORM? Any sample code would be helpful. Thanks.

 

Regards,

Srinath.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>