コード例 #1
0
 private void اغطيةوملابسToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cls == null)
     {
         cls             = new covers_clothes();
         cls.MdiParent   = this;
         cls.FormClosed += new FormClosedEventHandler(cls_FormClosed);
         cls.Show();
     }
     else
     {
         cls.Activate();
     }
 }
コード例 #2
0
 void cls_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     cls = null;
 }