当前位置: 首页>>代码示例>>C#>>正文


C# EntityBrowser.HideLeftMenu方法代码示例

本文整理汇总了C#中SMT.SaaS.FrameworkUI.EntityBrowser.HideLeftMenu方法的典型用法代码示例。如果您正苦于以下问题:C# EntityBrowser.HideLeftMenu方法的具体用法?C# EntityBrowser.HideLeftMenu怎么用?C# EntityBrowser.HideLeftMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SMT.SaaS.FrameworkUI.EntityBrowser的用法示例。


在下文中一共展示了EntityBrowser.HideLeftMenu方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: btnAudit_Click

        //审核
        private void btnAudit_Click(object sender, RoutedEventArgs e)
        {

            if (Licenseuser != null)
            {
                LicenseBorrowForm form = new LicenseBorrowForm(Action.AUDIT, Licenseuser.LICENSEUSERID, checkState);
                EntityBrowser browser = new EntityBrowser(form);
                browser.FormType = FormTypes.Audit;
                browser.HideLeftMenu();
                browser.MinWidth = 450;
                browser.MinHeight = 370;
                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
            }
            else
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "AUDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
            }



            //ObservableCollection<string> licenseID = GridHelper.GetSelectItem(dgLicense, "myChkBox", Action.Edit);
            //if (licenseID == null || licenseID.Count < 1)
            //{
            //    //HtmlPage.Window.Alert("请先选择需要修改的外借记录!");

            //    //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("SELECTERROR", "EDIT"));

            //    ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "AUDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
            //}
            //else
            //{
            //    //CFrmLicenseBorrowAdd addFrm = new CFrmLicenseBorrowAdd(Action.AUDIT, licenseID[0], checkState);
            //    ////addFrm.Title = "修改外借记录";
            //    //addFrm.Title = Utility.GetResourceStr("AUDITTITLE", "LICENSELENDING");
            //    //addFrm.Show();
            //    //addFrm.ReloadDataEvent += new BaseForm.refreshGridView(addFrm_ReloadDataEvent);

            //    LicenseBorrowForm form = new LicenseBorrowForm(Action.AUDIT, licenseID[0], checkState);
            //    EntityBrowser browser = new EntityBrowser(form);
            //    browser.HideLeftMenu();
            //    browser.MinWidth = 450;
            //    browser.MinHeight = 370;
            //    browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            //    browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });

            //}
        }    
开发者ID:JuRogn,项目名称:OA,代码行数:49,代码来源:FrmLicenseBorrowManagement.xaml.cs

示例2: btnReSubmit_Click

 void btnReSubmit_Click(object sender, RoutedEventArgs e)
 {
     if (Licenseuser != null)
     {
         if (Licenseuser.CHECKSTATE == "0" || Licenseuser.CHECKSTATE == "3")
         {
             LicenseBorrowForm form = new LicenseBorrowForm(Action.ReSubmit, Licenseuser.LICENSEUSERID, checkState);
             EntityBrowser browser = new EntityBrowser(form);
             browser.FormType = FormTypes.Resubmit;
             browser.HideLeftMenu();
             browser.MinWidth = 450;
             browser.MinHeight = 370;
             browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
             browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("CAUTION"), Utility.GetResourceStr("FRMLICENSEBORROWMANAGEMENTNOTEDIT"));
         }
     }
     else
     {
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "EDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:25,代码来源:FrmLicenseBorrowManagement.xaml.cs

示例3: btnNew_Click

        //新增
        private void btnNew_Click(object sender, RoutedEventArgs e)
        {
            //CFrmLicenseBorrowAdd addFrm = new CFrmLicenseBorrowAdd(Action.Add, null, checkState);         
            ////addFrm = new CFrmLendingAdd(Action.Add, "");
            //addFrm.Title = Utility.GetResourceStr("ADDTITLE", "LICENSELENDING");
            ////addFrm.Title = "新增外借记录";
            //addFrm.Show();
            //addFrm.ReloadDataEvent += new BaseForm.refreshGridView(addFrm_ReloadDataEvent);

            LicenseBorrowForm form = new LicenseBorrowForm(Action.Add,"",checkState);
            EntityBrowser browser = new EntityBrowser(form);
            browser.HideLeftMenu();
            browser.MinWidth = 450;
            browser.MinHeight = 370;
            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
        }
开发者ID:JuRogn,项目名称:OA,代码行数:18,代码来源:FrmLicenseBorrowManagement.xaml.cs

示例4: BtnView_Click

 void BtnView_Click(object sender, RoutedEventArgs e)
 {
     if (Licenseuser != null)
     {
         LicenseBorrowForm form = new LicenseBorrowForm(Action.Read, Licenseuser.LICENSEUSERID, checkState);
         EntityBrowser browser = new EntityBrowser(form);
         browser.FormType = FormTypes.Browse;
         browser.HideLeftMenu();
         browser.MinWidth = 450;
         browser.MinHeight = 370;
         browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
         browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
     }
     else
     {
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "EDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:18,代码来源:FrmLicenseBorrowManagement.xaml.cs

示例5: BtnView_Click

 void BtnView_Click(object sender, RoutedEventArgs e)
 {
     if (Licensemaster != null)
     {
         LicenseDetailForm form = new LicenseDetailForm(FormTypes.Browse,Licensemaster.LICENSEMASTERID);
         EntityBrowser browser = new EntityBrowser(form);
         //browser.AuditCtrl.Visibility = Visibility.Collapsed;
         browser.FormType = FormTypes.Browse;
         browser.HideLeftMenu();
         browser.MinHeight = 550;
         browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
         browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { }, true);
     }
     else
     {
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("CONFIRMINFO"), Utility.GetResourceStr("SELECTERROR", "EDIT"), Utility.GetResourceStr("CONFIRMBUTTON"));
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:18,代码来源:FrmLicenseManagement.xaml.cs

示例6: ChooseLicense

        private void ChooseLicense()
        {
            form = new ChooseLicenseForm();
            EntityBrowser browser = new EntityBrowser(form);
            //browser.AuditCtrl.Visibility = Visibility.Collapsed;
            browser.HideLeftMenu();

            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
        }
开发者ID:JuRogn,项目名称:OA,代码行数:10,代码来源:OrganAddForm.xaml.cs

示例7: btnSurveyDetail_Click

        /// <summary>
        /// 参与调查
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void btnSurveyDetail_Click(object sender, RoutedEventArgs e)
        {
            if (dgSurveying.SelectedItems.Count == 1)
            {
                T_OA_REQUIREDISTRIBUTE distribute = this.dgSurveying.SelectedItem as T_OA_REQUIREDISTRIBUTE;

                string ID = distribute.T_OA_REQUIRE.REQUIREID;
                JoinSurveyingForm form = new JoinSurveyingForm(FormTypes.New, ID);
                EntityBrowser browser = new EntityBrowser(form);
                browser.HideLeftMenu();
                form.actionType = FormTypes.New;
                browser.FormType = FormTypes.New;
                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
            }
            else
            {
                ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("WARING"), "警告", "请选择一条要查看的数据");
            }
        }
开发者ID:JuRogn,项目名称:OA,代码行数:25,代码来源:EmployeeSurveying.xaml.cs


注:本文中的SMT.SaaS.FrameworkUI.EntityBrowser.HideLeftMenu方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。