2015-02-01 22:46:56 +08:00
|
|
|
<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>
|
2016-03-26 12:46:39 +08:00
|
|
|
<ColumnDefinition Width="100" />
|
|
|
|
<ColumnDefinition />
|
2015-02-01 22:46:56 +08:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
2016-03-26 12:46:39 +08:00
|
|
|
<RowDefinition Height="80" />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition Height="50" />
|
2015-02-01 22:46:56 +08:00
|
|
|
</Grid.RowDefinitions>
|
2016-03-26 12:46:39 +08:00
|
|
|
<Image Source="Images/update.png" Width="64" />
|
|
|
|
<TextBlock x:Name="tbNewVersionAvailable" Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" FontSize="20"
|
|
|
|
Text="{DynamicResource update_wox_update_new_version_available}" />
|
2015-02-01 22:46:56 +08:00
|
|
|
<TabControl Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
<TabItem Header="{DynamicResource update_wox_update_upadte_description}">
|
2016-03-26 12:46:39 +08:00
|
|
|
<WebBrowser x:Name="wbDetails" Grid.Row="1" />
|
2015-02-01 22:46:56 +08:00
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="{DynamicResource update_wox_update_files}">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
2016-03-26 12:46:39 +08:00
|
|
|
<RowDefinition Height="30" />
|
|
|
|
<RowDefinition />
|
2015-02-01 22:46:56 +08:00
|
|
|
</Grid.RowDefinitions>
|
2016-03-26 12:46:39 +08:00
|
|
|
<TextBlock Grid.Row="0" Padding="8" Text="{DynamicResource update_wox_update_upadte_files}" />
|
|
|
|
<ListBox x:Name="lbUpdatedFiles" Grid.Row="1" />
|
2015-02-01 22:46:56 +08:00
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
|
|
|
</TabControl>
|
|
|
|
<StackPanel Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" Orientation="Horizontal">
|
2016-03-26 12:46:39 +08:00
|
|
|
<TextBlock Foreground="Gray" TextAlignment="Center" Margin="0 0 10 0" VerticalAlignment="Center"
|
|
|
|
Text="{DynamicResource update_wox_update_restart_wox_tip}" />
|
|
|
|
<Button x:Name="btnUpdate" Padding="8 3" Margin="8" Click="btnUpdate_Click"
|
|
|
|
Content="{DynamicResource update_wox_update}" />
|
|
|
|
<Button x:Name="btnCancel" Padding="8 3" Margin="8" Click="btnCancel_Click"
|
|
|
|
Content="{DynamicResource update_wox_update_cancel}" />
|
2015-02-01 22:46:56 +08:00
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
2016-03-26 12:46:39 +08:00
|
|
|
</Window>
|