private void BtnAddJourney_Click(object sender, EventArgs e) { RegisterJourneyForm f1 = new RegisterJourneyForm(); this.Hide(); f1.Show(); }
private void BtnAddJourney_Click(object sender, EventArgs e) { RegisterJourneyForm JourneyForm = new RegisterJourneyForm(VehicleList); JourneyForm.ShowDialog(); }