sam321526

Results 2 comments of sam321526

截圖功能重複使用記憶體會一直累加 不會釋放掉,有解決辦法嗎?

> 以前遇到DPI縮放問題用以下方式處理,給你參考看看 #region Win32 API [DllImport("user32.dll")] private static extern IntPtr GetDC(IntPtr ptr); [DllImport("gdi32.dll")] private static extern int GetDeviceCaps( IntPtr hdc, // handle to DC int nIndex // index of capability...