Ejemplo n.º 1
0
 private void btnAceptarLogin_Click(object sender, EventArgs e)
 {
     if (txtUsuario.Text == "")
     {
         MessageBox.Show("Debe ingresar un Nombre de Usuario", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         nombre = txtUsuario.Text;
         frmSistema.Show();
         this.Hide();
     }
 }
Ejemplo n.º 2
0
 private void btnVolverVentas_Click(object sender, EventArgs e)
 {
     frmSistema.Show();
     this.Hide();
 }