private void barButtonItem31_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Bank_Insert", "User_StockBank"); if (check == true) { Frm_BankAddMoney frm = new Frm_BankAddMoney(); frm.ShowDialog(); } }
private void btnBank_Click(object sender, EventArgs e) { Frm_BankAddMoney frm = new Frm_BankAddMoney(); frm.ShowDialog(); }