35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<Window x:Class="Cowain.Bake.UI.Home.Views.SetScannerView"
|
|
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:Cowain.Bake.UI.Home.Views"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:prism ="http://prismlibrary.com/"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
mc:Ignorable="d"
|
|
Title="选择使用扫码枪" Height="300" Width="400"
|
|
ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
|
|
<Grid Margin="20">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="请选择所使用的扫码枪:" FontSize="16" Margin="0,0,0,10"/>
|
|
|
|
<!-- 复选框数组容器 -->
|
|
<StackPanel Grid.Row="1" Orientation="Vertical" Margin="100,0,0,20">
|
|
<CheckBox Content="{Binding ScannersName[0]}" IsChecked="{Binding IsCheckScnner[0]}" Margin="10"/>
|
|
<CheckBox Content="{Binding ScannersName[1]}" IsChecked="{Binding IsCheckScnner[1]}" Margin="10"/>
|
|
<CheckBox Content="{Binding ScannersName[2]}" IsChecked="{Binding IsCheckScnner[2]}" Margin="10"/>
|
|
<CheckBox Content="{Binding ScannersName[3]}" IsChecked="{Binding IsCheckScnner[3]}" Margin="10"/>
|
|
</StackPanel>
|
|
|
|
<Button Grid.Row="2" Content="提交选择"
|
|
Style="{StaticResource ButtonSuccess}" Command="{Binding SubmitCommand}" CommandParameter="queryFormula"
|
|
HorizontalAlignment="Center" VerticalAlignment="Top"/>
|
|
</Grid>
|
|
</Window>
|