private void Form1_Load(object sender, EventArgs e)
 {
     NumLetterController NLController = new NumLetterController();
     NumLetterView NLView = NLController.GetView();
     Controls.Add(NLController.GetView());
     NLView.Location = new Point(0, 0);
 }
Пример #2
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);
        }
Пример #3
0
 public Buttons(NumLetterController NumLetterController, ButtonController ButtonController, NumLetterModel NumLetterModel, PointsAndTimerController pointsAndTimerController)
 {
     _NumLetterController      = NumLetterController;
     _buttonController         = ButtonController;
     _numLetterModel           = NumLetterModel;
     _PointsAndTimerController = pointsAndTimerController;
     InitializeComponent();
 }
Пример #4
0
 public Buttons(NumLetterController NumLetterController, ButtonController ButtonController, NumLetterModel NumLetterModel , PointsAndTimerController pointsAndTimerController)
 {
     _NumLetterController = NumLetterController;
     _buttonController = ButtonController;
     _numLetterModel = NumLetterModel;
     _PointsAndTimerController = pointsAndTimerController;
     InitializeComponent();
 }
Пример #5
0
 public ButtonController(NumLetterController NumLetterController, AnswerController ScoreTimerController, PointsAndTimerController pointsAndTimerController)
 {
     _PointsAndTimerController = pointsAndTimerController;
     _model                = new ButtonModel();
     _NumLetterModel       = NumLetterController._model;
     _view                 = new Buttons(NumLetterController, this, _NumLetterModel, _PointsAndTimerController);
     _scoreTimerController = ScoreTimerController;
     _PointsAndTimerController._model.start = false;
 }
 public ButtonController(NumLetterController NumLetterController, AnswerController ScoreTimerController, PointsAndTimerController pointsAndTimerController)
 {
     _PointsAndTimerController = pointsAndTimerController;
     _model = new ButtonModel();
     _NumLetterModel = NumLetterController._model;
     _view = new Buttons(NumLetterController, this, _NumLetterModel , _PointsAndTimerController);
     _scoreTimerController = ScoreTimerController;
     _PointsAndTimerController._model.start = false;
 }
Пример #7
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 NumLetterView(NumLetterController Controller)
 {
     _controller = Controller;
     InitializeComponent();
 }
 public NumLetterView(NumLetterController Controller, NumLetterModel Model)
 {
     _controller = Controller;
     _model      = Model;
     InitializeComponent();
 }
Пример #10
0
 public NumLetterView(NumLetterController Controller , NumLetterModel Model)
 {
     _controller = Controller;
     _model = Model;
     InitializeComponent();
 }