查看单个帖子
旧 2009-04-20, 10:46 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】c#的form中能否直接调用arx函数?

c#的form中能否直接调用arx函数?
www.dimcax.com
c#的form中能否直接调用arx函数?
private void button1_click(object sender, eventargs e)
{
class1 a = new class1();
a.createemployee();
}
namespace test
{
class class1
{
public void createemployee() // this method can have any name
{
database db = new autodesk.autocad.databaseservices.database();
transaction trans = db.transactionmanager.starttransaction();
try
{
}
catch {
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)