public bool Execute(TTrastienda pTrastienda) { _Trastienda = pTrastienda; _Salir = true; toolEstado.Text = _Trastienda.Usuario.Nombre; ShowDialog(); return(_Salir); }
public bool Execute(TTrastienda pTrastienda) { _Trastienda = pTrastienda; _Salir = true; txtContrasena.Text = ""; txtUsuario.Text = ""; txtUsuario.Focus(); this.ActiveControl = txtUsuario; this.ShowDialog(); return(_Salir); }