LogoutView.xaml 4.2 KB

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