public virtual void Dispose()
 {
     if(_htmlEditorSettingsControl != null)
     {
         _htmlEditorSettingsControl.SettingsChanged -= new EventHandler(_htmlEditorSettingsControl_SettingsChanged);
         _htmlEditorSettingsControl.Dispose();
         _htmlEditorSettingsControl = null;
     }
     _settings = null;
 }
Esempio n. 2
0
 public virtual void Dispose()
 {
     if (_htmlEditorSettingsControl != null)
     {
         _htmlEditorSettingsControl.SettingsChanged -= new EventHandler(_htmlEditorSettingsControl_SettingsChanged);
         _htmlEditorSettingsControl.Dispose();
         _htmlEditorSettingsControl = null;
     }
     _settings = null;
 }