예제 #1
0
        private void BtnGuardar_Click(object sender, EventArgs e)
        {
            sesion = sesion.validaruse(txtusuario.Text , txtpass.Text);
            if (validar() == true)
            {
                MessageBox.Show("Debe llenar los campos", "Ingresar", MessageBoxButtons.OK, MessageBoxIcon.Information);

            }

            if (validaruser() == false)
            {
                this.Hide();
                Home h = new Home();
                h.Show();
            }
            else
            {
                MessageBox.Show("Error de usuario o contraseña", "Ingresar", MessageBoxButtons.OK, MessageBoxIcon.Information);
                limpiar();
            }
        }
예제 #2
0
 private void toolStripButton5_Click(object sender, EventArgs e)
 {
     Home home = new Home();
     this.Hide();
     home.Show();
 }
예제 #3
0
파일: Memos.cs 프로젝트: Katekat/Memorandos
 private void toolHome_Click(object sender, EventArgs e)
 {
     Home inicio = new Home();
     this.Hide();
     inicio.Show();
 }