摘要: Add COM referenceWindows Script Host Object Model--------------- WshShell shell = new WshShell(); IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(Environment.GetFolderPath(Environment.Speci... 阅读全文
posted @ 2010-06-27 20:29 greencolor 阅读(225) 评论(0) 推荐(0) 编辑
摘要: //引入API函数 [DllImportAttribute("user32.dll")] public static extern int FindWindow(string ClassName,string WindowName); [DllImport("user32.dll")] public static extern int ShowWindow(int handle, int cmdS... 阅读全文
posted @ 2010-06-27 12:08 greencolor 阅读(254) 评论(0) 推荐(0) 编辑