我有一个GDI泄漏的小问题,我想知道某人对如何解决this.Say的意见,我有一个类,它包含了特定于创建和处理窗口示例的数据: HWND hWnd; //i don't think this would work since i haven't used the SelectObject function }
任务:,我有两个监视器。我需要在第一页展示第二幕,换句话说,第一台显示器只是第二台的反光镜。private BitmapSource MakeScreenshot(Screen screen) using (var screenBmp = new Bitmap(screen.Bounds.Width, screen.Bounds.Height, PixelFormat.Format32bppArgb)) using (var bmpG