Example #1
0
 private void btnVehicleMaintenance_Click(object sender, EventArgs e)
 {
     if (frmVehicle == null)
     {
         frmVehicle = new VehicleForm(DM, this);
     }
     frmVehicle.ShowDialog();
 }
Example #2
0
 private void btnVehicle_Click(object sender, EventArgs e)
 {
     if (frmVehicle == null)
     {
         frmVehicle = new VehicleForm(DM, this);
     }
     frmVehicle.ShowDialog();
 }