本文整理汇总了C#中SMT.SaaS.FrameworkUI.EntityBrowser.Show方法的典型用法代码示例。如果您正苦于以下问题:C# EntityBrowser.Show方法的具体用法?C# EntityBrowser.Show怎么用?C# EntityBrowser.Show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SMT.SaaS.FrameworkUI.EntityBrowser
的用法示例。
在下文中一共展示了EntityBrowser.Show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnReSubmit_Click
void btnReSubmit_Click(object sender, RoutedEventArgs e)
{
if (Meetinginfo != null)
{
if (Meetinginfo.meetinginfo.CHECKSTATE == "2" || meetinginfo.meetinginfo.CHECKSTATE == "3")
{
MeetingForm form = new MeetingForm(FormTypes.Resubmit, Meetinginfo);
EntityBrowser browser = new EntityBrowser(form);
browser.FormType = FormTypes.Resubmit;
browser.MinHeight = 650;
browser.MinWidth = 800;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { }, true);
}
else
{
Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("CAUTION"), Utility.GetResourceStr("MEETINGINFONORESUBMIT"));
}
}
else
{
ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "SUBMITAUDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
return;
}
}
示例2: Load
private void Load()
{
SetPageColor mode = new SetPageColor();
EntityBrowser browser = new EntityBrowser(mode);
mode.MinWidth = 300.0;
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例3: btSystemSet_Click
private void btSystemSet_Click(object sender, RoutedEventArgs e)
{
SystemParamSetForm paramset = new SystemParamSetForm();
EntityBrowser browser = new EntityBrowser(paramset);
paramset.MinHeight = 400;
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例4: _ImgButtonEducationTotal_Click
/// <summary>
/// 员工年龄分析表
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void _ImgButtonEducationTotal_Click(object sender, RoutedEventArgs e)
{
ChartAgeReportFrom formShiftDefine = new ChartAgeReportFrom();
EntityBrowser entBrowser = new EntityBrowser(formShiftDefine);
entBrowser.FormType = FormTypes.New;
entBrowser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例5: btnReSubmit_Click
void btnReSubmit_Click(object sender, RoutedEventArgs e)
{
if (Meetingroomapp != null)
{
if (Meetingroomapp.roomapp.CHECKSTATE == "2" || Meetingroomapp.roomapp.CHECKSTATE == "3")
{
MeetingRoomAppForm AddWin = new MeetingRoomAppForm(FormTypes.Resubmit, Meetingroomapp.roomapp, Meetingroomapp.room);
EntityBrowser browser = new EntityBrowser(AddWin);
browser.MinHeight = 350;
browser.MinWidth = 340;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(AddWin_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
Meetingroomapp = null;
}
else
{
Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("CAUTION"), Utility.GetResourceStr("MEETINGROOMAPPNOTRESUBMIT"));
}
}
else
{
ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTONERECORD"), Utility.GetResourceStr("CONFIRMBUTTON"));
return;
}
}
示例6: btnEdit_Click
void btnEdit_Click(object sender, RoutedEventArgs e)
{
string strLeaveTypeSetID = string.Empty;
if (DaGr.SelectedItems == null)
{
Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTDATAALERT"));
return;
}
if (DaGr.SelectedItems.Count == 0)
{
Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTDATAALERT"));
return;
}
T_OA_AGENTSET ent = DaGr.SelectedItems[0] as T_OA_AGENTSET;
ProxySettingsForm AddWin = new ProxySettingsForm(FormTypes.Edit, ent.AGENTSETID);
EntityBrowser browser = new EntityBrowser(AddWin);
browser.FormType = FormTypes.Edit;
browser.MinWidth = 600;
browser.MinHeight = 180;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
}
示例7: btnImport_Click
void btnImport_Click(object sender, RoutedEventArgs e)
{
ImportOrgInfoForm form = new ImportOrgInfoForm();
EntityBrowser browser = new EntityBrowser(form);
form.MinHeight = 260;
form.MinWidth = 400;
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例8: btnNew_Click
void btnNew_Click(object sender, RoutedEventArgs e)
{
Form.SysRolePermForms editForm = new SMT.SaaS.Permission.UI.Form.SysRolePermForms(FormTypes.New);
EntityBrowser browser = new EntityBrowser(editForm);
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) =>{});
}
示例9: ButtonMainpostChange_Click
void ButtonMainpostChange_Click(object sender, RoutedEventArgs e)
{
ExpireRemindSetForm form = new ExpireRemindSetForm();
EntityBrowser browser = new EntityBrowser(form);
// form.MinHeight = 390;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例10: ButtonMainpostChange_Click
//
void ButtonMainpostChange_Click(object sender, RoutedEventArgs e)
{
EmployeePostChangeForm form = new EmployeePostChangeForm(FormTypes.New, "");
form.isMainPostChanged = true;
EntityBrowser browser = new EntityBrowser(form);
// form.MinHeight = 390;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例11: btnNew_Click
void btnNew_Click(object sender, RoutedEventArgs e)
{
ContractPrintUploadControl AddWin = new ContractPrintUploadControl(Action.Print, null);
EntityBrowser browser = new EntityBrowser(AddWin);
browser.MinWidth = 580;
browser.MinHeight = 460;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
}
示例12: AttendYearlyBalance_Click
void AttendYearlyBalance_Click(object sender, RoutedEventArgs e)
{
CalculateEmployeeAttendanceYearlyForm form = new CalculateEmployeeAttendanceYearlyForm();
EntityBrowser browser = new EntityBrowser(form);
form.MinHeight = 280.0;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
}
示例13: btnNew_Click
void btnNew_Click(object sender, RoutedEventArgs e)
{
AssetPurchaseControl AddWin = new AssetPurchaseControl(Action.Add);
EntityBrowser browser = new EntityBrowser(AddWin);
browser.MinWidth = 620;
browser.MinHeight = 450;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
}
示例14: btnNew_Click
/// <summary>
/// 新建
/// </summary>
private void btnNew_Click(object sender, RoutedEventArgs e)
{
EmployeeSurveyChildWindow form = new EmployeeSurveyChildWindow(FormTypes.New,"");
EntityBrowser browser = new EntityBrowser(form);
browser.FormType = FormTypes.New;
browser.MinHeight = 510;
browser.MinWidth = 650;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { }, true);
}
示例15: BtnView_Click
void BtnView_Click(object sender, RoutedEventArgs e)
{
if (Senddoctype != null)
{
DocTypeForm AddWin = new DocTypeForm(Action.Read, Senddoctype);
EntityBrowser browser = new EntityBrowser(AddWin);
browser.FormType = FormTypes.Browse;
browser.MinHeight = 400;
browser.MinWidth = 600;
browser.ReloadDataEvent += new EntityBrowser.refreshGridView(AddWin_ReloadDataEvent);
browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
}
else
{
ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "VIEW"), Utility.GetResourceStr("CONFIRMBUTTON"));
return;
}
//T_OA_SENDDOCTYPE DocTypeInfoT = new T_OA_SENDDOCTYPE();
//if (DaGr.ItemsSource != null)
//{
// foreach (object obj in DaGr.ItemsSource)
// {
// if (DaGr.Columns[0].GetCellContent(obj) != null)
// {
// CheckBox cb1 = DaGr.Columns[0].GetCellContent(obj).FindName("myChkBox") as CheckBox; //cb为
// if (cb1.IsChecked == true)
// {
// DocTypeInfoT = cb1.Tag as T_OA_SENDDOCTYPE;
// break;
// }
// }
// }
//}
//if (!string.IsNullOrEmpty(DocTypeInfoT.SENDDOCTYPEID))
//{
// DocTypeForm AddWin = new DocTypeForm(Action.Read, DocTypeInfoT);
// EntityBrowser browser = new EntityBrowser(AddWin);
// browser.MinHeight = 300;
// browser.MinWidth = 320;
// browser.ReloadDataEvent += new EntityBrowser.refreshGridView(AddWin_ReloadDataEvent);
// browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
//}
//else
//{
// //MessageBox.Show("请选择需要修改的公文类型");
// ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "EDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
// return;
//}
}