public void CancelCrewSelection() { if (_crewSelectionWindow != null) { WindowManager.Close(_crewSelectionWindow); _crewSelectionWindow = null; } }
public void CrewSelection(string crewSelectionString, IWindow parent = null) { CancelCrewSelection(); _crewSelectionWindow = new CrewSelectionWindow(this, crewSelectionString, "Planned Crew"); WindowManager.Open(_crewSelectionWindow, parent: parent); }