public void Dispose() { lock (_syncObject) { _disposed = true; _view.Dispose(); _keyboardListener.Dispose(); if (_navigationAssistant != null) { _navigationAssistant.Dispose(); } } }