public InterfazAltaDeporte(InterfazListaDeportes interfazListaDeportes) { Padre = interfazListaDeportes; InitializeComponent(); CargarCamposFocus(); CargarInterfazBuena(); }
public InterfazModificarDeporte(InterfazListaDeportes padre, Deporte deporte) { Padre = padre; this.deporte = deporte; InitializeComponent(); txtNombreDeporte.Text = this.deporte.Nombre; txtDescripcionDeporte.Text = this.deporte.Descripcion; txtNombreDeporte.ReadOnly = true; CargarCamposFocus(); CargarInterfazBuena(); }