void btnEdit_Click(object sender, RoutedEventArgs e) { if (RoleMenu == null) { ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTDATAALERT"), Utility.GetResourceStr("CONFIRMBUTTON")); } Form.RoleEntityMenuForms editForm = new SMT.SaaS.Permission.UI.Form.RoleEntityMenuForms(FormTypes.Edit, RoleMenu.ROLEENTITYMENUID); EntityBrowser browser = new EntityBrowser(editForm); browser.MinHeight = 340; browser.MinWidth = 400; browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent); browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => {}); }
void btnEdit_Click(object sender, RoutedEventArgs e) { if (RoleMenu == null) { ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTDATAALERT"), Utility.GetResourceStr("CONFIRMBUTTON")); } Form.RoleEntityMenuForms editForm = new SMT.SaaS.Permission.UI.Form.RoleEntityMenuForms(FormTypes.Edit, RoleMenu.ROLEENTITYMENUID); EntityBrowser browser = new EntityBrowser(editForm); browser.MinHeight = 340; browser.MinWidth = 400; browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent); browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) =>{}); }