Exemple #1
0
        public void Create()
        {
            int?treeItemId = null;

            if (_treeView != null)
            {
                treeItemId = _treeView.TreeItemId;
            }

            var familyMember = FamilyMember.AddNewFamilyMember(treeItemId, Resources.New_Node_Name);

            if (_treeView != null)
            {
                _treeView.TreeItemId = familyMember.FamilyMemberId;
            }

            TryClose();
        }