示例#1
0
 private void رقمالفاتورةToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (addBill == null)
     {
         addBill             = new add_bill();
         addBill.MdiParent   = this;
         addBill.FormClosed += new FormClosedEventHandler(addBill_FormClosed);
         addBill.Show();
     }
     else
     {
         addBill.Activate();
     }
 }
示例#2
0
 void addBill_FormClosed(object sender, FormClosedEventArgs e)
 {
     addBill = null;
     //throw new NotImplementedException();
 }