From 62a564f283e70b5eda749df806162a8c5aa7fe75 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 03 四月 2025 20:53:37 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/UserControl/Toast.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/VanishingMessage.cs b/DevApp/Gs.DevApp/UserControl/Toast.cs similarity index 91% rename from DevApp/Gs.DevApp/VanishingMessage.cs rename to DevApp/Gs.DevApp/UserControl/Toast.cs index 5f22b0e..de950d3 100644 --- a/DevApp/Gs.DevApp/VanishingMessage.cs +++ b/DevApp/Gs.DevApp/UserControl/Toast.cs @@ -11,7 +11,7 @@ namespace Gs.DevApp { - public partial class VanishingMessage : DevExpress.XtraEditors.XtraForm + public partial class Toast : DevExpress.XtraEditors.XtraForm { private System.Windows.Forms.Timer tmr; private System.Windows.Forms.Timer tmr2; @@ -20,7 +20,7 @@ /// </summary> /// <param name="messageText">Message</param> /// <param name="vanishingSeconds">Showing time</param> - public VanishingMessage(System.Drawing.Color bgColor,string messageText, int vanishingSeconds = 3) + public Toast(System.Drawing.Color bgColor,string messageText, int vanishingSeconds = 2) { InitializeComponent(); this.Appearance.BackColor = bgColor; -- Gitblit v1.9.3