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


C# FrameworkUI.UIRefreshedEventArgs类代码示例

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


UIRefreshedEventArgs类属于SMT.SaaS.FrameworkUI命名空间,在下文中一共展示了UIRefreshedEventArgs类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RefreshUI

 public void RefreshUI(RefreshedTypes type)
 {
     if (OnUIRefreshed != null)
     {
         UIRefreshedEventArgs args = new UIRefreshedEventArgs();
         args.RefreshedType = type;
         OnUIRefreshed(this, args);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:9,代码来源:CalculateEmployeeAttendanceYearlyForm.xaml.cs

示例2: editor_OnUIRefreshed

        void editor_OnUIRefreshed(object sender, UIRefreshedEventArgs args)
        {
            if (args != null)
            {
                //if (args.RefreshedType == "1")
                //{
                //    this.Close();
                //    ReloadData();
                //}
                //else if (args.RefreshedType == "0")
                //{
                //    this.Close();
                //}
                switch (args.RefreshedType)
                {
                    case RefreshedTypes.All:
                        GenerateLeftMenu();
                        GenerateToolBar();
                        GenerateEntityTitle();
                        ReloadData();
                        break;

                    case RefreshedTypes.EntityInfo:
                        GenerateEntityTitle();
                        break;

                    case RefreshedTypes.LeftMenu:
                        GenerateLeftMenu();
                        break;

                    case RefreshedTypes.ToolBar:
                        GenerateToolBar();
                        break;

                    case RefreshedTypes.Close:
                        this.Close();
                        break;

                    case RefreshedTypes.CloseAndReloadData:
                        this.Close();
                        ReloadData();
                        break;
                    case RefreshedTypes.AuditInfo:
                        BindAudit();
                        // 1s 冉龙军
                        //beyond 隐藏kpi
                        //BindKPI();
                        // 1e
                        break;
                    case RefreshedTypes.ProgressBar:
                        ShowProgressBar();
                        break;

                    case RefreshedTypes.ShowProgressBar:
                        ShowProgressBars();
                        break;
                    case RefreshedTypes.HideProgressBar:
                        HideProgressBars();
                        break;
                    //case RefreshedTypes.UploadBar:
                    //    ShowUploadBar();
                    //    break;
                    case RefreshedTypes.HideAudit://隐藏审核控件
                        BindPnlAudit();
                        break;
                    case RefreshedTypes.ShowAudit:
                        ShowPnlAudit();//显示审核控件
                        break;

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

示例3: TravelapplicationForm_OnUIRefreshed

 void TravelapplicationForm_OnUIRefreshed(object sender, UIRefreshedEventArgs args)
 {
    this.RefreshUI(args.RefreshedType);
 }
开发者ID:JuRogn,项目名称:OA,代码行数:4,代码来源:BusinessApplicationsForm.xaml.cs

示例4: Refresh

 /// <summary>
 /// 负责刷新
 /// </summary>
 /// <param name="type"></param>
 private void Refresh(RefreshedTypes type)
 {
     UIRefreshedEventArgs args = new UIRefreshedEventArgs();
     args.RefreshedType = type;
     OnUIRefreshed(this, args);
 }
开发者ID:JuRogn,项目名称:OA,代码行数:10,代码来源:PostForm.xaml.cs


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