public Menu(LoginWindow loginWindow) { this.loginWindow = loginWindow; InitializeComponent(); //Timer_RefreshMenu. mostrarSaldoSiEsCliente(); }
public ComprarGiftCard(LoginWindow login) { InitializeComponent(); this.montoMinimo = 10; this.montoMaximo = 50; this.labelMonto.Text = "El monto\nno puede ser\nmenor a "+this.montoMinimo.ToString()+"\nni mayor a "+this.montoMaximo.ToString()+"."; this.TxtBoxUsuarioDestino.Enabled = false; this.login = login; saldo = login.UsuarioActivo.DatosCliente.Saldo.ToString(); if (String.IsNullOrEmpty(saldo)) LblSaldo.Text = "0"; else LblSaldo.Text = saldo; }
public ComprarGiftCard(LoginWindow login) { InitializeComponent(); this.montoMinimo = 10; this.montoMaximo = 50; this.labelMonto.Text = "El monto\nno puede ser\nmenor a " + this.montoMinimo.ToString() + "\nni mayor a " + this.montoMaximo.ToString() + "."; this.TxtBoxUsuarioDestino.Enabled = false; this.login = login; saldo = login.UsuarioActivo.DatosCliente.Saldo.ToString(); if (String.IsNullOrEmpty(saldo)) { LblSaldo.Text = "0"; } else { LblSaldo.Text = saldo; } }
public ComprarCupon(LoginWindow login) { this.login = login; InitializeComponent(); InitializeCuponDataGrid(); }
public ABMRol(LoginWindow loginWindow) { InitializeComponent(); }
public DevolverCupon(LoginWindow login) { InitializeComponent(); this.login = login; txtBox_Fecha.Text = AdministradorConfiguracion.obtenerFecha().ToShortDateString(); }
public CargarCredito(LoginWindow loginWindow) { this.loginWindow = loginWindow; InitializeComponent(); initializeWindow(); }