コード例 #1
0
ファイル: Program.cs プロジェクト: valdiman/PK-Sim
        private static ApplicationContext createContextFrom(IBatchMainPresenter mainPresenter, BatchStartOptions options)
        {
            if (options.IsValid())
            {
                return(new ApplicationContext());
            }

            return(new ApplicationContext(mainPresenter.BaseView.DowncastTo <Form>()));
        }
コード例 #2
0
 public void AttachPresenter(IBatchMainPresenter presenter)
 {
     _presenter = presenter;
 }