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(); } }
void cls_FormClosed(object sender, FormClosedEventArgs e) { //throw new NotImplementedException(); cls = null; }