LogoutView.xaml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Window x:Class="CyberX8_MainPages.Views.LogoutView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  7. xmlns:userControl="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  8. xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls;assembly=CyberX8_Themes"
  9. WindowStyle="None" AllowsTransparency="True" Background="Transparent"
  10. mc:Ignorable="d" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
  11. Width="500" Height="550" Closed="Window_Closed">
  12. <Grid x:Name="grid1">
  13. <Border Width="500" Height="550" Background="#FFFFFF" HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="Silver" CornerRadius="15,15,15,15">
  14. <Grid Margin="50 0 0 0">
  15. <Grid.RowDefinitions>
  16. <RowDefinition/>
  17. <RowDefinition/>
  18. <RowDefinition />
  19. <RowDefinition />
  20. <RowDefinition/>
  21. <RowDefinition/>
  22. <RowDefinition/>
  23. <RowDefinition />
  24. <RowDefinition/>
  25. <RowDefinition />
  26. </Grid.RowDefinitions>
  27. <Image Source="Pack://application:,,,/Venus_Themes;Component/Resources/JetLogo.png" HorizontalAlignment="Left" Width="154" Height="14"></Image>
  28. <TextBlock Grid.Row="1" Text="Logout" FontSize="42" FontFamily="D-DIN" Foreground="#222222" FontWeight="Bold"/>
  29. <TextBlock Grid.Row="2" Text="Please logout to your account." FontSize="16" FontFamily="D-DIN" Foreground="#999999"/>
  30. <TextBlock Grid.Row="3" Text="UserName" FontSize="16" Foreground="#666666" Padding="10 0 0 0"/>
  31. <Border Grid.Row="4" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top" CornerRadius="8" Margin="0 -30 0 0" BorderBrush="Silver" BorderThickness="1" Background="White">
  32. <TextBlock FontSize="16" x:Name="userTextBlock" VerticalAlignment="Center" Padding="20 0 0 0" Foreground="Gray"/>
  33. </Border>
  34. <TextBlock Grid.Row="5" Text="Password" FontSize="16" Foreground="#666666" Padding="10 0 0 0"/>
  35. <Border Grid.Row="6" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top" CornerRadius="8" Margin="0 -30 0 0" BorderBrush="Silver" BorderThickness="1" Background="White">
  36. <TextBlock FontSize="16" x:Name="passwordTextBlock" VerticalAlignment="Center" Padding="20 5 0 0" Foreground="Gray"/>
  37. </Border>
  38. <TextBlock Grid.Row="7" Text="Role" FontSize="16" Foreground="#666666" Padding="10 0 0 0"/>
  39. <Border Grid.Row="8" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top" CornerRadius="8" Margin="0 -30 0 0" BorderBrush="Silver" BorderThickness="1" Background="White">
  40. <TextBlock FontSize="16" x:Name="roleTextBlock" VerticalAlignment="Center" Padding="20 0 0 0" Foreground="Gray"/>
  41. </Border>
  42. <Button Grid.Row="9" Width="400" Height="40" x:Name="logButton" Content="Logout" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Login_Click" FontSize="18" Margin="0 -10 0 0"/>
  43. </Grid>
  44. </Border>
  45. <userControl:PathButton x:Name="closeButton" Width="15" Height="15" Cursor="Hand"
  46. PathData="{StaticResource Icon_Close}"
  47. Margin="450 -500 0 0"
  48. DefaultFillBrush="DimGray"
  49. MouseOverBrush="Red"
  50. IsPressedBrush="Blue" Click="Close_Click"/>
  51. </Grid>
  52. </Window>