private void VehicleLaunch(object state)
 {
     Invoke((Action)(() =>
     {
         var vehicleEntry = new VehicleEntry();
         vehicleEntry.Show();
     }));
 }
Ejemplo n.º 2
0
 private void VehicleLaunch(object vehicleType)
 {
     Invoke((Action)(() =>
     {
         var vehicleEntry = new VehicleEntry(vehicleType.ToString());
         vehicleEntry.Show();
     }));
 }
Ejemplo n.º 3
0
        private void EntryToolStripMenuItemClick(object sender, EventArgs e)
        {
            var vehicleEntry = new VehicleEntry();

            vehicleEntry.Show();
        }