/// <summary> /// Clean up the control. /// </summary> public void UnloadContent() { _webViewer.LoadCompleted -= webViewer_LoadCompleted; _listControl.LoadCompleted -= listControl_LoadCompleted; if (_webViewer != null) { _webViewer.Dispose(); } if (_listControl != null) { _listControl.Dispose(); } if (_detailsControl != null) { _detailsControl.Dispose(); } _integrationBase.EventHandlerCore.IssueViewSelected -= EventHandlerCore_IssueViewSelected; _integrationBase.EventHandlerCore.IssueSelected -= EventHandlerCore_IssueSelected; _integrationBase.EventHandlerCore.ObjectSelected -= EventHandlerCore_ObjectSelected; _integrationBase.EventHandlerCore.ProjectChanged -= EventHandlerCore_ProjectChanged; _integrationBase.EventHandlerCore.DataLoaded -= EventHandlerCore_DataLoaded; CreateIssueEnabled = false; HasSelectedObjects = false; }
public void UnloadContent() { if (_webViewer != null) { _webViewer.Dispose(); } _integrationBase.EventHandlerCore.DataLoaded -= EventHandlerCore_DataLoaded; }