public ReportUC()
: base()
{
InitializeComponent();
SetLanguageOption();
#if !CPP
if (bridge.Connection != null)
{
bridge.Printer.OnReportLine += new OnReportLineHandler(Printer_OnReportLine);
}
#endif
#if EJ_READER
tbcReports.Dock = DockStyle.Fill;
#endif
}