摘要: 下面是打印所需要调用的代码:class LptControl { private string LptStr = "lpt1"; public LptControl(string l_LPT_Str) { LptStr = l_LPT_Str; } [StructLayout(LayoutKind... 阅读全文
posted @ 2015-05-13 15:11 haishu 阅读(1107) 评论(2) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Runtime.InteropServices;usingSystem.Security;namespaceSplash{#regionKernel32[SuppressUnmanagedCodeSecurity]internalstaticclass... 阅读全文
posted @ 2015-05-13 15:09 haishu 阅读(547) 评论(0) 推荐(0) 编辑