예제 #1
0
 protected override void DisposeManagedResources()
 {
     LocalizationProvider <RadGridLocalizationProvider> .CurrentProviderChanged -= new EventHandler(this.RadGridLocalizationProvider_CurrentProviderChanged);
     if (this.columnChooser != null)
     {
         this.columnChooser.Dispose();
         this.columnChooser = (GridViewColumnChooser)null;
     }
     this.template.SynchronizationService.RemoveListener((IGridViewEventListener)this);
     this.template.PropertyChanged -= new PropertyChangedEventHandler(this.Template_PropertyChanged);
     this.EditorManager             = (GridViewEditManager)null;
     if (this.contextMenuManager != null && this.contextMenuManager is IDisposable)
     {
         ((IDisposable)this.contextMenuManager).Dispose();
     }
     base.DisposeManagedResources();
 }
예제 #2
0
 public ColumnChooserCreatedEventArgs(GridViewColumnChooser columnChooser)
 {
     this.columnChooser = columnChooser;
 }