Esempio n. 1
0
 private void createPurchaseOrderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (!IsValidToOpenChildForm())
         {
             return;
         }
         VendorPurchaseOrderForm ObjVendorPurchaseOrderForm = new VendorPurchaseOrderForm();
         ShowChildForm(ObjVendorPurchaseOrderForm);
     }
     catch (Exception ex)
     {
         CommonFunctions.ShowErrorDialog("MainForm.createPurchaseOrderToolStripMenuItem_Click()", ex);
     }
 }
Esempio n. 2
0
 public VendorListForm(VendorPurchaseOrderForm ObjForm)
 {
     InitializeComponent();
     ObjVendorPurchaseOrderForm = ObjForm;
     dtVendorMaster             = CommonFunctions.ReturnDataTableFromExcelWorksheet("VendorMaster", CommonFunctions.MasterFilePath, "VendorName,Line");
 }