Exemple #1
0
 private void toolStripStatusLblAddSale_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["createBarcode"] == null)
     {
         Inventory.Add_Sales go = new Inventory.Add_Sales();
         go.MdiParent = this;
         go.Show();
     }
     else
     {
         MessageBox.Show("Form is already open");
     }
 }
 private void toolStripMenuItem19_Click(object sender, EventArgs e)
 {
     Inventory.Add_Sales go = new Inventory.Add_Sales();
     go.MdiParent = this;
     go.Show();
 }