private void button5_Click(object sender, EventArgs e)
 {
     CloseAllChildForm();
     frmPenalty ptype = new frmPenalty();
     ptype.MdiParent = this.MdiParent;
     ptype.Show();
 }
示例#2
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     CloseAllChildForm();
     frmPenalty ptype = new frmPenalty();
     ptype.MdiParent = this;
     ptype.Show();
 }