Example #1
0
 public CambiarPassword()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(HomeFactory.Usuario.UsuarioActual);
     this.Setup();
 }
Example #2
0
 public CambiarPassword(Usuario usuario)
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(usuario);
     this.Setup();
 }
Example #3
0
 public CargarCredito()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.SetBindingSource(new Credito());
     this.Setup();
 }
Example #4
0
 public LoginView(Usuario usuario)
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.model = usuario;
     this.Setup();
     this.CreateBindings(this.loginButton);
 }
Example #5
0
        public HomeView()
        {
            this.InitializeComponent();

            this.home = HomeFactory.Usuario;

            this.Setup();
        }
Example #6
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);
        }
Example #7
0
        public ComprarGiftCard()
        {
            InitializeComponent();
            this.home = HomeFactory.Usuario;
            this.SetBindingSource(new Gift_card());
            this.tipoUsuarioDisponible = CLIENTE;

            this.Setup();
        }
Example #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);
        }
Example #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;
        }
Example #10
0
 public Menu()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.Setup();
 }
Example #11
0
 public DarDeBaja()
 {
     InitializeComponent();
     this.home = HomeFactory.Usuario;
     this.Setup();
 }