ProgressForm.xaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <wpf:ThemableWindow x:Class="InABox.WPF.ProgressForm"
  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:wpf="clr-namespace:InABox.Wpf"
  7. mc:Ignorable="d"
  8. Title="ProgressForm"
  9. WindowStartupLocation="CenterScreen"
  10. WindowStyle="None"
  11. BorderThickness="0"
  12. BorderBrush="Transparent"
  13. AllowsTransparency="True"
  14. Background="Transparent"
  15. MouseDown="Window_MouseDown"
  16. Width="350" Height="200">
  17. <Border CornerRadius="10" BorderBrush="Gray" BorderThickness="0.75" Padding="5,5,5,0" Background="White">
  18. <Grid Margin="5">
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="*" />
  21. <RowDefinition Height="Auto" />
  22. </Grid.RowDefinitions>
  23. <Image x:Name="Splash" Margin="20,10,20,10" Stretch="Uniform" Source="../Resources/splash.png" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
  24. <Label
  25. Grid.Row="1"
  26. FontSize="14"
  27. FontStyle="Oblique"
  28. x:Name="Progress"
  29. Content="Please wait.."
  30. Margin="0"
  31. HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
  32. HorizontalContentAlignment="Center"
  33. VerticalContentAlignment="Center"
  34. Background="Transparent" />
  35. </Grid>
  36. </Border>
  37. </wpf:ThemableWindow>