private void mnuDataVehicle_Click(object sender, EventArgs e) { try { VehicleDataForm vehicleData = new VehicleDataForm(); vehicleData.ShowDialog(); } catch (Exception) { MessageBox.Show("Unable to load vehicle data.", "Data Load Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void mnuVehicle_Click(object sender, EventArgs e) { VehicleDataForm vehicleDataForm = new VehicleDataForm(); vehicleDataForm.ShowDialog(); }
private void MnuDataVehicle_Click(object sender, EventArgs e) { VehicleDataForm vehicleDataForm1 = new VehicleDataForm(); vehicleDataForm1.Show(); }