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

            var clock = new Clock();
            var presenter = new Presenter(clock);
            var view = new CubicClockForm();
            presenter.Attach(view);

            Application.Run(view);
        }
Exemplo n.º 2
0
 public void SetUp()
 {
     _presenter = new Presenter(_mockClock.Object);
     _presenter.Attach(_mockView.Object);
 }