30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<Window x:Class="YuncangTrace.LocalService.SubjectPickerWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="切换主体"
|
|
Height="400" Width="440"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterOwner"
|
|
Background="{StaticResource BgBrush}"
|
|
FontFamily="Microsoft YaHei UI, Segoe UI"
|
|
FontSize="13">
|
|
<Border Background="White" BorderBrush="{StaticResource LineBrush}" BorderThickness="1"
|
|
CornerRadius="10" Margin="18" Padding="18">
|
|
<DockPanel>
|
|
<TextBlock DockPanel.Dock="Top" Text="选择主体" FontSize="15" FontWeight="SemiBold" />
|
|
<TextBlock DockPanel.Dock="Top" Text="设备服务(本机作为扫码中控)会绑定到所选主体"
|
|
FontSize="12" Foreground="{StaticResource MutedBrush}" Margin="0,4,0,12" />
|
|
|
|
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
|
|
<Button Content="取消" Padding="14,5" IsCancel="True" Click="Cancel_Click" />
|
|
<Button Content="确定" Padding="14,5" Margin="8,0,0,0" IsDefault="True"
|
|
Background="{StaticResource BrandBrush}" Foreground="White" BorderThickness="0"
|
|
Cursor="Hand" Click="Ok_Click" />
|
|
</StackPanel>
|
|
|
|
<ListBox x:Name="SubjectList" DisplayMemberPath="Display" BorderBrush="{StaticResource LineBrush}"
|
|
MouseDoubleClick="SubjectList_MouseDoubleClick" />
|
|
</DockPanel>
|
|
</Border>
|
|
</Window>
|