UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Windows/EnterKey.xaml

32 lines
2.6 KiB
Text
Raw Normal View History

<Window x:Class="UWUVCI_AIO_WPF.UI.Windows.EnterKey"
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:UWUVCI_AIO_WPF"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
2020-05-06 21:53:52 +00:00
Title="Enter Key" Height="151.156" Width="493.5" WindowStyle="None" WindowStartupLocation="CenterOwner" Foreground="White" Background="LightGray" ResizeMode="NoResize" Icon="/UWUVCI AIO WPF;component/a.ico" BorderBrush="#FF2196F3" BorderThickness="1.5,1.5,1.5,1.5" ShowInTaskbar="False" GotFocus="Window_GotFocus" Closing="wind_Closing" Closed="wind_Closed">
<Grid DataContext="{StaticResource mvm}">
2020-04-29 14:01:24 +00:00
<Button Content="Check" HorizontalAlignment="Left" Margin="308,103,0,0" VerticalAlignment="Top" Width="74" Click="Button_Click_1"/>
<Button Content="Cancel" HorizontalAlignment="Left" Margin="400,103,0,0" VerticalAlignment="Top" Width="76" Click="Button_Click"/>
<StackPanel Margin="10,10,10,107" Orientation="Horizontal">
2020-04-17 17:15:27 +00:00
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding GbTemp.Region}" VerticalAlignment="Top" Height="25" Width="Auto" FontSize="18" Foreground="Black" x:Name="region"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text=" " VerticalAlignment="Top" Height="25" Width="Auto" FontSize="18" Foreground="Black"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding GbTemp.Name}" VerticalAlignment="Top" Height="25" Width="Auto" FontSize="18" Foreground="Black" x:Name="Key"/>
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text=" " VerticalAlignment="Top" Height="25" Width="Auto" FontSize="18" Foreground="Black"/>
2020-04-29 14:01:24 +00:00
2020-04-17 17:15:27 +00:00
</StackPanel>
2020-04-19 17:36:03 +00:00
<StackPanel FocusManager.FocusedElement="{Binding ElementName=tbKey }">
2020-04-29 14:01:24 +00:00
<TextBox x:Name="tbKey" materialDesign:HintAssist.Hint="ENTER KEY" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,40,15,90" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18"/>
2020-04-19 17:36:03 +00:00
</StackPanel>
<Button Content="Read from otp.bin" HorizontalAlignment="Left" Margin="32,103,0,0" VerticalAlignment="Top" Width="152" Click="Button_Click_2" Name="otp"/>
<Label Content="or" HorizontalAlignment="Left" Height="100" Margin="7,92,0,-45" VerticalAlignment="Top" Name="or" FontSize="15"/>
2020-04-29 14:01:24 +00:00
</Grid>
</Window>