protected virtual void Dispose(bool disposing)
 {
     if (ConfigurationView != null)
     {
         ConfigurationView.Dispose();
         ConfigurationView = null;
     }
 }
 protected virtual void Dispose(bool disposing)
 {
     if(ConfigurationView != null)
     {
         ConfigurationView.Dispose();
         ConfigurationView = null;
     }
 }
예제 #3
0
 public void Deactivate()
 {
     try
     {
         if (_view != null)
         {
             _view.Dispose();
             _view = null;
         }
     }
     catch (Exception ex)
     {
         Package.UnexpectedExceptionWarning(ex);
     }
 }
 public PropertyPage()
 {
     ConfigurationView = new CSharpConfigurationView(this);
 }
 public PropertyPage()
 {
     ConfigurationView = new CSharpConfigurationView(this);
 }
 public void Deactivate()
 {
     try
     {
         if(_view != null)
         {
             _view.Dispose();
             _view = null;
         }
     }
     catch (Exception ex)
     {
         Package.UnexpectedExceptionWarning(ex);
         throw;
     }
 }