/// <summary> /// 生成cit文件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnCreateCitFile_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(bnyPath)) { //CITForm citform = new CITForm(bnyPath, this); //citform.ShowDialog(); FileInfo file = new FileInfo(bnyPath); BatchExportCitForm exportForm = new BatchExportCitForm(this, true, file); exportForm.ShowDialog(); } else { MessageBox.Show("请先打开一个bny文件!"); } }
private void btnBatchExportCit_Click(object sender, EventArgs e) { BatchExportCitForm citForm = new BatchExportCitForm(this, false, null); citForm.ShowDialog(); }