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