Пример #1
0
 public CambiarPassword()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(HomeFactory.Usuario.UsuarioActual);
     this.Setup();
 }
Пример #2
0
 public CambiarPassword(Usuario usuario)
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(usuario);
     this.Setup();
 }
Пример #3
0
 public CargarCredito()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(new Credito());
     this.Setup();
 }
Пример #4
0
        public HomeView()
        {
            this.InitializeComponent();

            this.home = HomeFactory.Usuario;

            this.Setup();
        }
Пример #5
0
        public VentanaRolPassword(Usuario usuario)
        {
            this.InitializeComponent();
            this.home = HomeFactory.Usuario;

            this.buttonPassword.Click += (sender, args) => this.CambiarPasswordUsuario(usuario);
            this.buttonRol.Click      += (sender, args) => this.ModificarRolUsuario(usuario);
        }
Пример #6
0
 public LoginView(Usuario usuario)
 {
     InitializeComponent();
     this.home  = HomeFactory.Usuario;
     this.model = usuario;
     this.Setup();
     this.CreateBindings(this.loginButton);
 }
Пример #7
0
        public ComprarGiftCard()
        {
            InitializeComponent();
            this.home = HomeFactory.Usuario;
            this.SetBindingSource(new Gift_card());
            this.tipoUsuarioDisponible = CLIENTE;

            this.Setup();
        }
Пример #8
0
        public ModificarRolUsuario(Usuario usuario)
        {
            InitializeComponent();
            this.tipoUsuarioDisponible = TODOS;
            this.home = HomeFactory.Usuario;
            this.SetBindingSource(usuario);

            this.Text = "Modificar Usuario";
            this.CreateBindings(this.guardarButton);
        }
Пример #9
0
        private ModificarCliente(Cliente cliente, bool isNew)
        {
            InitializeComponent();

            this.IsNew = isNew;
            this.usuarioGroupBox.Visible = this.limpiarButton.Visible = this.direccionGroupBox.Visible = this.IsNew;
            this.tipoUsuarioDisponible   = TODOS;
            this.home = HomeFactory.Usuario;
            this.SetBindingSource(cliente);

            this.Text = "Modificar Cliente";
            this.CreateBindings(this.guardarButton);
            this.password.UseSystemPasswordChar = true;
        }
Пример #10
0
 public DarDeBaja()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.Setup();
 }
Пример #11
0
 public Menu()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.Setup();
 }