VPet/VPet.Solution/Views/MainWindow.xaml

40 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-12-18 14:53:56 +00:00
<pu:WindowX
2023-12-23 14:44:10 +00:00
x:Class="VPet.Solution.Views.MainWindow"
2023-12-18 14:53:56 +00:00
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:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
xmlns:local="clr-namespace:VPet.Solution"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pu="https://opensource.panuon.com/wpf-ui"
xmlns:system="clr-namespace:System;assembly=mscorlib"
2023-12-20 12:51:58 +00:00
xmlns:vm="clr-namespace:VPet.Solution.ViewModels"
2023-12-18 14:53:56 +00:00
Title="{ll:Str 'VPET 问题解决工具'}"
Width="800"
Height="450"
2023-12-24 14:26:37 +00:00
MinWidth="400"
MinHeight="200"
2023-12-20 12:51:58 +00:00
d:DataContext="{d:DesignInstance Type=vm:MainWindowVM}"
2024-01-07 14:57:27 +00:00
WindowStartupLocation="CenterScreen"
2023-12-18 14:53:56 +00:00
mc:Ignorable="d">
<Grid>
<Grid.ColumnDefinitions>
2024-01-07 14:57:27 +00:00
<ColumnDefinition />
<ColumnDefinition />
2023-12-18 14:53:56 +00:00
</Grid.ColumnDefinitions>
2024-01-07 14:57:27 +00:00
<Button
x:Name="Button_OpenSettingEditor"
Click="Button_OpenSettingEditor_Click"
Content="{ll:Str 打开设置编辑器}"
FontSize="16"
Style="{DynamicResource Button_BaseStyle}" />
<Button
x:Name="Button_OpenSaveEditor"
Grid.Column="1"
2024-01-13 13:56:21 +00:00
Click="Button_OpenSaveEditor_Click"
Content="{ll:Str 打开存档查看器}"
2024-01-07 14:57:27 +00:00
FontSize="16"
Style="{DynamicResource Button_BaseStyle}" />
2023-12-18 14:53:56 +00:00
</Grid>
</pu:WindowX>