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); }
public void SetUp() { _presenter = new Presenter(_mockClock.Object); _presenter.Attach(_mockView.Object); }