Beispiel #1
0
        private void SetSelectedRuleOperator(DocOpCode opcode)
        {
            TreeNode tn    = this.treeViewRules.SelectedNode;
            DocOp    docop = this.GetSelectedOp();

            docop.Operation = opcode;
            tn.Text         = docop.ToString(this.Template);

            this.treeViewRules_AfterSelect(this.treeViewRules, new TreeViewEventArgs(this.treeViewRules.SelectedNode));
        }
        private void SetSelectedRuleOperator(DocOpCode opcode)
        {
            TreeNode tn = this.treeViewRules.SelectedNode;
            DocOp docop = this.GetSelectedOp();

            docop.Operation = opcode;
            tn.Text = docop.ToString(this.Template);

            this.treeViewRules_AfterSelect(this.treeViewRules, new TreeViewEventArgs(this.treeViewRules.SelectedNode));
        }