using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using System.Data; using FastReport; using FastReport.Data; using FastReport.Dialog; using FastReport.Barcode; using FastReport.Table; using FastReport.Utils; namespace FastReport { public class ReportScript { private void Text13_AfterData(object sender, EventArgs e) { if(Text13.Text.Contains("药品")) { Text18.Visible=true; } else { Text18.Visible=false; } } } }