//DVG 07-07-18 private void ReturnToInvoiceSelection() { IISM.Invoices.Invoice_GetInvNo W = new IISM.Invoices.Invoice_GetInvNo(); W.Show(); this.Close(); }
private void btnEdit_Click(object sender, RoutedEventArgs e) { GlobalVar.CreateMFAction = false; switch (GlobalVar.GlobalValue) { case 1: IISM.MF_Forms.WH.WH_Edit OpenW = new IISM.MF_Forms.WH.WH_Edit(); OpenW.Show(); this.Close(); break; case 2: IISM.MF_Forms.BussinesType.BS_Type_Edit Open2 = new IISM.MF_Forms.BussinesType.BS_Type_Edit(); Open2.Show(); this.Close(); break; case 3: IISM.MF_Forms.ServiceClass.SC_Edit Open3 = new IISM.MF_Forms.ServiceClass.SC_Edit(); Open3.Show(); this.Close(); break; case 4: IISM.MF_Forms.ProdCategory.PC_Edit Open4 = new IISM.MF_Forms.ProdCategory.PC_Edit(); Open4.Show(); this.Close(); break; case 5: IISM.MF_Forms.OfferClass.OffClass_Edit Open5 = new IISM.MF_Forms.OfferClass.OffClass_Edit(); Open5.Show(); this.Close(); break; case 6: Corporation.Corp_Create Open6 = new Corporation.Corp_Create(); Open6.Show(); this.Close(); break; case 7: IISM.MF_Forms.Suppliers.MF_Suppliers Open7 = new IISM.MF_Forms.Suppliers.MF_Suppliers(); Open7.Show(); this.Close(); break; case 8: IISM.MF_Forms.Customers.Customer_MF Open8 = new IISM.MF_Forms.Customers.Customer_MF(); Open8.Show(); this.Close(); break; case 9: IISM.MF_Forms.Products.MF_Products Open9 = new IISM.MF_Forms.Products.MF_Products(); Open9.Show(); this.Close(); break; case 10: IISM.Invoices.Invoice_GetInvNo Open10 = new IISM.Invoices.Invoice_GetInvNo(); Open10.Show(); this.Close(); break; default: MessageBox.Show("Error"); break; } }