Beispiel #1
0
 // 导出CAD文件到word
 private void ExportCAD_Click(object sender, EventArgs e)
 {
     if (wordFile != null)
     {
         OperateDWG operate = new OperateDWG();
         operate.exprotCAD(dwgFile, wordFile);
     }
     else
     {
         MessageBox.Show("请先导入模板文件");
     }
 }
Beispiel #2
0
        // 在CAD中打开文件
        private void openInCAD_Click(object sender, EventArgs e)
        {
            OperateDWG operate = new OperateDWG();

            operate.openDWG(dwgFile);
        }