From 535d80ffc15f84216e8c80cc97a20ce0b08c3c81 Mon Sep 17 00:00:00 2001 From: zhouyunhao <123@qq.com> Date: Wed, 14 Aug 2024 17:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=A1=86=E6=9E=B628=E4=B8=8A=E4=BD=8D?= =?UTF-8?q?=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- C-Windows-1/Form1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/C-Windows-1/Form1.cs b/C-Windows-1/Form1.cs index 8e4c729..905d65d 100644 --- a/C-Windows-1/Form1.cs +++ b/C-Windows-1/Form1.cs @@ -1091,6 +1091,7 @@ namespace C_Windows_1 //窗口初始化 private void Form1_Load(object sender, EventArgs e) { + Control.CheckForIllegalCrossThreadCalls = false; //窗口自适应分辨率 //窗口自适应分辨率