private void tileItem1_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("Current_Money", "User_StockBank"); if (check == true) { Frm_currentMoney frm = new Frm_currentMoney(); frm.ShowDialog(); } }
private void barButtonItem36_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Current_Money", "User_StockBank"); if (check == true) { Frm_currentMoney frm = new Frm_currentMoney(); frm.ShowDialog(); } }