コード例 #1
0
 public frmMdiParent()
 {
     InitializeComponent();
     this.frmconnex      = new frmLog();
     frmconnex.MdiParent = this;
     frmconnex.Show();
 }
コード例 #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();
     //}
 }