示例#1
0
 private void EducationForm_Load(object sender, EventArgs e)
 {
     string[] CountOfTasks = new string[5];
     for (int i = 0; i < CountOfTasks.Length; i++)
     {
         CountOfTasks[i] = (i + 1).ToString();
     }
     CBCount.Items.AddRange(CountOfTasks);
     AnswersCheckBox.Checked = true;
     PausePB.Hide();
 }
示例#2
0
 private void TimerBtn_Click(object sender, EventArgs e)
 {
     Timer.Enabled = !Timer.Enabled;
     if (Timer.Enabled == false)
     {
         PausePB.Show();
     }
     else
     {
         PausePB.Hide();
     }
 }