private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Item_Add", "User_Setting"); if (check == true) { Frm_Products frm = new Frm_Products(); frm.ShowDialog(); } }
private void tileItem9_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("Item_Add", "User_Setting"); if (check == true) { Frm_Products frm = new Frm_Products(); frm.ShowDialog(); } }