31 lines
1.8 KiB
XML
31 lines
1.8 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"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
Title="动打芯片数量"
|
|
SystemDecorations="None"
|
|
WindowStartupLocation="CenterScreen"
|
|
x:Class="DispenserUI.Views.Windows.ManualStrikeOffsetWindow">
|
|
<Border Background="#FFF" BoxShadow="-1 -1 30 5 #30000000" Padding="10"
|
|
Margin="40"
|
|
Height="200" Width="500"
|
|
CornerRadius="10">
|
|
<StackPanel>
|
|
<TextBlock Text="动打芯片数量" Margin="0,0,0,10" />
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,10,0,20">
|
|
<NumericUpDown x:Name="StartIndex" Watermark="开始偏移量" Width="200" Minimum="0" Maximum="20000"
|
|
Increment="1" />
|
|
<TextBlock Text="到" Margin="10,0,10,0" VerticalAlignment="Center" />
|
|
<NumericUpDown x:Name="EndIndex" Watermark="结束偏移量" Width="200" Minimum="0" Maximum="20000"
|
|
Increment="1" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,20,0,0">
|
|
<Button Content="确认" Click="Confirm" Margin="5" Width="80" HorizontalContentAlignment="Center"
|
|
VerticalContentAlignment="Center" />
|
|
<Button Content="取消" Click="Cancel" Margin="5" Width="80" HorizontalContentAlignment="Center"
|
|
VerticalContentAlignment="Center" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
</Window> |