private void barButtonItem30_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Stock_Insert", "User_StockBank"); if (check == true) { Frm_StockAddMoney frm = new Frm_StockAddMoney(); frm.ShowDialog(); } }
private void btnStock_Click(object sender, EventArgs e) { Frm_StockAddMoney frm = new Frm_StockAddMoney(); frm.ShowDialog(); }