private void btnAssigningVehicles_Click(object sender, EventArgs e) { VehicleAssignment vehicleAssignment = new VehicleAssignment(); vehicleAssignment.ShowDialog(); }