cadboy

Results 1 comments of cadboy

可以这样修改下代码,但是需要引用Syatem.Drawing.dll,代码如下 ScreenshotWindow.cs private void SaveScreenshot() { int top = _targetWindowRect.Top; int left = _targetWindowRect.Left; int width = _targetWindowRect.Width; int height = _targetWindowRect.Height; using (System.Drawing.Graphics graphics = System.Drawing.Graphics.FromHwnd(IntPtr.Zero)) { float dpiX...