/// <summary>Detach the model from the view.</summary> public void Detach() { this.view.VariableList.ContextItemsNeeded -= OnNeedVariableNames; this.view.EventList.ContextItemsNeeded -= OnNeedEventNames; this.view.VariableList.TextHasChangedByUser -= OnVariableNamesChanged; this.view.EventList.TextHasChangedByUser -= OnEventNamesChanged; explorerPresenter.CommandHistory.ModelChanged -= OnModelChanged; dataStorePresenter.Detach(); }
/// <summary>Detach the model from the view.</summary> public void Detach() { this.report.ActiveTabIndex = this.view.TabIndex; this.view.VariableList.ContextItemsNeeded -= OnNeedVariableNames; this.view.EventList.ContextItemsNeeded -= OnNeedEventNames; this.view.VariableList.TextHasChangedByUser -= OnVariableNamesChanged; this.view.EventList.TextHasChangedByUser -= OnEventNamesChanged; explorerPresenter.CommandHistory.ModelChanged -= OnModelChanged; dataStorePresenter.Detach(); intellisense.Cleanup(); }
/// <summary>Detach the model from the view.</summary> public void Detach() { this.report.ActiveTabIndex = this.view.TabIndex; this.view.VariableList.ContextItemsNeeded -= OnNeedVariableNames; this.view.EventList.ContextItemsNeeded -= OnNeedEventNames; this.view.GroupByEdit.IntellisenseItemsNeeded -= OnNeedVariableNames; this.view.SplitterChanged -= OnSplitterChanged; this.view.VariableList.TextHasChangedByUser -= OnVariableNamesChanged; this.view.EventList.TextHasChangedByUser -= OnEventNamesChanged; this.view.GroupByEdit.Changed -= OnGroupByChanged; this.view.TabChanged -= OnChangeTab; explorerPresenter.CommandHistory.ModelChanged -= OnModelChanged; dataStorePresenter.Detach(); intellisense.ItemSelected -= OnIntellisenseItemSelected; intellisense.Cleanup(); }
/// <summary>Detach the model from the view.</summary> public void Detach() { explorerPresenter.CommandHistory.ModelChanged -= OnModelChanged; dataStorePresenter.Detach(); }