From 2a20c5216924368642041775bd16b0d7fff7725e Mon Sep 17 00:00:00 2001 From: clover_yan <56215525+clover-yan@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:29:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AE=9E=E9=99=85=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E5=B0=BA=E5=AF=B8=E6=88=AA=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index be80c5c6..b470cb35 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -6701,7 +6701,7 @@ private void BtnScreenshot_Click(object sender, RoutedEventArgs e) private void SaveScreenShot(bool isHideNotification, string fileName = null) { - System.Drawing.Rectangle rc = System.Windows.Forms.SystemInformation.VirtualScreen; + System.Drawing.Rectangle rc = System.Windows.Forms.Screen.PrimaryScreen.Bounds; var bitmap = new System.Drawing.Bitmap(rc.Width, rc.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); using (System.Drawing.Graphics memoryGrahics = System.Drawing.Graphics.FromImage(bitmap))