Esempio n. 1
0
        private bool SaveCriteria()
        {
            MatchFieldTree mfTree = new MatchFieldTree();

            mfTree.Root.JoinOperator = (treeViewCriteria.TopNode.Tag as MatchFieldNode).JoinOperator;

            foreach (TreeNode childNode in treeViewCriteria.TopNode.Nodes)
            {
                SaveMatchFieldNode(mfTree.Root, childNode);
            }

            CriteriaTree = mfTree;
            return(true);
        }
Esempio n. 2
0
        internal DialogResult ShowDialog(IWin32Window owner, MatchFieldTree matchFieldTree, bool bWizard)
        {
            if (!bWizard)
            {
                labWizard.Text = "Please configure merging criteria";
            }

            if (null == matchFieldTree)
            {
                CriteriaTree = new MatchFieldTree();
            }
            else
            {
                CriteriaTree = matchFieldTree.Clone();
            }

            return(this.ShowDialog(owner));
        }