public override void backBtn_Click(object sender, EventArgs e) { PurchaseInvoice obj = new PurchaseInvoice(); MainClass.showWindow(obj, this, MDI.ActiveForm); }
private void purchaseBtn_Click(object sender, EventArgs e) { PurchaseInvoice u = new PurchaseInvoice(); MainClass.showWindow(u, this, MDI.ActiveForm); }