markus / SmartUpdate / MainWindow.xaml @ f19ebe30
이력 | 보기 | 이력해설 | 다운로드 (4.96 KB)
1 |
<Window x:Class="SmartUpdate.MainWindow" |
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 |
xmlns:local="clr-namespace:SmartUpdate" |
7 |
mc:Ignorable="d" |
8 |
Height="60" Width="300" Background="#FF007acc"> |
9 |
<Grid>
|
10 |
<ProgressBar HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="18" x:Name="progressBar" Width="300" Background="Transparent" BorderThickness="0" |
11 |
Foreground="LightSlateGray" Opacity="0.5"/> |
12 |
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Bottom" TextAlignment="Center" x:Name="splashText" Foreground="AntiqueWhite" FontWeight="ExtraBold" xml:space="preserve" Height="17.5"> Loading...</TextBlock> |
13 |
</Grid>
|
14 |
</Window>
|
15 |
|
16 |
<!--<Window x:Class="SmartUpdate.MainWindow"
|
17 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
18 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
19 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
20 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
21 |
xmlns:local="clr-namespace:SmartUpdate"
|
22 |
mc:Ignorable="d"
|
23 |
WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"
|
24 |
Title="MARKUS SmartUpdate" Height="450" Width="600">
|
25 |
|
26 |
|
27 |
<Border Name="main" BorderThickness="1" BorderBrush="LightGray" Margin="0">
|
28 |
<DockPanel>
|
29 |
<Border Name="border" DockPanel.Dock="Top" Height="25" Background="#FF2A579A">
|
30 |
<Grid>
|
31 |
<TextBlock Text="Markus SmartUpdate" Foreground="White" Margin="100,0,100,4" HorizontalAlignment="Center" VerticalAlignment="Bottom" x:Name="TitleText"/>
|
32 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Stretch">
|
33 |
<Image Visibility="Visible" Source="Resources/minimize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_min"/>
|
34 |
<Image Visibility="Visible" Source="Resources/maximize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_max"/>
|
35 |
<Image Visibility="Visible" Source="Resources/close-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_Close"/>
|
36 |
</StackPanel>
|
37 |
</Grid>
|
38 |
</Border>
|
39 |
<Grid Margin="0,0,0,0" Background="WhiteSmoke">
|
40 |
|
41 |
<ProgressBar Name="PartialDownloadProgressBar" HorizontalAlignment="Center" Height="30" VerticalAlignment="Top" Width="500" Margin="46,362,46,0"/>
|
42 |
<TextBlock Text="{Binding ElementName=PartialDownloadProgressBar, Path=Value, StringFormat={}{0:0}%}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,369,0,0"/>
|
43 |
<ListView HorizontalAlignment="Left" Height="236" Margin="46,103,0,0" VerticalAlignment="Top" Width="500" Name="downloadlist">
|
44 |
|
45 |
<ListView.View>
|
46 |
<GridView>
|
47 |
|
48 |
<GridViewColumn Width="310" Header="FileName" >
|
49 |
<GridViewColumn.CellTemplate>
|
50 |
<DataTemplate>
|
51 |
<StackPanel Orientation="Horizontal">
|
52 |
<Image Source="{Binding SIcon}" Width="24" Height="24"></Image>
|
53 |
<TextBlock Text="{Binding FileName}"/>
|
54 |
</StackPanel>
|
55 |
</DataTemplate>
|
56 |
|
57 |
</GridViewColumn.CellTemplate>
|
58 |
|
59 |
</GridViewColumn>
|
60 |
|
61 |
<GridViewColumn Header="Version" Width="179" DisplayMemberBinding="{Binding Version}" />
|
62 |
</GridView>
|
63 |
|
64 |
</ListView.View>
|
65 |
</ListView>
|
66 |
<Rectangle Fill="#FFFFFF" HorizontalAlignment="Center" Height="70" Stroke="LightGray" VerticalAlignment="Top" Width="596" Margin="0,1,0,0"/>
|
67 |
|
68 |
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Height="50" Width="400" Margin="15,15,15,15">
|
69 |
<Run FontWeight="Bold" FontStyle="Italic" FontSize="14" Text="MARKUS Update...." /><LineBreak />
|
70 |
<Run FontStyle="Italic" FontSize="12" Text=" 업데이트 중입니다. 잠시만 기다려주세요... " />
|
71 |
</TextBlock>
|
72 |
<Image HorizontalAlignment="Left" Height="64" Margin="525,4,0,0" VerticalAlignment="Top" Width="70" Source="Resources/UpdateImg.png"/>
|
73 |
</Grid>
|
74 |
</DockPanel>
|
75 |
</Border>
|
76 |
|
77 |
|
78 |
</Window>-->
|