MainWindow.xaml 2.1 KB

123456789101112131415161718192021222324252627282930
  1. <Window x:Class="vCloud.Windows.ForceUpgrade.MainWindow"
  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:local="clr-namespace:vCloud.Windows.ForceUpgrade"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="385" Width="581" AllowDrop="True" Background="CadetBlue" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" BorderThickness="1" BorderBrush="#6495ED">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="80*"></RowDefinition>
  12. <RowDefinition Height="20*"></RowDefinition>
  13. </Grid.RowDefinitions>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="20*"></ColumnDefinition>
  16. <ColumnDefinition Width="80*"></ColumnDefinition>
  17. </Grid.ColumnDefinitions>
  18. <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Width="500" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="20,0,0,5">
  19. <Label x:Name="InstallContent" Content="{Binding Source={x:Static local:App.GetTitle }}"/>
  20. </StackPanel>
  21. <StackPanel Grid.Row="1" Grid.Column="2" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,5,20,0">
  22. <Label x:Name="InstallProcess" Content="1%"/>
  23. </StackPanel>
  24. <StackPanel Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,135,115,0">
  25. <Label x:Name="InstallVersion" Content="{Binding Source={x:Static local:App.GetVersion }}" Foreground="White"/>
  26. </StackPanel>
  27. <StackPanel x:Name="ProcessImage" Height="13" Width="551" Margin="14,32,14,30" Grid.Row="1" Grid.ColumnSpan="2" Background="White" />
  28. <Label Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="50" Height="50" MouseDown="Label_MouseDown"/>
  29. </Grid>
  30. </Window>