using System.ComponentModel; namespace FastReport.Preview { partial class PreparedPage : Component // ! { private void ProcessText(TextObject txt) { #if Demo string text = txt.Text; if (text != null && text.Length >= 4 && txt.GetHashCode() % 17 == 0) txt.Text = "Demo" + (text.Length < 12 ? "" : " version" + (text.Length < 20 ? "" : " " + text.Substring(13))); #endif } } }