118 lines
6.8 KiB
Plaintext
118 lines
6.8 KiB
Plaintext
|
|
<Page x:Class="头罩视野.Views.SetTime"
|
|||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|||
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|||
|
|
xmlns:local="clr-namespace:头罩视野.Views"
|
|||
|
|
mc:Ignorable="d"
|
|||
|
|
d:DesignHeight="768" d:DesignWidth="1024"
|
|||
|
|
Background="#F0F0F0"
|
|||
|
|
Title="SetTime">
|
|||
|
|
<Grid Background="#E0E9F2">
|
|||
|
|
<!-- 背景科技感圆环 -->
|
|||
|
|
<Canvas>
|
|||
|
|
<Ellipse Canvas.Left="150" Canvas.Top="100" Width="500" Height="350"
|
|||
|
|
Stroke="#87CEFA" StrokeThickness="8" Opacity="0.6"/>
|
|||
|
|
<Ellipse Canvas.Left="200" Canvas.Top="150" Width="400" Height="250"
|
|||
|
|
Stroke="#87CEFA" StrokeThickness="6" Opacity="0.4"/>
|
|||
|
|
</Canvas>
|
|||
|
|
|
|||
|
|
<StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,100,0,0">
|
|||
|
|
<!-- 标题 -->
|
|||
|
|
<TextBlock Text="打印时间设定" FontSize="32" Height="70"
|
|||
|
|
HorizontalAlignment="Center" Margin="0 20 0 40"
|
|||
|
|
/>
|
|||
|
|
|
|||
|
|
<!-- 第一行标签 -->
|
|||
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 0 0 15" Width="1011" Height="30">
|
|||
|
|
<TextBlock FontSize="20" Width="118"><Run Language="zh-cn" Text=" "/><Run Text="年设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Margin="0 0 30 0" Width="144"><Run Text=" "/><Run Language="zh-cn" Text=" "/><Run Text="月设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Margin="0 0 30 0" Width="118"><Run Language="zh-cn" Text=" "/><Run Text="日设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Margin="0 0 30 0" Width="118"><Run Text=" "/><Run Language="zh-cn" Text=" "/><Run Text="时设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Margin="0 0 30 0" Width="110"><Run Text=" "/><Run Language="zh-cn" Text=" "/><Run Text="分设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Margin="0 0 30 0" Width="110"><Run Language="zh-cn" Text=" "/><Run Text="秒设置"/></TextBlock>
|
|||
|
|
<TextBlock FontSize="20" Width="125" ><Run Text=" "/><Run Language="zh-cn" Text=" "/><Run Text="星期"/></TextBlock>
|
|||
|
|
</StackPanel>
|
|||
|
|
|
|||
|
|
<!-- 第一行输入框(NE系列) -->
|
|||
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 0 0 20">
|
|||
|
|
<TextBox x:Name="NE_0" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1" TextChanged="NE_0_TextChanged"/>
|
|||
|
|
<TextBlock Text="年" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_1" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="月" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_5" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="日" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_4" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="时" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_3" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="分" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_2" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="秒" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_6" Width="100" Height="40" FontSize="16"
|
|||
|
|
BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
</StackPanel>
|
|||
|
|
|
|||
|
|
<!-- 第二行输入框(ND/NE系列) -->
|
|||
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 0 0 40">
|
|||
|
|
<TextBox x:Name="ND_0" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="年" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="ND_1" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="月" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="ND_5" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="日" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="ND_4" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="时" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="ND_3" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="分" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="ND_2" Width="100" Height="40" FontSize="16"
|
|||
|
|
Margin="0 0 15 0" BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
<TextBlock Text="秒" FontSize="16" VerticalAlignment="Center" Margin="0 0 15 0" />
|
|||
|
|
|
|||
|
|
<TextBox x:Name="NE_7" Width="100" Height="40" FontSize="16"
|
|||
|
|
BorderBrush="Gray" BorderThickness="1"/>
|
|||
|
|
</StackPanel>
|
|||
|
|
<Button x:Name="TS_0" Content="保存" FontSize="24"
|
|||
|
|
Width="160" Height="50"
|
|||
|
|
Background="#87CEFA" Foreground="White"
|
|||
|
|
BorderBrush="Gray" BorderThickness="0"
|
|||
|
|
/>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- 保存按钮 -->
|
|||
|
|
</StackPanel>
|
|||
|
|
|
|||
|
|
<!-- 右下角退出按钮 -->
|
|||
|
|
<Button x:Name="FK_0" Content="退出" FontSize="20"
|
|||
|
|
Width="100" Height="50" HorizontalAlignment="Right" VerticalAlignment="Bottom"
|
|||
|
|
Margin="0 0 10 10" Background="#87CEFA" Foreground="White"
|
|||
|
|
/>
|
|||
|
|
<Image Source="/Images/printTime.png" Opacity="1"
|
|||
|
|
Margin="0,532,749,78"
|
|||
|
|
/>
|
|||
|
|
</Grid>
|
|||
|
|
|
|||
|
|
|
|||
|
|
</Page>
|