欢迎加我的QQ群:193522571,一起来讨论、交流!

11 2015 档案

摘要:数据类型数据类型简写标准命名举例ArrayarrarrShoppingListBoolean blnblnIsPostBackByte bytbytPixelValueChar chrchrDelimiterDateTime dtmdtmStartDateDecimaldecdecA... 阅读全文
posted @ 2015-11-28 10:13 swtool 阅读(1214) 评论(0) 推荐(0) 编辑
摘要://cmd:方法名,sb:类的实例 sb.GetType().GetMethod(cmd).Invoke(sb, null); 阅读全文
posted @ 2015-11-17 16:36 swtool 阅读(714) 评论(0) 推荐(0) 编辑
摘要:1.首先如果直接将项目设置为启动项目,在项目属性里把启动项目修改为cad.exe的路径,则无法进行任何调试,无法命中断点。2.还有另一种方式,就是把 acad.exe放到解决方案中,并将其设置为启动项目,此时按F5会启动CAD,不过别的项目默认是不会自动生成的,因此会导致调试代码与原来生成的代码不一... 阅读全文
posted @ 2015-11-13 13:44 swtool 阅读(244) 评论(0) 推荐(0) 编辑
摘要:E0144B5EF508141116499922416808527281254352467918169578633294856113276452749952053893952 阅读全文
posted @ 2015-11-07 17:32 swtool 阅读(219) 评论(0) 推荐(0) 编辑
摘要://复制内容到剪切板Clipboard.SetData(DataFormats.Text, "复制内容");//清空剪切板Clipboard.Clear(); 阅读全文
posted @ 2015-11-06 21:20 swtool 阅读(478) 评论(0) 推荐(0) 编辑
摘要:/// /// 链接到当前地址 /// /// public static void LinkTo(this string URL) { ProcessStartInfo startInfo = new ProcessStartInfo("IEx... 阅读全文
posted @ 2015-11-06 15:25 swtool 阅读(165) 评论(0) 推荐(0) 编辑
摘要:using System.Net;using System.Management; //计算机名 string MachineName = System.Environment.MachineName; //域名 string UserDomainName =... 阅读全文
posted @ 2015-11-04 16:05 swtool 阅读(293) 评论(0) 推荐(0) 编辑
摘要:Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;//向命令行发送命令doc.SendStringToExecute(FunctionName.First... 阅读全文
posted @ 2015-11-04 15:05 swtool 阅读(560) 评论(0) 推荐(0) 编辑
摘要:AutoCAD中状态栏类: public sealed class StatusBar { protected StatusBar(AcApStatusBar* impObj); public PaneCollection Panes { get; } public TrayI... 阅读全文
posted @ 2015-11-04 15:01 swtool 阅读(492) 评论(0) 推荐(0) 编辑
摘要:Autodesk.AutoCAD.ApplicationServices.Application.SetSystemVariable("MODEMACRO", "Hello World") 阅读全文
posted @ 2015-11-04 08:30 swtool 阅读(326) 评论(0) 推荐(0) 编辑

欢迎加我的QQ群:193522571,一起来讨论、交流!
点击右上角即可分享
微信分享提示