private void onLoadTrajectoryFileSubmitted(string filePath) { if (molecules.SelectedMoleculeID != null) { if (interactionsPanel.MonitoringEnabled) { interactionsPanel.StopInteractions(); console.ShowError("Stopped monitoring molecular interactions, loading trajectory"); } UserInterfaceEvents.RaiseLoadTrajectory((int)molecules.SelectedMoleculeID, filePath); } }