![]() |
帮忙看下代码
帮忙看下代码
www.dimcax.com 帮忙看下代码 (1).private void callbackareaonclick(object sender, eventargs e) { try { tools.runcommand(true, "_area"); } catch (system.exception ex) { editor ed = application.documentmanager.mdiactivedocument.editor; ed.writemessage(ex.message); } } (2).[commandmethod("testarea")] static public void testarea() // this method can have any name { try { tools.runcommand(true, "_area"); } catch (system.exception ex) { editor ed = application.documentmanager.mdiactivedocument.editor; ed.writemessage(ex.message); } } 1.根本就不执行 _area命令行,2又是对的。请问是什么原因,或者有什么方法可以让1执行_area. |
所有的时间均为北京时间。 现在的时间是 11:37 PM. |