public ModificarCrucero(ListadoCrucerosForm listadoCruceros, String ID, DataGridView tablaCruceros, int filaSeleccionada) { InitializeComponent(); this.listadoCruceros = listadoCruceros; textBoxFechaBajaDefinitiva.ReadOnly = true; textBoxFechaFueraServicio.ReadOnly = true; textBoxFechaReinicioServicio.ReadOnly = true; textBoxID.ReadOnly = true; textBoxID.Text = ID; ingresarParametroTB(textBoxNombre, tablaCruceros, 3, filaSeleccionada); ingresarParametroTB(textBoxModelo, tablaCruceros, 5, filaSeleccionada); ingresarParametroCB(comboBoxTipoServicio, tablaCruceros, 7, filaSeleccionada); ingresarParametroCB(comboBoxBajaServicio, tablaCruceros, 8, filaSeleccionada); ingresarParametroTB(textBoxFechaFueraServicio, tablaCruceros, 10, filaSeleccionada); ingresarParametroTB(textBoxFechaReinicioServicio, tablaCruceros, 11, filaSeleccionada); ingresarParametroTB(textBoxFechaBajaDefinitiva, tablaCruceros, 12, filaSeleccionada); ingresarParametroNUD(numericUpDownCantidadCabinas, tablaCruceros, 13, filaSeleccionada); }
public AgregarCrucero(ListadoCrucerosForm listadoCruceros) { InitializeComponent(); this.listadoCruceros = listadoCruceros; this.textBoxFabricante.ReadOnly = true; }
public BajaCrucero(ListadoCrucerosForm listadoCruceros, Int32 id) { InitializeComponent(); this.listadoCruceros = listadoCruceros; this.id = id; }