Esempio n. 1
0
        public bool Execute(TTrastienda pTrastienda)
        {
            _Trastienda     = pTrastienda;
            _Salir          = true;
            toolEstado.Text = _Trastienda.Usuario.Nombre;
            ShowDialog();

            return(_Salir);
        }
Esempio n. 2
0
 public bool Execute(TTrastienda pTrastienda)
 {
     _Trastienda        = pTrastienda;
     _Salir             = true;
     txtContrasena.Text = "";
     txtUsuario.Text    = "";
     txtUsuario.Focus();
     this.ActiveControl = txtUsuario;
     this.ShowDialog();
     return(_Salir);
 }