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); } }
private void ButtonFaxLetters_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter unsatLetters = new YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter(this.m_StartDate, this.m_EndDate); unsatLetters.FaxReports(); }
private void ButtonFaxLetters_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter unsatLetters = new YellowstonePathology.Reports.Cytology.CytologyAbnormalUnsatLetter(this.m_StartDate, this.m_EndDate); unsatLetters.FaxReports(); }