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

            Form1 _form1View = new Form1();

            Model.Network network   = new Model.Network(Model.NetworkMode.Demo);
            Presenter     presenter = new Presenter(network, _form1View);

            Application.Run(_form1View);
        }
Exemplo n.º 2
0
 public Presenter(Model.Network model, IView view)
 {
     _net             = model;
     _view            = view;
     _view.GotResult += new EventHandler <EventArgs>(OnGotResult);
 }