Exemple #1
0
        /// <summary>
        ///     Create structure based on the subsystem structure
        /// </summary>
        /// <param name="sourceNode"></param>
        public override void AcceptDrop(BaseTreeNode sourceNode)
        {
            base.AcceptDrop(sourceNode);

            if (sourceNode is CaseTreeNode)
            {
                CaseTreeNode node  = sourceNode as CaseTreeNode;
                Case         aCase = node.Item;
                node.Delete();
                Item.appendCases(aCase);
            }
        }
Exemple #2
0
        /// <summary>
        /// Create structure based on the subsystem structure
        /// </summary>
        /// <param name="SourceNode"></param>
        public override void AcceptDrop(BaseTreeNode SourceNode)
        {
            base.AcceptDrop(SourceNode);

            if (SourceNode is CaseTreeNode)
            {
                CaseTreeNode node = SourceNode as CaseTreeNode;
                DataDictionary.Functions.Case aCase = node.Item;
                node.Delete();
                AddCase(aCase);
            }
        }