46 lines
3.1 KiB
XML
46 lines
3.1 KiB
XML
<Window x:Class="Views.InputWindow"
|
|
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:Views"
|
|
mc:Ignorable="d"
|
|
Title="InputWindow" Height="400" Width="600" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="Transparent" WindowStartupLocation="CenterScreen" FocusManager.FocusedElement="{Binding ElementName=txtRencl}" Loaded="Window_Loaded">
|
|
<Border Name="border" Background="AliceBlue" CornerRadius="50">
|
|
<Grid >
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition></ColumnDefinition>
|
|
<ColumnDefinition></ColumnDefinition>
|
|
<ColumnDefinition></ColumnDefinition>
|
|
<ColumnDefinition></ColumnDefinition>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!--<Grid.Clip>
|
|
<RectangleGeometry
|
|
RadiusX="{Binding ElementName=border,Path=CornerRadius.TopRight}"
|
|
RadiusY="{Binding ElementName=border,Path=CornerRadius.TopRight}"
|
|
Rect="0,0,294,294" />
|
|
</Grid.Clip>-->
|
|
|
|
|
|
<Label Name="labtTool" Content="工单号" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
|
<TextBox Name="txtRencl" Text="{Binding WorkOrderNumber}" Margin="2" Grid.Row="1" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></TextBox>
|
|
<Label Content="员工号" Grid.Row="2" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
|
<TextBox Margin="2" Grid.Row="3" Text="{Binding WorkNumber}" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></TextBox>
|
|
<Label Content="密码" Grid.Row="4" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
|
<PasswordBox Name="passBox" Margin="2" Grid.Row="5" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></PasswordBox>
|
|
<Button Name="btnOK" Content="确定" Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" VerticalContentAlignment="Center" Margin="2" Click="btnOK_Click" IsDefault="True" FontFamily="楷体" FontSize="30" FontWeight="Bold"></Button>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|