-
Notifications
You must be signed in to change notification settings - Fork 0
/
LoadingWindow.xaml
37 lines (37 loc) · 2.66 KB
/
LoadingWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:av="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="LoadingWindow1" mc:Ignorable="av" x:Class="GuildWars2APIWpfApp.LoadingWindow"
WindowStyle="None"
Title="Loading Window" Height="300" Width="400" Icon="images/logo/logo.png">
<Grid av:IsLocked="True">
<!-- Title Bar Background -->
<Border Background="#2C3E50" Height="20" VerticalAlignment="Top">
<Grid>
<!-- Title Bar Buttons -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0">
<!-- Minimize Button -->
<Button x:Name="MinimizeButton" Style="{StaticResource WindowButtonStyle}" Click="MinimizeButton_Click" Margin="0,0,4,0">
<Path Data="M 0,6 H 10" Stroke="White" StrokeThickness="2"/>
</Button>
<!-- Maximize/Restore Button -->
<Button x:Name="MaximizeRestoreButton" Style="{StaticResource WindowButtonStyle}" Click="MaximizeButton_Click" Margin="4,0,4,0">
<Path Data="M 0,0 H 10 M 0,6 H 10 M 0,12 H 10" Stroke="White" StrokeThickness="2"/>
</Button>
<!-- Close Button -->
<Button x:Name="CloseButton" Style="{StaticResource WindowButtonStyle}" Click="CloseButton_Click" Margin="4,0,0,0">
<Path Data="M 0,0 L 10,10 M 0,10 L 10,0" Stroke="White" StrokeThickness="2"/>
</Button>
</StackPanel>
</Grid>
</Border>
<Viewbox HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel>
<Image x:Name="logo" Source="/images/logo/logo.png" Stretch="UniformToFill" Width="100" Height="100" HorizontalAlignment="Center" VerticalAlignment="Top" av:IsLocked="True"/>
<TextBlock Text="Enter your API key below:" FontFamily="LatoRegular" HorizontalAlignment="Center" VerticalAlignment="Bottom" av:IsLocked="True"/>
<TextBox x:Name="apiKeyTextBox" FontFamily="LatoRegular" HorizontalAlignment="Center" VerticalAlignment="Center" Width="315" FontSize="8" av:IsLocked="True"/>
<Button HorizontalAlignment="Center" VerticalAlignment="Bottom" Click="Ok_Click" x:Name="ok" Width="30" Height="15" FontFamily="LatoRegular" FontSize="10" ClickMode="Release" Content="Ok" av:IsLocked="True"/>
</StackPanel>
</Viewbox>
</Grid>
</Window>