2019年5月28日

C# 判断程序是否执行 进行启动或前台显示

摘要: #region 显示程序 [DllImport("user32.dll", EntryPoint = "FindWindow")] public static extern int FindWindow(string lpClassName, string lpWindowName); /// /// 该函数设置由不同... 阅读全文

posted @ 2019-05-28 14:57 马什么梅 阅读(988) 评论(0) 推荐(0) 编辑

在窗体中嵌入 应用程序

摘要: //在窗体中嵌入应用程序//show Process process = null; IntPtr appWin; private string exeName = ""; [DllImport("user32.dll", SetLastError = true)] private static extern long S... 阅读全文

posted @ 2019-05-28 09:48 马什么梅 阅读(203) 评论(0) 推荐(0) 编辑

导航