摘要: 窗体: IntPtr hwnd = new WindowInteropHelper(this).Handle; 控件: IntPtr hwnd = ((HwndSource)PresentationSource.FromVisual(uielement)).Handle;注:该调用不能在多线程里面使用 阅读全文
posted @ 2013-09-24 10:46 电脑小白 阅读(1561) 评论(0) 推荐(0) 编辑