public TimeTrackerView(TimeTrackerController controller) { Controller = controller; Controller.SetView(this); InitializeComponent(); SetApplicationParameter(); CreateControls(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); TimeTrackerController Controller = new TimeTrackerController(); TimeTrackerView View = new TimeTrackerView(Controller); Application.Run(View); }