示例#1
0
 private void اصدارأمرشغلToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (order == null)
     {
         order             = new wm_operating_order();
         order.MdiParent   = this;
         order.FormClosed += new FormClosedEventHandler(order_FormClosed);
         order.Show();
     }
     else
     {
         order.Activate();
     }
 }
示例#2
0
 void order_FormClosed(object sender, FormClosedEventArgs e)
 {
     order = null;
     //throw new NotImplementedException();
 }