private void tileItem6_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("Sale", "User_Sale"); if (check == true) { Frm_Sales frm = new Frm_Sales(); frm.ShowDialog(); } }
private void barButtonItem13_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Sale", "User_Sale"); if (check == true) { Frm_Sales frm = new Frm_Sales(); frm.ShowDialog(); } }