Пример #1
0
 public CustomPropertyPage() {
   _projectMgr = null;
   _projectConfigs = null;
   _project = null;
   _site = null;
   _dirty = false;
   IgnoreDirty = false;
   _title = string.Empty;
   _helpKeyword = string.Empty;
 }
Пример #2
0
 public CustomPropertyPage()
 {
     ProjectMgr     = null;
     ProjectConfigs = null;
     Project        = null;
     _site          = null;
     _dirty         = false;
     IgnoreDirty    = false;
     _title         = string.Empty;
     _helpKeyword   = string.Empty;
 }
Пример #3
0
 public void PropertyChanged(string propertyName, string propertyValue)
 {
     // If there is no store, then there is no point in changing the property value.
     if (null == IPropertyStore)
     {
         return;
     }
     propertyToBePersisted = new KeyValuePair <string, string>(propertyName, propertyValue);
     if (null != IPropertyPageSite)
     {
         IPropertyPageSite.OnStatusChange((uint)(PROPPAGESTATUS.PROPPAGESTATUS_DIRTY | PROPPAGESTATUS.PROPPAGESTATUS_VALIDATE));
     }
 }
Пример #4
0
        public void Deactivate()
        {
            if (_elementHost != null)
            {
                _elementHost.Child = null;
                _elementHost.Dispose();
                _elementHost = null;
            }

            if (_propertyPageControl != null)
            {
                _propertyPageControl.Dispose();
                _propertyPageControl = null;
            }

            _pageSite = null;
        }
Пример #5
0
        public void Deactivate()
        {
            if (_snapshotDebugConfigManager != null)
            {
                _snapshotDebugConfigManager.ConfigurationChanged -= SnapshotDebugConfigManager_ConfigurationChanged;
                _snapshotDebugConfigManager = null;
            }

            if (_elementHost != null)
            {
                _elementHost.Child = null;
                _elementHost.Dispose();
                _elementHost = null;
            }

            _pageSite = null;
        }
Пример #6
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates
 /// with the property frame.
 /// </summary>
 /// <param name="site">
 /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property
 /// page within the entire property sheet.
 /// </param>
 void IPropertyPage.SetPageSite(IPropertyPageSite site)
 {
     // pPageSite can be null (on deactivation)
     this.pageSite = site;
 }
Пример #7
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates
 /// with the property frame.
 /// </summary>
 /// <param name="site">
 /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property
 /// page within the entire property sheet.
 /// </param>
 void IPropertyPage2.SetPageSite(IPropertyPageSite site)
 {
     ((IPropertyPage)this).SetPageSite(site);
 }
Пример #8
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates
 /// with the property frame.
 /// </summary>
 /// <param name="site">
 /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property
 /// page within the entire property sheet.
 /// </param>
 void IPropertyPage.SetPageSite(IPropertyPageSite site)
 {
     // pPageSite can be null (on deactivation)
     this.pageSite = site;
 }
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     throw new NotImplementedException();
 }
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     throw new NotImplementedException();
 }
Пример #11
0
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }
Пример #12
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates with the
 /// property frame.
 /// </summary>
 /// <param name="pPageSite">The <see cref="IPropertyPageSite"/> that manages and provides services to this
 /// property page within the entire property sheet.</param>
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite)
 {
     this.PropertyPageSite = pPageSite;
 }
Пример #13
0
        /// <inheritdoc />
        void IPropertyPage2.SetPageSite(IPropertyPageSite pPageSite)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            ((IPropertyPage)this).SetPageSite(pPageSite);
        }
 public void SetPageSite(IPropertyPageSite site)
 {
     PageSite = site;
 }
Пример #15
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates with the
 /// property frame.
 /// </summary>
 /// <param name="pPageSite">The <see cref="IPropertyPageSite"/> that manages and provides services to this
 /// property page within the entire property sheet.</param>
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite)
 {
     this.PropertyPageSite = pPageSite;
 }
Пример #16
0
 public virtual extern void SetPageSite([In, MarshalAs(UnmanagedType.Interface)] IPropertyPageSite pPageSite);
Пример #17
0
 /// <summary>
 /// Initializes a property page and provides the property page object with the
 /// <see cref="IPropertyPageSite"/> interface through which the property page communicates
 /// with the property frame.
 /// </summary>
 /// <param name="site">
 /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property
 /// page within the entire property sheet.
 /// </param>
 void IPropertyPage2.SetPageSite(IPropertyPageSite site)
 {
     ((IPropertyPage)this).SetPageSite(site);
 }
        public override void SetPageSite(IPropertyPageSite pPageSite)
        {
            if (pPageSite == null)
                return;

            base.SetPageSite(pPageSite);
        }
Пример #19
0
 public void SetPageSite(IPropertyPageSite pageSite)
 {
     // pageSite value will be null on clean up
     _pageSite = pageSite;
 }
Пример #20
0
 public virtual void SetPageSite(IPropertyPageSite theSite)
 {
     this.site = theSite;
 }
Пример #21
0
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite) {
     _site = pPageSite;
 }
Пример #22
0
 public void SetPageSite(IPropertyPageSite pPageSite) => _propertyPageSite = pPageSite;
Пример #23
0
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }
Пример #24
0
 public Task SetPageSiteAsync(IPropertyPageSite site)
 {
     _propertyPageSite = site;
     return(TplExtensions.CompletedTask);
 }
 public virtual void SetPageSite(IPropertyPageSite theSite)
 {
     this.site = theSite;
 }
Пример #26
0
 /// <include file='doc\PropertyPages.uex' path='docs/doc[@for="SettingsPage.SetPageSite"]/*' />
 public virtual void SetPageSite(IPropertyPageSite site) {
     _site = site;
 }
 public void SetPageSite(IPropertyPageSite site)
 {
     PageSite = site;
 }
Пример #28
0
 ///--------------------------------------------------------------------------------------------
 /// <summary>
 /// IPropertyPage
 /// Site for our page
 /// </summary>
 ///--------------------------------------------------------------------------------------------
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }