快乐的昕的电脑
2025-11-22 2e3496c2bc19c1dcb25dbbde0022a6a6d2b4ff7b
DevApp/Gs.DevApp/UserControl/Toast.cs
@@ -30,7 +30,7 @@
            using (Graphics graphics = this.CreateGraphics())
            {
                Size textSize = TextRenderer.MeasureText(messageText, lbMsg.Font);
                clientWidth = (int)textSize.Width;
                clientWidth = (int)textSize.Width + 10;
                clientHeight= (int)textSize.Height+10;
            }
            this.ClientSize = new System.Drawing.Size(clientWidth, clientHeight);