private void purchaseInvoiceBtn_Click(object sender, EventArgs e) { PurchaseInvoice u = new PurchaseInvoice(); MainClass.showWindow(u, this, MDI.ActiveForm); }
public override void BackBtn_Click(object sender, EventArgs e) { PurchaseInvoice obj = new PurchaseInvoice(); MainClass.showWindow(obj, this, MDI.ActiveForm); }
public override void backBtn_Click(object sender, EventArgs e) // In this form, when we select 'back' we need to go back to the purchaseInvoice form { PurchaseInvoice obj = new PurchaseInvoice(); MainClass.showWindow(obj, this, MDI.ActiveForm); }