Exemplo n.º 1
0
        //---------------------------------------------------------------------
        /// <summary>
        /// Init the application, create the AppControler.
        /// </summary>
        private void InitAppCtrl()
        {
            // Create and init the Application Controller
            _appCtrl = AppCtrlBuilder.CreateAppCtrl();

            // start the application (load data,...): show the splash screen
            _appCtrl.StartApp();
        }
Exemplo n.º 2
0
 // set the ctrl
 public void SetAppCtrl(IAppCtrl ctrl)
 {
     _ctrl = ctrl;
 }
Exemplo n.º 3
0
 protected BasePresenter(IAppCtrl ctrl, TView view)
 {
     Ctrl = ctrl;
     View = view;
 }
 public ViewStatisticsPresenter(IAppCtrl ctrl, IViewStatistics view) :
     base(ctrl, view)
 {
     View.Save += () => ChangeReport(View.fileName);
 }
Exemplo n.º 5
0
 public MainPresenter(IAppCtrl ctrl, IMainView view) :
     base(ctrl, view)
 {
     View.ViewReportCommand += ViewReportCommand;
 }