コード例 #1
0
		/// <summary>
		/// Constructor for the page.
		/// </summary>
		public ScopePropertyPage(SampleScopeNode parentScopeNode)
		{
            // save scope node parent
            scopeNode = parentScopeNode;

            // setup property page container stuff
            this.Title = "Scope Node Property Page";

            // setup contained control and hand it a reference to its parent (This propertypage)
            scopePropertiesControl = new ScopePropertiesControl(this);
            this.Control = scopePropertiesControl;
        }
コード例 #2
0
        /// <summary>
        /// Constructor for the page.
        /// </summary>
        public ScopePropertyPage(SampleScopeNode parentScopeNode)
        {
            // save scope node parent
            scopeNode = parentScopeNode;

            // setup property page container stuff
            this.Title = "Scope Node Property Page";

            // setup contained control and hand it a reference to its parent (This propertypage)
            scopePropertiesControl = new ScopePropertiesControl(this);
            this.Control = scopePropertiesControl;
        }