摘要:
转自:http://www.cnblogs.com/eugenewu0808/archive/2009/03/19/1416624.html以FoxPro的界面为例。设主程序为Winform.exe,FoxPro编译的程序为vfpTest.exe。1 在Winform中新建一个窗口VFPSHOW作为所有vfp打开后的父窗口,提供一个单例模式实现窗口唯一打开privatestaticVFPSHOWmInstance=null;///<summary>///单例模式///</summary>publicstaticVFPSHOWInstance{get{if(mInstan 阅读全文
摘要:
int GEHandle = appGE.GetRenderHwnd(); //IntPtr mapPtr = new IntPtr(GEHandle); int thisHandle = new WindowInteropHelper(this).Handle.ToInt32(); SetParent(GEHandle, thisHandle); 阅读全文