mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
46 lines
2.5 KiB
Plaintext
46 lines
2.5 KiB
Plaintext
|
<Window x:Class="Wox.WoxUpdate"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
Icon="Images/app.png"
|
||
|
Topmost="True"
|
||
|
ResizeMode="NoResize"
|
||
|
WindowStartupLocation="CenterScreen"
|
||
|
Title="{DynamicResource update_wox_update}" Height="400" Width="600">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="100"></ColumnDefinition>
|
||
|
<ColumnDefinition></ColumnDefinition>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="80"></RowDefinition>
|
||
|
<RowDefinition ></RowDefinition>
|
||
|
<RowDefinition Height="50"></RowDefinition>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Image Source="Images/update.png" Width="64"></Image>
|
||
|
<TextBlock x:Name="tbNewVersionAvailable" Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" FontSize="20" Text="{DynamicResource update_wox_update_new_version_available}"></TextBlock>
|
||
|
<TabControl Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2">
|
||
|
<TabItem Header="{DynamicResource update_wox_update_upadte_description}">
|
||
|
<WebBrowser x:Name="wbDetails" Grid.Row="1"></WebBrowser>
|
||
|
</TabItem>
|
||
|
<TabItem Header="{DynamicResource update_wox_update_files}">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="30"></RowDefinition>
|
||
|
<RowDefinition></RowDefinition>
|
||
|
</Grid.RowDefinitions>
|
||
|
<TextBlock Grid.Row="0" Padding="8" Text="{DynamicResource update_wox_update_upadte_files}"></TextBlock>
|
||
|
<ListBox x:Name="lbUpdatedFiles" Grid.Row="1">
|
||
|
</ListBox>
|
||
|
</Grid>
|
||
|
</TabItem>
|
||
|
</TabControl>
|
||
|
<StackPanel Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" Orientation="Horizontal">
|
||
|
<TextBlock Foreground="Gray" TextAlignment="Center" Margin="0 0 10 0" VerticalAlignment="Center" Text="{DynamicResource update_wox_update_restart_wox_tip}"></TextBlock>
|
||
|
<Button x:Name="btnUpdate" Padding="8 3" Margin="8" Click="btnUpdate_Click" Content="{DynamicResource update_wox_update}">
|
||
|
</Button>
|
||
|
<Button x:Name="btnCancel" Padding="8 3" Margin="8" Click="btnCancel_Click" Content="{DynamicResource update_wox_update_cancel}">
|
||
|
</Button>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Window>
|