示例#1
0
 private void ShowForm(object sender, EventArgs e, string KLFullFileName)
 {
     //MainForm childForm = new MainForm();
     Form childForm = new MainForm(KLFullFileName);
     childForm.MdiParent = this;
     childForm.Text = "Karel : " + KLFullFileName;
     childForm.Dock = DockStyle.Fill;
     childForm.Show();
 }
示例#2
0
 private void ShowNewForm(object sender, EventArgs e)
 {
     //Form childForm = new MainForm();
     Form childForm = new MainForm();
     childForm.MdiParent = this;
     childForm.Text = "Programme Karel " + childFormNumber++;
     childForm.Show();
 }
示例#3
0
 private void ShowForm(object sender, EventArgs e)
 {
     //MainForm childForm = new MainForm();
     Form karelForm = new MainForm();
     karelForm.MdiParent = this;
     karelForm.Text = "Karel : " + +childFormNumber++;
     karelForm.Dock = DockStyle.Fill;
     karelForm.Show();
 }