Exemple #1
0
 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();
        }
Exemple #3
0
        private void MnuDataVehicle_Click(object sender, EventArgs e)
        {
            VehicleDataForm vehicleDataForm1 = new VehicleDataForm();

            vehicleDataForm1.Show();
        }