Inheritance: System.Windows.Forms.Form
 private void MainForm_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F5)
     {
         ResultControls.ResultForm RF = new ResultControls.ResultForm();
         this.Hide();
         RF.ShowDialog();
         this.Show();
     }
 }
 private void pbtnStart_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == System.Windows.Forms.MouseButtons.Left)
     {
         ResultControls.ResultForm RF = new ResultControls.ResultForm();
         this.Hide();
         RF.ShowDialog();
         this.Show();
     }
 }