public CytologyAbnormalUnsatLetter(DateTime startDate, DateTime endDate) { this.m_StartDate = startDate; this.m_EndDate = endDate; this.m_ReportTemplate = @"\\CFileServer\Documents\Reports\Templates\CytologyAbnormalUnsatLetter.xml"; this.m_ReportData = new YellowstonePathology.Business.Reports.Cytology.CytologyUnsatLetters(); this.m_ReportData.FillByDate(startDate, endDate); }
public CytologyAbnormalUnsatLetter(DateTime startDate, DateTime endDate) { this.m_StartDate = startDate; this.m_EndDate = endDate; this.m_ReportTemplate = @"\\CFileServer\Documents\Reports\Templates\CytologyAbnormalUnsatLetter.xml"; this.m_ReportData = new YellowstonePathology.Business.Reports.Cytology.CytologyUnsatLetters(); this.m_ReportData.FillByDate(startDate, endDate); }
private void BackgroundWorker_FaxLetters(object sender, DoWorkEventArgs e) { YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter unsatLetters = new YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter(this.m_StartDate, this.m_EndDate); YellowstonePathology.Business.Reports.Cytology.CytologyUnsatLetters cytologyUnsatLetters = unsatLetters.CytologyUnsatLetters; foreach (YellowstonePathology.Business.Reports.Cytology.CytologyUnsatLetterItem item in cytologyUnsatLetters) { this.m_BackgroundWorker.ReportProgress(0, "Faxing letter for: " + item.ClientName + " - " + item.PhysicianName); unsatLetters.FaxReport(item); } }