Exemplo n.º 1
0
        private void btnEditExpression_Click(object sender, EventArgs e)
        {
            if (txtExpression.Text.Trim().Length == 0)
            {
                //MessageBox.Show("Enter an Expression in the Text Box prior to Editing.", "No Expression");
                AddError("Enter an Expression in the Text Box prior to Editing.", 400, false);
                return;
            }

            RuleSetManager.LoadRuleSet(txtExpression.Text);
            txtExpression.Text = RuleSetManager.EditExpression();
        }
Exemplo n.º 2
0
 private void btnNewExpression_Click(object sender, EventArgs e)
 {
     RuleSetManager.CreateNewExpression(true);
     txtExpression.Text = RuleSetManager.EditExpression();
 }