diff --git a/VPet-Simulator.Core/Display/MessageBar.xaml.cs b/VPet-Simulator.Core/Display/MessageBar.xaml.cs
index a52a02e..8b29cd4 100644
--- a/VPet-Simulator.Core/Display/MessageBar.xaml.cs
+++ b/VPet-Simulator.Core/Display/MessageBar.xaml.cs
@@ -41,6 +41,10 @@ namespace VPet_Simulator.Core
/// 该消息框的Control
///
Control This { get; }
+ ///
+ /// 被关闭时事件
+ ///
+ event Action EndAction;
}
///
/// MessageBar.xaml 的交互逻辑
@@ -120,7 +124,10 @@ namespace VPet_Simulator.Core
EndTimer.Start();
}
}
- public Action EndAction;
+ ///
+ /// 被关闭时事件
+ ///
+ public event Action EndAction;
private void EndTimer_Elapsed(object sender, ElapsedEventArgs e)
{
diff --git a/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml b/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml
index 1f4cc62..2e9b0d3 100644
--- a/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml
+++ b/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml
@@ -1,15 +1,9 @@
-
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Windows"
+ mc:Ignorable="d" Margin="5" Background="{DynamicResource SecondaryTrans4}" CornerRadius="5">
@@ -17,49 +11,31 @@
-
-
+
+
-
-
+
+ :
- Lv ??
-
- ID:
-
-
+
+
+ :
+
+ Lv ??
+
-
-
diff --git a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml
index 82abf63..9c98522 100644
--- a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml
+++ b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml
@@ -1,107 +1,69 @@
-
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d"
+ xmlns:pu="https://opensource.panuon.com/wpf-ui"
+ xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
+ Title="{ll:Str 访客表}" MinHeight="400" Height="400" Width="600" Closed="Window_Closed"
+ Style="{DynamicResource BaseWindowXStyle}" Background="{DynamicResource PrimaryLighter}"
+ FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}" MaxHeight="400"
+ ResizeMode="CanMinimize" Closing="Window_Closing">
+
-
+
-
+
-
+
-
-
+
+
-
+
+ :
+
+
+
ID:
-
+ FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}">ID:
+
-
-
-
-
+
+
@@ -109,15 +71,9 @@
-
+
diff --git a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml
index 330a796..9723cbd 100644
--- a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml
+++ b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml
@@ -4,16 +4,16 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d" Title="{ll:Str 工作面板}" Height="350" Style="{DynamicResource BaseWindowXStyle}"
- Background="{DynamicResource PrimaryLighter}" Width="580" ResizeMode="CanMinimize" Closed="Window_Closed">
+ Background="{DynamicResource PrimaryLighter}" Width="600" ResizeMode="CanMinimize" Closed="Window_Closed">
-
+
-
@@ -37,7 +37,7 @@
-
+
@@ -56,10 +56,7 @@
-
+ Style="{DynamicResource StandardComboBoxStyle}" SelectionChanged="detailTypes_SelectionChanged" />
+
@@ -91,11 +92,12 @@
-
+
+
$金钱
@@ -117,8 +119,8 @@
倍率调整