프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / SmartUpdate / MainWindow.xaml @ c4a4d59c

이력 | 보기 | 이력해설 | 다운로드 (4.85 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:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
        xmlns:local="clr-namespace:SmartUpdate"
7
        mc:Ignorable="d"
8
        WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"
9
        Title="MARKUS SmartUpdate" Height="450" Width="600">
10

    
11
        
12
        <Border Name="main" BorderThickness="1" BorderBrush="LightGray" Margin="0">
13
        <DockPanel>
14
            <Border Name="border" DockPanel.Dock="Top" Height="25" Background="#FF2A579A">
15
                <Grid>
16
                    <TextBlock Text="Markus SmartUpdate" Foreground="White" Margin="100,0,100,4" HorizontalAlignment="Center" VerticalAlignment="Bottom" x:Name="TitleText"/>
17
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Stretch">
18
                        <Image Visibility="Visible" Source="Resources/minimize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_min"/>
19
                        <Image Visibility="Visible" Source="Resources/maximize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_max"/>
20
                        <Image Visibility="Visible" Source="Resources/close-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_Close"/>
21
                    </StackPanel>
22
                </Grid>
23
            </Border>
24
            <Grid Margin="0,0,0,0" Background="WhiteSmoke">
25
               
26
                <!--<ProgressBar Name="TotalDownloadProgressBar" HorizontalAlignment="Center" Height="30" VerticalAlignment="Top" Width="500" Margin="46,330,46,0" />-->
27
                <ProgressBar Name="PartialDownloadProgressBar" HorizontalAlignment="Center" Height="30" VerticalAlignment="Top" Width="500" Margin="46,362,46,0"/>
28
                <TextBlock Text="{Binding ElementName=PartialDownloadProgressBar, Path=Value, StringFormat={}{0:0}%}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,369,0,0"/>
29
                <ListView  HorizontalAlignment="Left" Height="236" Margin="46,103,0,0" VerticalAlignment="Top" Width="500" Name="downloadlist">
30

    
31
                    <ListView.View>
32
                        <GridView>
33
                            <!--<GridViewColumn Header="Num" Width="40" DisplayMemberBinding="{Binding Num}" />-->
34

    
35
                            <GridViewColumn Width="310"  Header="FileName" >
36
                                <GridViewColumn.CellTemplate>
37
                                    <DataTemplate>
38
                                        <StackPanel Orientation="Horizontal">
39
                                            <Image Source="{Binding SIcon}" Width="24" Height="24"></Image>
40
                                            <!--<Image Source="{Binding SIcon}" Width="24" Height="24"></Image>-->
41
                                            <TextBlock Text="{Binding FileName}"/>
42
                                        </StackPanel>
43
                                    </DataTemplate>
44
                                    
45
                                </GridViewColumn.CellTemplate>
46
                                
47
                            </GridViewColumn>
48
                            
49
                           <!-- <GridViewColumn Header="FileName" Width="260"  DisplayMemberBinding="{Binding FileName}" /> -->
50
                            
51
                            <GridViewColumn Header="Version" Width="179" DisplayMemberBinding="{Binding Version}" />
52
                            <!--<GridViewColumn Header="Date" Width="100" DisplayMemberBinding="{Binding Date}" />-->
53
                        </GridView>
54
                        
55
                    </ListView.View>
56
                </ListView>
57
                <Rectangle Fill="#FFFFFF" HorizontalAlignment="Center" Height="70" Stroke="LightGray" VerticalAlignment="Top" Width="596" Margin="0,1,0,0"/>
58

    
59
                <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Height="50" Width="400" Margin="15,15,15,15">
60
            <Run FontWeight="Bold" FontStyle="Italic" FontSize="14" Text="MARKUS Update...." /><LineBreak />
61
            <Run FontStyle="Italic"  FontSize="12" Text="    업데이트 중입니다. 잠시만 기다려주세요... " />
62
                </TextBlock>
63
                <Image HorizontalAlignment="Left" Height="64" Margin="525,4,0,0" VerticalAlignment="Top" Width="70" Source="Resources/UpdateImg.png"/>
64

    
65
                <!--<Separator Margin="0,0,0,0"/>-->
66
                <!-- <TextBox FontSize="18" Text ="MARKUS SmartUpdate" Margin="200,67,200,0" HorizontalAlignment="Center"  VerticalAlignment="Top"/>-->
67
            </Grid>
68
        </DockPanel>
69
    </Border>
70

    
71

    
72
</Window>
클립보드 이미지 추가 (최대 크기: 500 MB)