Example #1
0
 private void m_exportMenuItem_Click(object sender, EventArgs e)
 {
     using (var dlg = new ExportDlg(m_viewModel))
     {
         dlg.ShowDialog(this);
         if (dlg.DialogResult == DialogResult.OK)
         {
             DialogResult = DialogResult.OK;
         }
     }
 }
Example #2
0
 private void m_exportToSpreadsheetMenuItem_Click(object sender, EventArgs e)
 {
     using (var dlg = new ExportDlg(m_viewModel))
     {
         MainForm.LogDialogDisplay(dlg);
         dlg.ShowDialog(this);
         if (dlg.DialogResult == DialogResult.OK)
         {
             DialogResult = DialogResult.OK;
         }
     }
 }