From 1f99c554ffc67f599fbce5981a3da584945b3b16 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期一, 18 八月 2025 14:24:07 +0800 Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~tjx/GsMesClient --- DevApp/Gs.DevApp/UserControl/Toast.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/Toast.cs b/DevApp/Gs.DevApp/UserControl/Toast.cs index b6e37b0..9bc7254 100644 --- a/DevApp/Gs.DevApp/UserControl/Toast.cs +++ b/DevApp/Gs.DevApp/UserControl/Toast.cs @@ -31,9 +31,15 @@ } System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Toast)); if (it > 0) - this.panel1.BackgroundImage = global::Gs.DevApp.Properties.Resources.ok123; + { + this.panel1.BackgroundImage = global::Gs.DevApp.Properties.Resources.ok10; + this.testo.Appearance.BackColor = System.Drawing.Color.SeaGreen; + } else - this.panel1.BackgroundImage = global::Gs.DevApp.Properties.Resources.error123; + { + this.panel1.BackgroundImage = global::Gs.DevApp.Properties.Resources.error10; + this.testo.Appearance.BackColor = System.Drawing.Color.Firebrick; + } double elapsedTime = 0; testo.Text = messageText; double vanishingMilliSeconds = vanishingSeconds * 1000; -- Gitblit v1.9.3