private void purchaseToolStripMenuItem_Click(object sender, EventArgs e) { //set value on trasaction type static method transactionType = "PURCHASE"; frmPurchaseandSales purchase = new frmPurchaseandSales(); purchase.Show(); }
private void salesFormsToolStripMenuItem_Click(object sender, EventArgs e) { //set value on trasaction type static method transactionType = "SALES"; frmPurchaseandSales sales = new frmPurchaseandSales(); sales.Show(); }