private void buttonManual_Click(object sender, EventArgs e) { this.Hide(); dataGVExistentes.DataSource = null; dataGVExistentes.Columns[0].Visible = false; AgregarPasaje addPasaje = new AgregarPasaje(this.codigoViaje, this.numeroVoucher, "Por tutor"); addPasaje.ShowDialog(); this.Close(); }
private void buttonAddPasaje_Click(object sender, EventArgs e) { this.Hide(); AgregarPasaje addPasaje = new AgregarPasaje(this.codigoViaje, this.NroVoucher, "Todos"); addPasaje.ShowDialog(); this.ActualizarGridPasajes(); this.Show(); }