T
Tamir Khason
I have a base form BaseForm:Form
I have a form derived from BaseForm -> myForm:BaseForm;
On BaseForm I have a panel public Panel1
On myForm I have a grid public Grid1, added to the Panel1 (from base form)
like this.pnl.Controls.Add(Grid1) -> and I can see it in design and run
time.
In other form (FooForm) I have a groupbox GroupBox1
onload of this form(FooForm) I'm creating
BaseForm frm1 = new myForm();
frm.Panel1.Parent = GroupBox1;
frm.Panel1.Dock=DockStyle.Fill;
frm.Panel1.Visible=true;
BUT. In FooForm apears Panel1 WITHOUT Grid1 - WHY? Where is the Grid1?
TNX
I have a form derived from BaseForm -> myForm:BaseForm;
On BaseForm I have a panel public Panel1
On myForm I have a grid public Grid1, added to the Panel1 (from base form)
like this.pnl.Controls.Add(Grid1) -> and I can see it in design and run
time.
In other form (FooForm) I have a groupbox GroupBox1
onload of this form(FooForm) I'm creating
BaseForm frm1 = new myForm();
frm.Panel1.Parent = GroupBox1;
frm.Panel1.Dock=DockStyle.Fill;
frm.Panel1.Visible=true;
BUT. In FooForm apears Panel1 WITHOUT Grid1 - WHY? Where is the Grid1?
TNX