예제 #1
0
        public void MyInitialization()
        {
            Size  = new Size(400, 300);
            table = new NumberFieldsTable(Controls, new Point(25, 25));

            StartButton          = new Button();
            StartButton.Text     = "START";
            StartButton.Location = new Point(275, 50);
            StartButton.Click   += StartButtonClicked;

            ClearButton          = new Button();
            ClearButton.Text     = "CLEAR";
            ClearButton.Location = new Point(275, 90);
            ClearButton.Click   += ClearButtonClicked;

            Controls.Add(StartButton);
            Controls.Add(ClearButton);
        }
예제 #2
0
        public void MyInitialization()
        {
            Size = new Size(400, 300);
            table = new NumberFieldsTable(Controls, new Point(25, 25));

            StartButton = new Button();
            StartButton.Text = "START";
            StartButton.Location = new Point(275, 50);
            StartButton.Click += StartButtonClicked;

            ClearButton = new Button();
            ClearButton.Text = "CLEAR";
            ClearButton.Location = new Point(275, 90);
            ClearButton.Click += ClearButtonClicked;

            Controls.Add(StartButton);
            Controls.Add(ClearButton);
        }