32 lines
1.5 KiB
XML
32 lines
1.5 KiB
XML
<local:XivChatWindow x:Class="XIVChat_Desktop.LicenceWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:XIVChat_Desktop"
|
|
xmlns:ui="http://schemas.modernwpf.com/2019"
|
|
ui:WindowHelper.UseModernWindowStyle="True"
|
|
mc:Ignorable="d"
|
|
Title="Licence"
|
|
WindowStartupLocation="CenterOwner"
|
|
SizeToContent="WidthAndHeight"
|
|
d:DataContext="{d:DesignInstance local:LicenceWindow}">
|
|
<StackPanel Margin="8">
|
|
<ProgressBar x:Name="Loading"
|
|
IsIndeterminate="True" />
|
|
<StackPanel x:Name="LicenceInfoPanel"
|
|
Visibility="Collapsed">
|
|
<TextBlock x:Name="LicenceDescription"
|
|
Text="Checking licence..." />
|
|
<TextBox x:Name="LicenceKey"
|
|
Text="{Binding App.Config.LicenceKey}"
|
|
ui:ControlHelper.Header="Licence key" />
|
|
<Button x:Name="CheckButton"
|
|
Margin="0,8,0,0"
|
|
Content="Check"
|
|
Click="Check_Click"
|
|
IsEnabled="False" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</local:XivChatWindow>
|