Newbie with Panel Question

  • Thread starter Thread starter NDB Europe
  • Start date Start date
N

NDB Europe

Hi There,

Hope everyone is well? Sorry but Newbie here and probably a very silly
question but i cant find any info anywhere.

On My project I have a Split container caller sctMain

I have 2 x Forms, called frmLeft & FrmRight

How Do I get the forms to display in the panels on the Split Container?

Many Kind Thanks
Regards
Si
 
Hi There,

Hope everyone is well? Sorry but Newbie here and probably a very silly
question but i cant find any info anywhere.

On My project I have a Split container caller sctMain

I have 2 x Forms, called frmLeft & FrmRight

How Do I get the forms to display in the panels on the Split Container?

Many Kind Thanks
Regards
Si

instead of Forms use Panels
 
Hi There,

Hope everyone is well? Sorry but Newbie here and probably a very silly
question but i cant find any info anywhere.

On My project I have a Split container caller sctMain

I have 2 x Forms, called frmLeft & FrmRight

How Do I get the forms to display in the panels on the Split Container?

Many Kind Thanks
Regards
Si

instead of Forms use Panels
 
Hi There,

Sorry I forgot to say the forms are User Control:( Doh!

Cheers again
Si

message
Hi There,

Hope everyone is well? Sorry but Newbie here and probably a very silly
question but i cant find any info anywhere.

On My project I have a Split container caller sctMain

I have 2 x Forms, called frmLeft & FrmRight

How Do I get the forms to display in the panels on the Split Container?

Many Kind Thanks
Regards
Si

instead of Forms use Panels
 
Hi There,

Sorry I forgot to say the forms are User Control:( Doh!

Cheers again
Si

message
Hi There,

Hope everyone is well? Sorry but Newbie here and probably a very silly
question but i cant find any info anywhere.

On My project I have a Split container caller sctMain

I have 2 x Forms, called frmLeft & FrmRight

How Do I get the forms to display in the panels on the Split Container?

Many Kind Thanks
Regards
Si

instead of Forms use Panels
 
Hi Again,

Just as a follow up i know I can use the below for forms, just cant figure
our how to get a User Control to load:(

InitializeComponent();
Form2 formA = newForm2();
Form2 formB = newForm2();
formA.TopLevel = false;
formB.TopLevel = false;
splitContainer1.Panel1.Controls.Add(formA);
splitContainer1.Panel2.Controls.Add(formB);
formA.Show();
formB.Show();

Cheers Again
Si
 
Hi Again,

Just as a follow up i know I can use the below for forms, just cant figure
our how to get a User Control to load:(

InitializeComponent();
Form2 formA = newForm2();
Form2 formB = newForm2();
formA.TopLevel = false;
formB.TopLevel = false;
splitContainer1.Panel1.Controls.Add(formA);
splitContainer1.Panel2.Controls.Add(formB);
formA.Show();
formB.Show();

Cheers Again
Si
 
Back
Top