From 9bc81b5d30e53e8e819bdc0a36de148f5ef0e69f Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 06 十二月 2024 14:09:38 +0800 Subject: [PATCH] 调整分辨率 --- DevApp/Gs.DevApp/DevFrm/FrmLogin.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmLogin.cs b/DevApp/Gs.DevApp/DevFrm/FrmLogin.cs index d3c3fd8..4000d62 100644 --- a/DevApp/Gs.DevApp/DevFrm/FrmLogin.cs +++ b/DevApp/Gs.DevApp/DevFrm/FrmLogin.cs @@ -21,10 +21,11 @@ _autoUpdate(); else getTree(); - Text = lbVersion.Text = - ConfigurationManager.AppSettings["ProductName"]; + Text = lbVersion.Text = ConfigurationManager.AppSettings["ProductName"]; btnLogin.Click += BtnLogin_Click; btnCancel.Click += BtnCancel_Click; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134))); } /// <summary> -- Gitblit v1.9.3