public PageSetViewController(CNotifyPropertyChange model) : base(model)
        {
            SaveBtnClick = new DelegateCommand();
            SaveBtnClick.executeAction = new Action <object>(_saveBtnClicked);

            _loadAppConfig();
        }
예제 #2
0
 public WindowStartViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定最小化按钮事件
     SmallBtnClick = new DelegateCommand();
     SmallBtnClick.executeAction = new Action <object>(smallBtnClicked);
     //绑定退出按钮事件
     ExitBtnClick = new DelegateCommand();
     ExitBtnClick.executeAction = new Action <object>(exitBtnClicked);
 }
예제 #3
0
        public PageAiKangViewController(CNotifyPropertyChange model) : base(model)
        {
            //绑定连接事件
            AiKangConnectBtnClick = new DelegateCommand();
            AiKangConnectBtnClick.executeAction = new Action <object>(aiKangConnectBtnClicked);

            //绑定下一步事件
            NextBtnClick = new DelegateCommand();
            NextBtnClick.executeAction = new Action <object>(nextBtnClicked);
        }
예제 #4
0
        public PageBalanceExamineViewController(CNotifyPropertyChange model) : base(model)
        {
            //绑定连接事件
            BalanceConnectBtnClick = new DelegateCommand();
            BalanceConnectBtnClick.executeAction = new Action <object>(balanceConnectBtnClicked);

            //绑定下一步事件
            NextBtnClick = new DelegateCommand();
            NextBtnClick.executeAction = new Action <object>(nextBtnClicked);
        }
 public WindowMainViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定退出按钮事件
     ExitBtnClick = new DelegateCommand();
     ExitBtnClick.executeAction = new Action <object>(exitBtnClicked);
     //绑定导出报告按钮事件
     ExportReportBtnClick = new DelegateCommand();
     ExportReportBtnClick.executeAction = new Action <object>(exportReportBtnClicked);
     //导入文件按钮事件
     ImportBtnClick = new DelegateCommand();
     ImportBtnClick.executeAction = new Action <object>(importBtnClicked);
 }
        //private void skipBtnClicked(object obj)
        //{
        //nextBtnClicked(obj);
        //}

        public PageDebugPosViewController(CNotifyPropertyChange model) : base(model)
        {
            //绑定调试位置按钮事件
            DebugBtnClick = new DelegateCommand();
            DebugBtnClick.executeAction = new Action <object>(debugBtnClicked);

            //绑定下一步事件
            NextBtnClick = new DelegateCommand();
            NextBtnClick.executeAction = new Action <object>(nextBtnClicked);

            //绑定跳过事件
            //SkipBtnClick = new DelegateCommand();
            //SkipBtnClick.executeAction = new Action<object>(skipBtnClicked);
        }
        public PageFlowViewController(CNotifyPropertyChange model) : base(model)
        {
            ////绑定清空流程事件
            ClearFlowBtnClick = new DelegateCommand();
            ClearFlowBtnClick.executeAction = new Action <object>(clearFlowBtnClicked);

            ////绑定保存模板事件
            SaveFlowTemplateBtnClick = new DelegateCommand();
            SaveFlowTemplateBtnClick.executeAction = new Action <object>(saveFlowTemplateBtnClicked);

            ////绑定开始按钮事件
            StartBtnClick = new DelegateCommand();
            StartBtnClick.executeAction = new Action <object>(startBtnClicked);

            SaveTemplateBtnClick = new DelegateCommand();
            SaveTemplateBtnClick.executeAction = new Action <object>(saveTemplateBtnClick);
        }
        public WindowRunViewController(CNotifyPropertyChange model) : base(model)
        {
            //绑定开始测试事件
            RunBtnClick = new DelegateCommand();
            RunBtnClick.executeAction = new Action <object>(runBtnClicked);

            //绑定暂停测试事件
            PauseBtnClick = new DelegateCommand();
            PauseBtnClick.executeAction = new Action <object>(pauseBtnClicked);

            //绑定退出测试事件
            ExitBtnClick = new DelegateCommand();
            ExitBtnClick.executeAction = new Action <object>(exitBtnClicked);

            //绑定打开pdf文件夹事件
            OpenDataFolderBtnClick = new DelegateCommand();
            OpenDataFolderBtnClick.executeAction = new Action <object>(openDataFolderBtnClicked);
        }
예제 #9
0
 public WindowTipViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定最小化按钮事件
     OKBtnClick = new DelegateCommand();
     OKBtnClick.executeAction = new Action <object>(okBtnClicked);
 }
예제 #10
0
 public BaseController(CNotifyPropertyChange model)
 {
     m_model = model;
 }
 public PageGuangZhouYiKeDaXueFuShuDiErYiYuanViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定退出按钮事件
     //ExitBtnClick = new DelegateCommand();
     //ExitBtnClick.executeAction = new Action<object>(exitBtnClicked);
 }
 public PageJieFangJunZongYiYuanDiLiuYiXueViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定退出按钮事件
     //ExitBtnClick = new DelegateCommand();
     //ExitBtnClick.executeAction = new Action<object>(exitBtnClicked);
 }
 public WindowTipViewController(CNotifyPropertyChange model) : base(model)
 {
     CloseBtnClicked = new DelegateCommand();
     CloseBtnClicked.executeAction = new Action <object>(closeBtnClick);
 }
예제 #14
0
 public PageStartViewController(CNotifyPropertyChange model) : base(model)
 {
     StartBtnClick = new DelegateCommand();
     StartBtnClick.executeAction = new Action <object>(_startBtnClicked);
 }
예제 #15
0
 public PageShouDuErKeYanJiuSuoViewController(CNotifyPropertyChange model) : base(model)
 {
     //绑定退出按钮事件
     //ExitBtnClick = new DelegateCommand();
     //ExitBtnClick.executeAction = new Action<object>(exitBtnClicked);
 }
 public PageDataViewController(CNotifyPropertyChange model) : base(model)
 {
     OpenPDFClick = new DelegateCommand();
     OpenPDFClick.executeAction = new Action<object>(OpenPDFClicked);
 }