예제 #1
0
 /// <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();
 }
예제 #2
0
 /// <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();
 }
예제 #3
0
 /// <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();
 }