摘要: windows服务调用窗体(C#)(2010-04-25 22:33:44)转载▼分类: 各类经验我在做一个服务,需要调用窗体程序,很郁闷,调出来之后进程显示,不显示窗体,而且用户为system,于是百度谷歌(在天笑的博客中发现) 贴在这里以备日后所用。 这个用到了系统组件,帖代码[System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)]publicclassSECURITY_ATTRIBUTES{publicintnLength;publicstringlpSecurityDescriptor;publicbool 阅读全文
posted @ 2011-12-07 10:17 晴天有时下鱼 阅读(1108) 评论(0) 推荐(0)