コード例 #1
0
 private void instructionsButton_Click(object sender, EventArgs e)
 {
     if (instructionsButton.Checked)
     {
         HelpPagesController.showInstructions();
         instructionsButton.Checked = false;
     }
 }
コード例 #2
0
 private void aboutButton_Click(object sender, EventArgs e)
 {
     if (aboutButton.Checked)
     {
         HelpPagesController.showAboutBox();
         aboutButton.Checked = false;
     }
 }
コード例 #3
0
 private void techInfoButton_Click(object sender, EventArgs e)
 {
     if (techInfoButton.Checked)
     {
         if (currentControl != null)
         {
             Global.GlobalFormMain._contentPanel.Controls.Remove(currentControl);
         }
         currentControl         = HelpPagesController.showTechInfo();
         techInfoButton.Checked = false;
     }
 }
コード例 #4
0
 private void helpPageButton_Click(object sender, EventArgs e)
 {
     if (helpPageButton.Checked)
     {
         if (currentControl != null)
         {
             FileManipulation.GlobalFormMain._contentPanel.Controls.Remove(currentControl);
         }
         currentControl         = HelpPagesController.showHelp();
         helpPageButton.Checked = false;
     }
 }
コード例 #5
0
 private void FormMain_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Control && e.KeyCode == Keys.R) // Ctrl+R - roda teste
     {
         ExpositionController.BeginStroopTest(executingNameLabel.Text, participantComboBox.Text, markTextBox.Text[0], this);
     }
     if (e.Control && e.KeyCode == Keys.D) // Ctrl+D - define programa
     {
         defineTest();
     }
     if (e.Control && e.KeyCode == Keys.N) // Ctrl+N - novo programa
     {
         newProgram();
     }
     if (e.Control && e.KeyCode == Keys.H) // Ctrl+H - intruções / ajuda
     {
         HelpPagesController.showInstructions();
     }
 }
コード例 #6
0
 private void viewHelpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     HelpPagesController.showHelp();
 }
コード例 #7
0
 private void techInfoButto_ToolStrip_Click(object sender, EventArgs e)
 {
     HelpPagesController.showTechInfo();
 }
コード例 #8
0
 private void instructionsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     HelpPagesController.showInstructions();
 }
コード例 #9
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     HelpPagesController.showAboutBox();
 }