Exemplo n.º 1
0
 public CustomPropertyPage() {
   _projectMgr = null;
   _projectConfigs = null;
   _project = null;
   _site = null;
   _dirty = false;
   IgnoreDirty = false;
   _title = string.Empty;
   _helpKeyword = string.Empty;
 }
Exemplo n.º 2
0
 public CustomPropertyPage()
 {
     ProjectMgr     = null;
     ProjectConfigs = null;
     Project        = null;
     _site          = null;
     _dirty         = false;
     IgnoreDirty    = false;
     _title         = string.Empty;
     _helpKeyword   = string.Empty;
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 4
0
        public void Deactivate()
        {
            if (_elementHost != null)
            {
                _elementHost.Child = null;
                _elementHost.Dispose();
                _elementHost = null;
            }

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

            _pageSite = null;
        }
Exemplo n.º 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;
        }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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();
 }
Exemplo n.º 11
0
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }
Exemplo n.º 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;
 }
Exemplo n.º 13
0
        /// <inheritdoc />
        void IPropertyPage2.SetPageSite(IPropertyPageSite pPageSite)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            ((IPropertyPage)this).SetPageSite(pPageSite);
        }
 public void SetPageSite(IPropertyPageSite site)
 {
     PageSite = site;
 }
Exemplo n.º 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;
 }
Exemplo n.º 16
0
 public virtual extern void SetPageSite([In, MarshalAs(UnmanagedType.Interface)] IPropertyPageSite pPageSite);
Exemplo n.º 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);
        }
Exemplo n.º 19
0
 public void SetPageSite(IPropertyPageSite pageSite)
 {
     // pageSite value will be null on clean up
     _pageSite = pageSite;
 }
Exemplo n.º 20
0
 public virtual void SetPageSite(IPropertyPageSite theSite)
 {
     this.site = theSite;
 }
Exemplo n.º 21
0
 void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite) {
     _site = pPageSite;
 }
Exemplo n.º 22
0
 public void SetPageSite(IPropertyPageSite pPageSite) => _propertyPageSite = pPageSite;
Exemplo n.º 23
0
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }
Exemplo n.º 24
0
 public Task SetPageSiteAsync(IPropertyPageSite site)
 {
     _propertyPageSite = site;
     return(TplExtensions.CompletedTask);
 }
 public virtual void SetPageSite(IPropertyPageSite theSite)
 {
     this.site = theSite;
 }
Exemplo n.º 26
0
 /// <include file='doc\PropertyPages.uex' path='docs/doc[@for="SettingsPage.SetPageSite"]/*' />
 public virtual void SetPageSite(IPropertyPageSite site) {
     _site = site;
 }
Exemplo n.º 27
0
 public void SetPageSite(IPropertyPageSite site)
 {
     PageSite = site;
 }
Exemplo n.º 28
0
 ///--------------------------------------------------------------------------------------------
 /// <summary>
 /// IPropertyPage
 /// Site for our page
 /// </summary>
 ///--------------------------------------------------------------------------------------------
 public void SetPageSite(IPropertyPageSite pPageSite)
 {
     _site = pPageSite;
 }