You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
9.3 KiB
189 lines
9.3 KiB
|
2 months ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<Window x:Class="Housing.Login.StartupLoginWindow"
|
||
|
|
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"
|
||
|
|
mc:Ignorable="d"
|
||
|
|
Title="Housing Login"
|
||
|
|
Width="760"
|
||
|
|
Height="860"
|
||
|
|
MinWidth="560"
|
||
|
|
MinHeight="640"
|
||
|
|
d:DesignWidth="760"
|
||
|
|
d:DesignHeight="860"
|
||
|
|
WindowStartupLocation="CenterScreen"
|
||
|
|
Background="#141414"
|
||
|
|
UseLayoutRounding="True"
|
||
|
|
SnapsToDevicePixels="True">
|
||
|
|
<Window.Resources>
|
||
|
|
<Style x:Key="FieldLabelStyle" TargetType="TextBlock">
|
||
|
|
<Setter Property="Foreground" Value="White"/>
|
||
|
|
<Setter Property="FontSize" Value="24"/>
|
||
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
||
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
<Style x:Key="InputStyle" TargetType="TextBox">
|
||
|
|
<Setter Property="Height" Value="52"/>
|
||
|
|
<Setter Property="MinWidth" Value="180"/>
|
||
|
|
<Setter Property="Background" Value="Black"/>
|
||
|
|
<Setter Property="Foreground" Value="White"/>
|
||
|
|
<Setter Property="BorderBrush" Value="#DADADA"/>
|
||
|
|
<Setter Property="BorderThickness" Value="2"/>
|
||
|
|
<Setter Property="FontSize" Value="24"/>
|
||
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||
|
|
<Setter Property="Padding" Value="8,0"/>
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
<Style x:Key="CommandButtonStyle" TargetType="Button">
|
||
|
|
<Setter Property="Height" Value="76"/>
|
||
|
|
<Setter Property="Foreground" Value="White"/>
|
||
|
|
<Setter Property="Background" Value="#666666"/>
|
||
|
|
<Setter Property="BorderBrush" Value="#DADADA"/>
|
||
|
|
<Setter Property="BorderThickness" Value="2"/>
|
||
|
|
<Setter Property="FontSize" Value="30"/>
|
||
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
||
|
|
</Style>
|
||
|
|
</Window.Resources>
|
||
|
|
|
||
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"
|
||
|
|
HorizontalScrollBarVisibility="Disabled">
|
||
|
|
<Grid MinHeight="760" Margin="28">
|
||
|
|
<Border MaxWidth="680"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Background="#4F4F4F"
|
||
|
|
BorderBrush="#BDBDBD"
|
||
|
|
BorderThickness="2"
|
||
|
|
Padding="28">
|
||
|
|
<Grid>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="22"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
<RowDefinition Height="22"/>
|
||
|
|
<RowDefinition Height="Auto"/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
|
||
|
|
<TextBlock Grid.Row="0"
|
||
|
|
Text="Housing Assembly Login"
|
||
|
|
Foreground="White"
|
||
|
|
FontSize="36"
|
||
|
|
FontWeight="Bold"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
TextWrapping="Wrap"/>
|
||
|
|
|
||
|
|
<Grid Grid.Row="2" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Maker" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="MakerTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="3" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Model" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="ModelTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="4" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Variant 1" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="Variant1TextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="5" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Variant 2" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="Variant2TextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="6" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="ID" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="OperatorTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="7" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="PW" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<PasswordBox x:Name="PasswordBox"
|
||
|
|
Grid.Column="1"
|
||
|
|
Height="52"
|
||
|
|
MinWidth="180"
|
||
|
|
Background="Black"
|
||
|
|
Foreground="White"
|
||
|
|
BorderBrush="#DADADA"
|
||
|
|
BorderThickness="2"
|
||
|
|
FontSize="24"
|
||
|
|
FontWeight="Bold"
|
||
|
|
HorizontalContentAlignment="Center"
|
||
|
|
VerticalContentAlignment="Center"
|
||
|
|
Padding="8,0"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="8" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Line" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="LineNoTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="9" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Lot No" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="LotNoTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Grid Grid.Row="10" Margin="0,6">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="150"/>
|
||
|
|
<ColumnDefinition Width="*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Column="0" Text="Jig No" Style="{StaticResource FieldLabelStyle}"/>
|
||
|
|
<TextBox x:Name="JigNoTextBox" Grid.Column="1" Style="{StaticResource InputStyle}"/>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
<Button Grid.Row="12"
|
||
|
|
Content="Log In"
|
||
|
|
Style="{StaticResource CommandButtonStyle}"
|
||
|
|
Click="LogInButton_Click"/>
|
||
|
|
</Grid>
|
||
|
|
</Border>
|
||
|
|
</Grid>
|
||
|
|
</ScrollViewer>
|
||
|
|
</Window>
|