프로젝트

일반

사용자정보

개정판 9d23566d

ID9d23566d157ef76fafee3b2f0475dd9db1474d00
상위 cf2671a6
하위 f729ef4e, 31e021f2

이지연이(가) 5년 이상 전에 추가함

issue #681 스플래시 스크린

Change-Id: I9f8fa2403dfd9459259f43eb90353d3d668f5c66

차이점 보기:

KCOM/Views/SplashScreenWindow.xaml
1
<Window x:Class="KCOM.Views.SplashScreenWindow"
2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
        WindowStartupLocation="CenterScreen"
5
        WindowStyle="None"
6
        AllowsTransparency="True" Topmost="True"
7
        Height="252"
8
        Width="496" Background="Transparent">
9

  
10
    <Grid>
11

  
12
        <Image Source="/KCOM;component/Resources/Images/MenuImage_New/splash.png" VerticalAlignment="Top" HorizontalAlignment="Left"/>
13
        <ProgressBar HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="18.1" x:Name="progressBar" Width="496" Background="Transparent" BorderThickness="0" 
14
                      Foreground="LightSlateGray"  Opacity="0.5"/>
15
        <TextBlock HorizontalAlignment="Left" VerticalAlignment="Bottom" TextAlignment="Center" x:Name="splashText" Foreground="AntiqueWhite"  FontWeight="ExtraBold" xml:space="preserve" Height="17.5">   Loading...</TextBlock>
16
    </Grid>
17
</Window>
KCOM/Views/SplashScreenWindow.xaml.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6
using System.Windows;
7
using System.Windows.Controls;
8
using System.Windows.Data;
9
using System.Windows.Documents;
10
using System.Windows.Input;
11
using System.Windows.Media;
12
using System.Windows.Media.Imaging;
13
using System.Windows.Shapes;
14

  
15
namespace KCOM.Views
16
{
17
    /// <summary>
18
    /// SplashScreenWindow.xaml에 대한 상호 작용 논리
19
    /// </summary>
20
    public partial class SplashScreenWindow : Window
21
    {
22
        public SplashScreenWindow()
23
        {
24
            InitializeComponent();
25
        }
26

  
27
        public double Progress
28
        {
29
            get { return progressBar.Value; }
30
            set { progressBar.Value = value; }
31
        }
32
    }
33
}

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)