private void dgv_Study_Click(object sender, EventArgs e) { if (dgv_Study.SelectedRows.Count <= 0) { return; } string ExamAccessionNum = dgv_Study.SelectedRows[0].Cells["EXAM_ACCESSION_NUM"].Value.ToString().Trim(); if (!Directory.Exists(TemDir)) { Directory.CreateDirectory(TemDir); } imgCopy = new ImageCopy(); this.mStudy = (SIS_Model.MStudy)bs.GetModel(ExamAccessionNum); this.mReport = imgCopy.PacsReportDownLoad(this.mStudy, TemDir); this.Path = TemDir + "\\" + ExamAccessionNum + ".doc"; this.gb_HistoryRptInfo.Visible = false; }
private void dgv_Study_Click(object sender, EventArgs e) { if (dgv_Study.SelectedRows.Count <= 0) { return; } string ExamAccessionNum = dgv_Study.SelectedRows[0].Cells["EXAM_ACCESSION_NUM"].Value.ToString().Trim(); if (!Directory.Exists(CacheDir)) { Directory.CreateDirectory(CacheDir); } imgCopy = new ImageCopy(); this.mStudy = (SIS_Model.MStudy)bStudy.GetModel(ExamAccessionNum); this.mReport = imgCopy.PacsReportDownLoad(this.mStudy, CacheDir); this.Path = CacheDir + "\\" + ExamAccessionNum + ".doc"; this.txt_Description.Text = "检查所见:" + Environment.NewLine + dgv_Study.SelectedRows[0].Cells["DESCRIPTION"].Value.ToString(); this.txt_Impression.Text = "诊断意见:" + Environment.NewLine + dgv_Study.SelectedRows[0].Cells["IMPRESSION"].Value.ToString(); }