コード例 #1
0
        public TimeTrackerView(TimeTrackerController controller)
        {
            Controller = controller;
            Controller.SetView(this);

            InitializeComponent();
            SetApplicationParameter();

            CreateControls();
        }
コード例 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            TimeTrackerController Controller = new TimeTrackerController();
            TimeTrackerView       View       = new TimeTrackerView(Controller);

            Application.Run(View);
        }