Pella Pella

Pella Pella

  • NA
  • 7
  • 674

MDI Container Help

Jan 4 2017 4:13 PM
Hello Guys,
 
Is there any one to help me with my problem?
 
I have form1 as mdi container in this container is a panel and in this panel there are  some buttons and I need if I click on the button to spawn my Reg - (register form) into MDI container with the Reg will be on top. I try this
 
Reg Reg = new Reg();
Reg.MdiParent = this;
Reg.BringToFront();
Reg.Show();
 
but still the same problem. When the Reg form will be spawn and I use move with this form my panel with buttons stay as top and the reg form is on back. Any idea? Thank you so much 

Answers (4)