/// <summary>Detach the model and view from this presenter.</summary> public void Detach() { seriesView.EndEdit(); if (graphPresenter != null) { graphPresenter.Detach(); } DisconnectViewEvents(); }
/// <summary>Detach the model and view from this presenter.</summary> public void Detach() { seriesView.EndEdit(); intellisense.ItemSelected -= OnIntellisenseItemSelected; GraphPresenter?.Detach(); intellisense.Cleanup(); DisconnectViewEvents(); }
/// <summary>Detach the model and view from this presenter.</summary> public void Detach() { seriesView.EndEdit(); intellisense.ItemSelected -= OnIntellisenseItemSelected; if (graphPresenter != null) { graphPresenter.Detach(); } DisconnectViewEvents(); }