MetaforceInstaller/MetaforceInstaller.UI/Windows/NewInstallationDialog.axaml
2026-01-03 12:23:50 +05:00

28 lines
No EOL
1.7 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
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:lang="clr-namespace:MetaforceInstaller.UI.Lang"
mc:Ignorable="d" d:DesignWidth="200" d:DesignHeight="400"
x:Class="MetaforceInstaller.UI.Windows.NewInstallationDialog"
Title="MetaforceInstaller - Add new installation"
SizeToContent="WidthAndHeight"
CanResize="False">
<StackPanel Margin="24" Spacing="12">
<Label FontSize="36" Content="{x:Static lang:Resources.AddInstallation}" />
<TextBox Name="TitleTextBox" Watermark="{x:Static lang:Resources.NameOfNewInstallation}" />
<Button Name="ChooseZip" Content="{x:Static lang:Resources.ChooseZip}" />
<CheckBox Name="ServerCheckBox" Content="{x:Static lang:Resources.InstallServerCheckbox}" />
<CheckBox Name="PcAdminCheckBox" Content="{x:Static lang:Resources.InstallAdminCheckbox}" />
<CheckBox Name="AndroidAdminCheckbox" Content="{x:Static lang:Resources.SaveAndroidAdminCheckbox}" />
<CheckBox Name="VrClientCheckbox" Content="{x:Static lang:Resources.SaveVRClientCheckbox}" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Spacing="8">
<Button Name="InstallButton" Content="{x:Static lang:Resources.InstallButton}" />
<Button Name="CancelButton" Content="{x:Static lang:Resources.CancelButton}" />
</StackPanel>
<ProgressBar Name="ProgressBar" Minimum="0" Maximum="100" Value="0" />
</StackPanel>
</Window>