private void button_AccPayable_Click(object sender, EventArgs e) { // new Account_Payable.Account_Payable_Main(base.ident).Show(); // new NewApplication.NewApplication_Main(base.ident).Show(); /* int deptNo = 0; deptNo = base.ident.Dept; if (deptNo == 4 || deptNo == 5) { Account_Payable.Account_Payable_Main NewApp = new Account_Payable.Account_Payable_Main(); NewApp.Show(); } else { MessageBox.Show("Access Denied!!! " + "\n" + "Non accountants cannot Accounting Information"); } */ Account_Payable.Account_Payable_Main NewApp = new Account_Payable.Account_Payable_Main(); NewApp.Show(); }
private void button_AccPayable_Click(object sender, EventArgs e) { Account_Payable.Account_Payable_Main app = new Account_Payable.Account_Payable_Main(base.ident); app.Show(); //Account_Payable. Account_Payable.Account_Payable_Main(base.ident).Show(); // new NewApplication.NewApplication_Main(base.ident).Show(); }