示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Formmenu m = new Formmenu();

            m.Show();
        }
        private void btn_regresar_Click(object sender, EventArgs e)
        {
            this.Hide();
            Formmenu m = new Formmenu();

            m.Show();
        }
示例#3
0
 private void btn_login_Click(object sender, EventArgs e)
 {
     if ((txt_usuario.Text == "pedro") && (txt_password.Text == "12345"))
     {
         MessageBox.Show("bienvenido");
         this.Hide();
         Formmenu m = new Formmenu();
         m.Show();
     }
 }