VPet/VPet-Simulator.Core/Display/ToolBar.xaml

33 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-12-13 07:10:18 +00:00
<UserControl x:Class="VPet_Simulator.Core.ToolBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Core"
mc:Ignorable="d" xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
2022-12-20 10:08:30 +00:00
MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave" Height="500" Width="500">
2022-12-13 07:10:18 +00:00
<UserControl.Resources>
<ResourceDictionary Source="Theme.xaml" />
</UserControl.Resources>
<Grid>
2022-12-28 09:22:39 +00:00
<Menu Width="500"
VerticalAlignment="Bottom"
Style="{DynamicResource ToolBarMenuStyle}">
<Menu.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="5"/>
</ItemsPanelTemplate>
</Menu.ItemsPanel>
2023-01-03 04:21:54 +00:00
<MenuItem x:Name="MenuFeed"
Header="投喂">
2022-12-28 09:22:39 +00:00
<MenuItem Header="食物" />
<MenuItem Header="饮料" />
<MenuItem Header="药品" />
</MenuItem>
<MenuItem Header="面板" />
<MenuItem Header="打工" />
<MenuItem Header="睡觉" />
2022-12-28 10:03:47 +00:00
<MenuItem Header="设置"
Click="MenuSetting_Click"/>
2022-12-28 09:22:39 +00:00
</Menu>
2022-12-13 07:10:18 +00:00
</Grid>
</UserControl>