예제 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            PointsAndTimerController PTController = new PointsAndTimerController();
            PointsAndTimerView       PTView       = PTController.GetView();

            Controls.Add(PTController.GetView());
            PTView.Location = new Point(0, 0);

            AnswerController STController = new AnswerController();
            AnswerView       STView       = STController.GetView();

            Controls.Add(STController.GetView());
            STView.Location = new Point(45, 145);

            NumLetterController NLController = new NumLetterController();
            NumLetterView       NLView       = NLController.GetView();

            Controls.Add(NLController.GetView());
            NLView.Location = new Point(0, 40);

            ButtonController BController = new ButtonController(NLController, STController, PTController);
            Buttons          BView       = BController.GetView();

            Controls.Add(BController.GetView());
            BView.Location = new Point(0, 240);
        }
 public AnswerController()
 {
     _view = new AnswerView();
 }
 public AnswerController()
 {
     _view = new AnswerView();
 }