private void tileItem8_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e) { bool check = checkUser("Supp_Money", "User_Supplier"); if (check == true) { Frm_SupplierMoney frm = new Frm_SupplierMoney(); frm.ShowDialog(); } }
private void barButtonItem9_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Supp_Money", "User_Supplier"); if (check == true) { Frm_SupplierMoney frm = new Frm_SupplierMoney(); frm.ShowDialog(); } }