private void questionLabel_Click_1(object sender, EventArgs e)
 {
     QuestionTextBox.Visible = true;
     QuestionLabel.Visible   = false;
     answerPanel.Location    = new Point(0, 120);
     this.Height             = 120 + answerPanel.Height;
     ExamScorePanel.Location = new Point(520, (this.Height - ExamScorePanel.Height) / 2);
     DeleteButton.Location   = new Point(605, (this.Height - DeleteButton.Height) / 2);
     QuestionTextBox.Focus();
 }
 private void questionLabel_Click_1(object sender, EventArgs e)
 {
     QuestionTextBox.Visible = true;
     QuestionLabel.Visible   = false;
     addButton.Location      = new Point(420, 110);
     moveListItems(0);
     ExamScorePanel.Location = new Point(520, (this.Height - ExamScorePanel.Height) / 2);
     DeleteButton.Location   = new Point(605, (this.Height - DeleteButton.Height) / 2);
     QuestionTextBox.Focus();
 }
Ejemplo n.º 3
0
 private void questionLabel_Click_1(object sender, EventArgs e)
 {
     this.Height             = QuestionTextBox.Height;
     oButton.Location        = new Point(460, 8);
     xButton.Location        = new Point(490, 8);
     ExamScorePanel.Location = new Point(520, 8);
     DeleteButton.Location   = new Point(605, 8);
     QuestionTextBox.Visible = true;
     QuestionLabel.Visible   = false;
     QuestionTextBox.Focus();
 }
Ejemplo n.º 4
0
 private void SetupTextBoxes()
 {
     AnswerTextBox.Clear();
     QuestionTextBox.Focus();
     AnswerTextBox.Focus();
 }