Exemple #1
0
 private void الموردToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (supplier == null)
     {
         supplier             = new supplier();
         supplier.MdiParent   = this;
         supplier.FormClosed += new FormClosedEventHandler(supplier_FormClosed);
         supplier.Show();
     }
     else
     {
         category.Activate();
     }
 }
Exemple #2
0
 void supplier_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     supplier = null;
 }