private void btNuevo_Click(object sender, EventArgs e) { FormAmCrucero form = new FormAmCrucero("", this); this.Hide(); form.ShowDialog(); this.Show(); IniciarFormulario(); }
private void btModificar_Click(object sender, EventArgs e) { String id = Convert.ToString(dgv_listado.CurrentRow.Cells[0].Value); FormAmCrucero form = new FormAmCrucero(id, this); this.Hide(); form.ShowDialog(); this.Show(); IniciarFormulario(); }