private void addsupp_btn_Click(object sender, EventArgs e)
        {
            SupplierMaintenance sm = new SupplierMaintenance();

            sm.MdiParent = this.ParentForm;
            sm.Show();
        }
예제 #2
0
 private void supplierToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.MdiChildren.Length < 1)
     {
         try
         {
             SupplierMaintenance SM = new SupplierMaintenance();
             SM.MdiParent = this;
             SM.Show();
         }
         catch (Exception ex)
         {
             MessageBox.Show("Error:" + ex);
         }
     }
     else
     {
         ModuleWarning MW = new ModuleWarning();
         MW.Show();
     }
 }