public PrintReportControl()
 {
     InitializeComponent();
     projectDataManager = new MutliProjectManager();
     projectDataManager.CheckProjectNode   += this.CheckProjectNode;
     projectDataManager.InitMutliProject   += this.InitMutliProjectStruct;
     projectDataManager.ReCheckProjectNode += this.ReCheckProjectNode;
     rptFiles = new RptFileCollection(EchoNameReplace);
     rptFiles.InitFromXml();
     InitReportList();
     batchReort         = new BatchReport(rptFiles.RptFileTable, projectDataManager, this);
     Function.UpperFlag = "true".Equals(Function.ProfileString("环境设置", "上标设置", "false"), StringComparison.OrdinalIgnoreCase);
 }
 public ModifyReportProperty(RptFileCollection rptFileCollection)
 {
     this.rptFileCollection = rptFileCollection;
     InitializeComponent();
 }