1234567891011121314151617181920212223242526272829 |
- <ContentDialog
- x:Uid="Downloading"
- x:Class="SDLPal.DownloadDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:SDLPal"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- Title="正在下载……"
- PrimaryButtonText="停止"
- PrimaryButtonClick="OnPrimaryButtonClick"
- MinHeight="0" MinWidth="0"
- Closing="OnClosing" Opened="OnOpened" SizeChanged="OnSizeChanged">
- <StackPanel Orientation="Vertical">
- <WebView x:Name="DownloadPage" NavigationStarting="OnNavigateStart" DOMContentLoaded="OnDOMContentLoaded" ScrollViewer.HorizontalScrollMode="Auto" ScrollViewer.VerticalScrollMode="Auto" />
- <Grid x:Name="gridURL" HorizontalAlignment="Stretch">
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <TextBox x:Name="tbURL" Grid.Column="0" HorizontalAlignment="Stretch" />
- <Button x:Name="btnGoTo" Grid.Column="1" Content="->" Click="OnClick" />
- </Grid>
- <ProgressBar x:Name="pbDownload" HorizontalAlignment="Stretch" Height="12" Margin="0,8,0,4" />
- <TextBlock x:Name="tbProgress" HorizontalAlignment="Right" Height="20" Margin="0,4,0,0" Text="0 / 0" />
- </StackPanel>
- </ContentDialog>
|