private void tileItem3_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("Return_", "User_Return"); if (check == true) { Frm_Return frm = new Frm_Return(); frm.ShowDialog(); } }
private void barButtonItem16_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Return_", "User_Return"); if (check == true) { Frm_Return frm = new Frm_Return(); frm.ShowDialog(); } }