markus / MarkusAutoUpdate / src / NetSparkle.Samples.NetFramework.WPF / MainWindow.xaml @ 274cde11
이력 | 보기 | 이력해설 | 다운로드 (1.89 KB)
1 | d8f5045e | taeseongkim | <Window x:Class="NetSparkleUpdater.Samples.NetFramework.WPF.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:view="clr-namespace:NetSparkle.TestAppWPF.View" mc:Ignorable="d" WindowStyle="SingleBorderWindow" |
||
7 | Title="Markus Update" Height="200" Width="525" Icon="software-update-available.ico" Visibility="Visible"> |
||
8 | <Grid>
|
||
9 | <Grid.RowDefinitions>
|
||
10 | <RowDefinition/> |
||
11 | <RowDefinition Height="Auto"/> |
||
12 | </Grid.RowDefinitions>
|
||
13 | <Grid VerticalAlignment="Top" Margin="10"> |
||
14 | <Grid.ColumnDefinitions>
|
||
15 | <ColumnDefinition/> |
||
16 | </Grid.ColumnDefinitions>
|
||
17 | <Grid.RowDefinitions>
|
||
18 | <RowDefinition/> |
||
19 | <RowDefinition/> |
||
20 | <RowDefinition/> |
||
21 | </Grid.RowDefinitions>
|
||
22 | <TextBlock Text="Markus Update" VerticalAlignment="Center" FontSize="30" FontWeight="Bold"/> |
||
23 | <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="1"> |
||
24 | <TextBlock Text="Update available Version " VerticalAlignment="Center" FontSize="25" FontWeight="Bold"/> |
||
25 | <TextBlock FontSize="30" FontWeight="Bold" Text="{Binding UpdateVersion}"/> |
||
26 | </StackPanel>
|
||
27 | <StackPanel Grid.Row="2" HorizontalAlignment="Left"> |
||
28 | <TextBlock Text="{Binding DownloadProgress, Mode=TwoWay, StringFormat=\{0\}%}" VerticalAlignment="Center" FontSize="30" FontWeight="Bold"/> |
||
29 | </StackPanel>
|
||
30 | </Grid>
|
||
31 | <ProgressBar Height="20" Grid.Row="1" Margin="3" IsIndeterminate="{Binding IsWait}" VerticalAlignment="Bottom" Value="{Binding DownloadProgress}"/> |
||
32 | </Grid>
|
||
33 | </Window> |