コード例 #1
0
ファイル: PKSimApplication.cs プロジェクト: yvkashyap/PK-Sim
        protected override void OnCreateMainForm()
        {
            var mainViewPresenter = _applicationController.Start <IMainViewPresenter>().DowncastTo <IPKSimMainViewPresenter>();

            mainViewPresenter.StartOptions = _startOptions;
            MainForm = mainViewPresenter.BaseView.DowncastTo <Form>();
            _eventPublisher.RemoveListener(_splashPresenter);
            _splashPresenter = null;
        }
コード例 #2
0
 public void AttachPresenter(ISplashViewPresenter presenter)
 {
     _presenter = presenter;
 }
コード例 #3
0
ファイル: PKSimApplication.cs プロジェクト: yvkashyap/PK-Sim
 protected override void OnCreateSplashScreen()
 {
     _splashPresenter = _applicationController.Start <ISplashViewPresenter>();
     SplashScreen     = _splashPresenter.View.DowncastTo <Form>();
 }