protected void btnViewCode_Click(object sender, EventArgs e) { viewCodeElem.Text = RuleTree.GetCondition(); titleElem.TitleText = GetString("macros.macrorule.viewcodeheader"); pnlViewCode.Visible = true; mdlDialog.Visible = true; mdlDialog.Show(); }
/// <summary> /// Returns the condition of the whole rule. /// </summary> public string GetCondition() { return(RuleTree.GetCondition()); }