Ejemplo n.º 1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            TennicLogin tcl = new TennicLogin();

            this.Hide();
            tcl.ShowDialog();
            this.Close();
        }
Ejemplo n.º 2
0
 private void Tennic_MainMenu_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.F1)
     {
         this.Close();
     }
     else if (e.KeyData == Keys.F12)
     {
         TennicLogin tcl = new TennicLogin();
         this.Hide();
         tcl.ShowDialog();
         this.Close();
     }
 }