private void tileItem10_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("CustomerMoney", "User_Customer"); if (check == true) { Frm_CustomerMoney frm = new Frm_CustomerMoney(); frm.ShowDialog(); } }
private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("CustomerMoney", "User_Customer"); if (check == true) { Frm_CustomerMoney frm = new Frm_CustomerMoney(); frm.ShowDialog(); } }