Login.xaml 1.5 KB

1234567891011121314151617181920212223
  1. <Window x:Class="ArchivesCenter3.Login"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:ArchivesCenter3"
  7. mc:Ignorable="d"
  8. Title="数据库解密 - Archives Center" Height="300" Width="400" WindowStartupLocation="CenterScreen" Topmost="True" Icon="/Resources/icons8_omnichannel.ico">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="Auto"/>
  12. <RowDefinition Height="Auto"/>
  13. <RowDefinition Height="Auto"/>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. </Grid.RowDefinitions>
  17. <Image Source="/Resources/omnichannel_96px.png" Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="5" Height="96"/>
  18. <TextBlock Grid.Row="1" Text="Archives Center" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="24" Foreground="#0368ba" Margin="10"/>
  19. <TextBlock Grid.Row="2" Text="请输入数据库密钥" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5"/>
  20. <TextBox x:Name="LoginKeyBox" Grid.Row="3" HorizontalAlignment="Center" Margin="5" Width="150" Height="20"/>
  21. <Button x:Name="LoginButton" Grid.Row="4" Width="60" Height="20" Margin="10" Click="Button_Click" IsEnabled="False">解密</Button>
  22. </Grid>
  23. </Window>