public InterfazListaCategoria(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); dtvListarCategorias.AllowUserToAddRows = false; dtvListarCategorias.Visible = false; lblInfoCategoria.Text = ""; ControladorDeporte Cdeporte = new ControladorDeporte(); List <ModelDeporte> lista = new List <ModelDeporte>(); lista = Cdeporte.ListarTodosDeportes(); lista.Insert(0, new ModelDeporte() { IdDeporte = 0, Nombre = "Seleccione un deporte" }); cbxDeporteCategoria.DataSource = lista; cbxDeporteCategoria.ValueMember = "IdDeporte"; cbxDeporteCategoria.DisplayMember = "Nombre"; this.CategoriaBindingSource.DataSource = typeof(ProjectGimnasiaYEsgrima.Modelo.ModelCategoria); CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazEntradaSalida(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); parado = true; CargarInterfazBuena(); }
public InterfazListaSocio(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); dataGridViewSocioPersona.AllowUserToAddRows = false; dataGridViewSocioPersona.Visible = false; lblInfoSocio.Text = ""; CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazInicioSesion(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); logueado = false; MiEmpleado = null; Recargar(); CargarFocus(); CargarInterfazBuena(); }
public InterfazListaDeportes(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); dataGridViewDeporte.AllowUserToAddRows = false; dataGridViewDeporte.Visible = false; this.ModificarMensaje(""); CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazListaEmpleado(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); dgvEmpleadoPersona.AllowUserToAddRows = false; dgvEmpleadoPersona.Visible = false; List <string> lista = Enum.GetNames(typeof(EnumTipoEmpleado)).ToList(); lista.Insert(0, ""); cbxTipoEmpleado.DataSource = lista; lblInfoEmpleado.Text = ""; this.empleadoPersonaBindingSource.DataSource = typeof(ProjectGimnasiaYEsgrima.Modelo.ModelEmpleadoPersona); CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazConfiguracion(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); var valorcuotaInicial = new ControladorSocio().UltimoValorInicialClub(); if (valorcuotaInicial == null) { txtValorInicialAsociado.Text = 0 + ""; } else { txtValorInicialAsociado.Text = valorcuotaInicial.Importe + ""; } CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazFiltroReporte(InterfazPrincipal ventana) { MiVentana = ventana; InitializeComponent(); CargarInterfazBuena(); }