From 2e54b439c64e0adbb7e010243c1f33aa5fc5f503 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期二, 11 三月 2025 14:08:57 +0800
Subject: [PATCH] 完善程序; Merge branch 'master' of http://58.211.88.246:3600/r/WPF/WPFProject
---
HMI.UI/Style/MsgBoxStyle.xaml | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/HMI.UI/Style/MsgBoxStyle.xaml b/HMI.UI/Style/MsgBoxStyle.xaml
index 35fc189..5e0dafb 100644
--- a/HMI.UI/Style/MsgBoxStyle.xaml
+++ b/HMI.UI/Style/MsgBoxStyle.xaml
@@ -112,30 +112,30 @@
</pu:MessageBoxXSettings.ButtonStyle>
</pu:MessageBoxXSettings>
- <pu:ToastSettings x:Key="toastSuccess" Spacing="25">
- <pu:ToastSettings.LabelStyle>
+ <pu:ToastSetting x:Key="toastSuccess" Spacing="25">
+ <pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
<Setter Property="Background" Value="{StaticResource SuccessColor}" />
<Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
</Style>
- </pu:ToastSettings.LabelStyle>
- </pu:ToastSettings>
+ </pu:ToastSetting.LabelStyle>
+ </pu:ToastSetting>
- <pu:ToastSettings x:Key="toastWarning" Spacing="25">
- <pu:ToastSettings.LabelStyle>
+ <pu:ToastSetting x:Key="toastWarning" Spacing="25">
+ <pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
<Setter Property="Background" Value="{StaticResource WarningColor}" />
<Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
</Style>
- </pu:ToastSettings.LabelStyle>
- </pu:ToastSettings>
+ </pu:ToastSetting.LabelStyle>
+ </pu:ToastSetting>
- <pu:ToastSettings x:Key="toastError" Spacing="25">
- <pu:ToastSettings.LabelStyle>
+ <pu:ToastSetting x:Key="toastError" Spacing="25">
+ <pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
<Setter Property="Background" Value="{StaticResource DangerColor}" />
<Setter Property="Foreground" Value="{StaticResource DangerColorContrast}" />
</Style>
- </pu:ToastSettings.LabelStyle>
- </pu:ToastSettings>
+ </pu:ToastSetting.LabelStyle>
+ </pu:ToastSetting>
</ResourceDictionary>
\ No newline at end of file
--
Gitblit v1.9.1