Example #1
0
 public frmMdiParent()
 {
     InitializeComponent();
     this.frmconnex      = new frmLog();
     frmconnex.MdiParent = this;
     frmconnex.Show();
 }
Example #2
0
 private void ShowNewForm(object sender, EventArgs e)
 {
     //Form childForm = new Form();
     //childForm.MdiParent = this;
     //childForm.Text = "FenĂȘtre " + childFormNumber++;
     //childForm.Show();
     //if (this.frmconnex==null)
     //{
     this.frmconnex      = new frmLog();
     frmconnex.MdiParent = this;
     frmconnex.Show();
     //}
     //else
     //{
     //    this.frmconnex.Activate();
     //}
 }