示例#1
0
文件: Main.cs 项目: ericrini/CSCI7090
 private void exportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ExportForm frmExporter = new ExportForm();
     frmExporter.Show();
 }
示例#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));
     }
 }