2022-06-10 18:51:48 +08:00
|
|
|
|
<Window x:Class="Topuino_Client_Windows.MainWindow"
|
|
|
|
|
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:Topuino_Client_Windows"
|
|
|
|
|
mc:Ignorable="d"
|
2022-06-14 16:40:40 +08:00
|
|
|
|
Closing="Window_Closing"
|
2022-06-30 10:22:12 +08:00
|
|
|
|
Title="Topuino 客户端" Height="180" Width="400">
|
2022-06-10 18:51:48 +08:00
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
<RowDefinition Height="*" />
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<RowDefinition Height="*" />
|
2022-06-10 18:51:48 +08:00
|
|
|
|
</Grid.RowDefinitions>
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="5">
|
|
|
|
|
<Label Content="运行模式:" VerticalAlignment="Center" />
|
|
|
|
|
<RadioButton x:Name="RadioButton_UsbMode" VerticalAlignment="Center" Margin="5,0" IsChecked="True">USB 模式</RadioButton>
|
|
|
|
|
<RadioButton x:Name="RadioButton_OnlineMode" VerticalAlignment="Center" Margin="5,0">在线模式</RadioButton>
|
|
|
|
|
<RadioButton x:Name="RadioButton_LocalMode" VerticalAlignment="Center" Margin="5,0" IsEnabled="False">本地模式</RadioButton>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="5">
|
2022-06-10 18:51:48 +08:00
|
|
|
|
<TextBlock Text="设备 SN:" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBox x:Name="TextBox_DeviceSn" Width="80" VerticalAlignment="Center" />
|
|
|
|
|
</StackPanel>
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="5">
|
2022-06-10 18:51:48 +08:00
|
|
|
|
<TextBlock Text="0 号磁盘:" VerticalAlignment="Center"/>
|
|
|
|
|
<ComboBox x:Name="ComboBox_Disk0" Height="20" Width="60" VerticalAlignment="Center"/>
|
|
|
|
|
<Separator Width="10" Background="Transparent" />
|
|
|
|
|
<TextBlock Text="1 号磁盘:" VerticalAlignment="Center"/>
|
|
|
|
|
<ComboBox x:Name="ComboBox_Disk1" Height="20" Width="60" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
|
2022-07-01 17:18:11 +08:00
|
|
|
|
<TextBlock Text="状态:" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock x:Name="TextBlock_Status" Text="未连接" Foreground="Red" VerticalAlignment="Center" />
|
|
|
|
|
<Separator Width="10" Background="Transparent" />
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<Button Content="应用并保存" Click="Button_Save_Click" Height="25" Width="80" />
|
2022-06-10 18:51:48 +08:00
|
|
|
|
<Separator Width="10" Background="Transparent" />
|
2022-06-30 10:22:12 +08:00
|
|
|
|
<Button Content="隐藏" Click="Button_Hide_Click" Height="25" Width="40" />
|
2022-06-10 18:51:48 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|