当前位置:编程学习 > C#/ASP.NET >>

winform如何才能嵌套运行这个软件啊?


我想写一个程序,把上面这个程序嵌到我的程序里面,然后再模拟一下图片上的操作,可以吗?要怎么实现?请高手指点。 --------------------编程问答-------------------- --------------------编程问答-------------------- /upload/20131225/fcbcd5570d7f69e18cf5e03981c7b4b9.png --------------------编程问答-------------------- 不知道你要嵌套的是什么软件 --------------------编程问答-------------------- 无效了,哎。再发一次啊。 --------------------编程问答-------------------- 如果是要嵌入其他程序,可以用API函数SetParent
[DllImport("user32.dll")]
public static extern int SetParent(IntPtr wnd, IntPtr newParentWnd);

[DllImport("user32.DLL")]
public static extern IntPtr FindWindow(string lpszClass, string lpszWindow);

[DllImport("user32.dll")]
private static extern IntPtr GetParent(IntPtr hwnd); --------------------编程问答--------------------
引用 4 楼 zdzcool 的回复:
无效了,哎。再发一次啊。

就是这个图片了:
/upload/20131225/fcbcd5570d7f69e18cf5e03981c7b4b9.png
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,