Ejemplo n.º 1
0
//Pora regresar al menu principal
        private void btbehind_Click(object sender, EventArgs e)
        {
            this.Hide();
            Inicio inicio = new Inicio();

            inicio.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Inicio main = new Inicio();

            main.FormClosed += Form1_Closed;
            main.Show();
            Application.Run();
        }
Ejemplo n.º 3
0
 private void btnAceptar_Click(object sender, EventArgs e)
 {
     if (this.txtUsuario.Text == "Jennifer" || this.txtContrasenia.Text == "12345")
     {
         Inicio llamar = new Inicio();
         llamar.Show();
     }
     else
     {
         MessageBox.Show("Error");
     }
 }