MdiChild forms question

S

stanciutheone

hi my name is valentin and i started to programm in C# for 2 weeks
using SharpDeveloper,
My questions is how can i create child forms because now i'm using
just parent forms like:

void btPress(){
frmForm1 frmF1 = frmForm1();
frmF1.Show();
}

Somebody please help me, so i can understand MDICHILD FORMS using
SharpDeveloper

Thanks.
 
T

TheSteph

void btPress()
{
frmForm1 frmF1 = frmForm1();
frmF1.MdiParent = this; //or frmF1.MdiParent = YOUR_MDI_FORM;
frmF1.Show();
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top