private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { bool check = checkUser("Customer", "User_Customer"); if (check == true) { Frm_Customer frm = new Frm_Customer(); frm.ShowDialog(); } }
private void btnCustomerBrowes_Click(object sender, EventArgs e) { Frm_Customer frm = new Frm_Customer(); frm.ShowDialog(); }