Ejemplo n.º 1
0
        private static ApplicationContext createContextFrom(IBatchMainPresenter mainPresenter, BatchStartOptions options)
        {
            if (options.IsValid())
            {
                return(new ApplicationContext());
            }

            return(new ApplicationContext(mainPresenter.BaseView.DowncastTo <Form>()));
        }
Ejemplo n.º 2
0
 public void AttachPresenter(IBatchMainPresenter presenter)
 {
     _presenter = presenter;
 }