Esempio n. 1
0
        /// <summary>
        /// Handles the drop event
        /// </summary>
        /// <param name="SourceNode"></param>
        public override void AcceptDrop(BaseTreeNode SourceNode)
        {
            base.AcceptDrop(SourceNode);
            if (SourceNode is TestCaseTreeNode)
            {
                TestCaseTreeNode testCase = SourceNode as TestCaseTreeNode;
                testCase.Delete();

                createTestCase(testCase.Item);
            }
        }
Esempio n. 2
0
        /// <summary>
        ///     Handles the drop event
        /// </summary>
        /// <param name="sourceNode"></param>
        public override void AcceptDrop(BaseTreeNode sourceNode)
        {
            base.AcceptDrop(sourceNode);
            if (sourceNode is TestCaseTreeNode)
            {
                TestCaseTreeNode testCase = sourceNode as TestCaseTreeNode;
                testCase.Delete();

                Item.appendTestCases(testCase.Item);
            }
        }