Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }