/// <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); } }
/// <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); } }