Пример #1
0
        /// <summary>
        /// Constructor for the page.
        /// </summary>
        public CAPropertyPage(CANode parentNode)
        {
            // save scope node parent
            this.caNode = parentNode;

            // setup property page container stuff
            this.Title = "CA Properties";

            // setup contained control and hand it a reference to its parent (This propertypage)
            caPropertiesControl = new CAPropertiesControl(this);
            this.Control        = caPropertiesControl;
        }
Пример #2
0
 /// <summary>
 /// Update the node with the controls values
 /// </summary>
 /// <param name="scopeNode">Node being updated by property page</param>
 public void UpdateData(CANode caNode)
 {
     propertyPage.Dirty = false;
 }
Пример #3
0
 /// <summary>
 /// Populate control from the Configuration object
 /// </summary>
 public void RefreshData(CANode caNode)
 {
     initPriv(privRole.admin);
     initPriv(privRole.user);
     propertyPage.Dirty = false;
 }