Esempio n. 1
0
        public override ITreeConfigNode NodeAddNew()
        {
            var node = new MainViewForm(this.Parent);

            (this.Parent as GroupListMainViewForms).Add(node);
            this.GetUniqueName(MainViewForm.DefaultName, node, (this.Parent as GroupListMainViewForms).ListMainViewForms);
            this.SetSelected(node);
            return(node);
        }
Esempio n. 2
0
        public override ITreeConfigNode NodeAddClone()
        {
            var node = MainViewForm.Clone(this.Parent, this, true, true);

            node.Parent = this.Parent;
            (this.Parent as GroupListMainViewForms).Add(node);
            this._Name = this._Name + "2";
            this.SetSelected(node);
            return(node);
        }