Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var              presenter        = new WeatherPresenter();
            FormWeatherApp   view             = new FormWeatherApp(presenter);
            WeatherPresenter weatherPresenter = new WeatherPresenter(view);

            weatherPresenter.StartApplication();

            //Application.Run(new FormWeatherApp());
        }
Exemplo n.º 2
0
 public WeatherPresenter(FormWeatherApp view)
 {
     _viewWeatherApp = view;
 }