Example #1
0
        private void pictureBox10_Click(object sender, EventArgs e)
        {
            FormAyuda ayuda = new FormAyuda();

            ayuda.Location = this.Location;
            ayuda.ShowDialog(this);
        }
Example #2
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     // Determine whether the key entered is the F1 key. Display help if it is.
     if (e.KeyCode == Keys.F1)
     {
         // Display a pop-up help topic to assist the user.
         FormAyuda ayuda = new FormAyuda();
         ayuda.Location = this.Location;
         ayuda.ShowDialog(this);
     }
 }