Exemplo n.º 1
0
        public void AddChildren()
        {
            this.Children.Clear();
            var classNode = new VMDirSchemaClassBaseNode(this.ServerNode);

            this.Children.Add(classNode);
            var attrNode = new VMDirSchemaAttributeBaseNode(this.ServerNode);

            this.Children.Add(attrNode);
        }
Exemplo n.º 2
0
        void PopulateChildren()

        {
            if (IsLoggedIn)

            {
                this.Children.Clear();

                var classNode = new VMDirSchemaClassBaseNode(this);

                this.Children.Add(classNode);

                var attrNode = new VMDirSchemaAttributeBaseNode(this);

                this.Children.Add(attrNode);
            }

            else

            {
                MMCDlgHelper.ShowException(new Exception(MMCUIConstants.UNABLE_TO_LOGIN));
            }
        }