mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
UI改进
This commit is contained in:
parent
47edb068f5
commit
b277b09b38
@ -167,14 +167,6 @@ public partial class MPFriends : WindowX, IMPFriend
|
||||
tmp = lb.GetMemberData(friend, "onmod");
|
||||
}
|
||||
SetPetGraph = tmp;
|
||||
if (lb.GetMemberData(friend, "onmod") == "true")
|
||||
{
|
||||
NoTouchTrue();
|
||||
}
|
||||
else
|
||||
{
|
||||
NoTouchFalse();
|
||||
}
|
||||
|
||||
await GameLoad(Path);
|
||||
|
||||
@ -379,6 +371,15 @@ public partial class MPFriends : WindowX, IMPFriend
|
||||
HideForDesign.Children.Remove(MPTalkBox);
|
||||
Main.ToolBar.MainGrid.Children.Add(MPTalkBox);
|
||||
|
||||
if (lb.GetMemberData(friend, "onmod") == "true")
|
||||
{
|
||||
NoTouchTrue();
|
||||
}
|
||||
else
|
||||
{
|
||||
NoTouchFalse();
|
||||
}
|
||||
|
||||
cbTalk.Items.Add("私聊".Translate());
|
||||
cbTalk.Items.Add("公聊".Translate());
|
||||
cbTalk.Items.Add("大家".Translate());
|
||||
|
@ -4,7 +4,7 @@
|
||||
xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Windows"
|
||||
mc:Ignorable="d" Margin="5" Width="338" Height="80" Background="{DynamicResource SecondaryLight}"
|
||||
mc:Ignorable="d" Margin="5" Width="350" Height="80" Background="{DynamicResource SecondaryLight}"
|
||||
BorderBrush="{DynamicResource Secondary}">
|
||||
<Grid>
|
||||
<pu:ContentControlX HorizontalAlignment="Left" Margin="10" CornerRadius="27">
|
||||
|
@ -5,7 +5,7 @@
|
||||
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" Width="400" Closed="Window_Closed" FontSize="16" SizeToContent="Height"
|
||||
Title="{ll:Str 访客表}" MinHeight="400" Width="440" Closed="Window_Closed" FontSize="16" SizeToContent="Height"
|
||||
MaxHeight="800" ResizeMode="CanMinimize" Closing="Window_Closing">
|
||||
<Grid>
|
||||
<pu:ContentControlX Margin="20" Width="80" Height="80" HorizontalAlignment="Left" VerticalAlignment="Top"
|
||||
|
Loading…
Reference in New Issue
Block a user