You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.7 KiB
XML

<UserControl
x:Class="XGL.Views.LanJu_NowUser"
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:local="clr-namespace:XGL.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Width="1920"
Height="626"
mc:Ignorable="d">
<Viewbox Stretch="Fill">
<Canvas
Width="1920"
Height="626"
Background="#F2F3F5">
<Grid
Width="1920"
Height="626"
Margin="0">
<Grid.RowDefinitions>
<RowDefinition Height="70" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Width="1870"
Height="70"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Background="White"
Orientation="Horizontal">
<TextBlock
Width="100"
Margin="5,10"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="22"
Text="上班刷卡:" />
<TextBox
Width="380"
Height="40"
Margin="15,0"
VerticalContentAlignment="Center"
FontSize="18"
Foreground="Gray"
Text="请把光标指向后刷卡" />
<TextBlock
Width="100"
Margin="10,10"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="22"
Text="下班刷卡:" />
<TextBox
Width="380"
Height="40"
Margin="15,0"
VerticalContentAlignment="Center"
FontSize="18"
Foreground="Gray"
Text="请把光标指向后刷卡" />
</StackPanel>
<DataGrid
Grid.Row="1"
Width="1870"
Height="500"
HorizontalAlignment="Center"
VerticalAlignment="Top"
AutoGenerateColumns="False">
<DataGrid.ColumnHeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="Height" Value="48" />
<Setter Property="FontSize" Value="24" />
<Setter Property="Foreground" Value="White" />
<Setter Property="Background" Value="#2B7EE6" />
</Style>
</DataGrid.ColumnHeaderStyle>
<DataGrid.Columns>
<DataGridTextColumn Width="450" Header="序号" />
<DataGridTextColumn Width="450" Header="打卡时间" />
<DataGridTextColumn Width="450" Header="当前时长" />
<DataGridTextColumn Width="*" Header="人员" />
</DataGrid.Columns>
</DataGrid>
</Grid>
</Canvas>
</Viewbox>
</UserControl>