/// <summary> /// Closes VISSIM instance /// </summary> public void Close() { if (isVissimOpen) { try { vissimInstance.Exit(); isVissimOpen = false; } catch (Exception ex) { MessageBox.Show(ex.Message, "Error while closing Vissim instance"); } } }
public void Stop() { running = false; try { if (simulation != null) { simulation.Stop(); } vissim.Exit(); } catch (Exception) { return; } }
static public void EndVissim() { vissim.Exit(); }
/// <summary> /// Exit the vissim /// </summary> public void Exit() { vissim.Exit(); }