private void tsbViewMedSeekFile_Click(object sender, EventArgs e) { dlgOpenFile.Title = "Select MedSeek file to View"; if (dlgOpenFile.ShowDialog() == System.Windows.Forms.DialogResult.OK) { frmFileViewer viewer = new frmFileViewer(); ShowForm(viewer, pvFileViewers, tsFileViewers); viewer.ShowDiagnosisFileContents(dlgOpenFile.FileName); } }
private void tsbInfoUsaFile_Click(object sender, EventArgs e) { dlgOpenFile.Title = "Select InfoUSA file to View"; if (dlgOpenFile.ShowDialog() == System.Windows.Forms.DialogResult.OK) { frmFileViewer viewer = new frmFileViewer(); ShowForm(viewer, pvFileViewers, tsFileViewers); viewer.ShowInfoUSAFile(dlgOpenFile.FileName); } }