Exemplo n.º 1
0
 private void exportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ExportForm frmExporter = new ExportForm();
     frmExporter.Show();
 }
Exemplo n.º 2
0
 private void m_Export_Click(object sender, EventArgs e)
 {
     using (ExportForm ef = new ExportForm {
         SourceLocator = m_OurLocatorValue,
         AvailableBands=m_ContactStore.GetAllBands()
     })
     {
         DialogResult dr = ef.ShowDialog();
         if (dr == DialogResult.OK)
             System.IO.File.WriteAllText(ef.ExportPath, m_ContactStore.ExportLog(ef.SourceLocator, ef.Band));
     }
 }