프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / SPPIDConverter / Form / SPPIDSplashScreen.cs @ ca214bc3

이력 | 보기 | 이력해설 | 다운로드 (1020 Bytes)

1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Drawing;
6
using System.Text;
7
using System.Windows.Forms;
8
using DevExpress.XtraSplashScreen;
9

    
10
namespace Converter.SPPID
11
{
12
    public partial class SPPIDSplashScreen : DevExpress.XtraSplashScreen.SplashScreen
13
    {
14
        public SPPIDSplashScreen()
15
        {
16
            InitializeComponent();
17
            this.labelControl1.Text = "Copyright © 1998-" + DateTime.Now.Year.ToString();
18
        }
19

    
20
        #region Overrides
21

    
22
        public override void ProcessCommand(Enum cmd, object arg)
23
        {
24
            base.ProcessCommand(cmd, arg);
25
            SplashScreenCommand command = (SplashScreenCommand)cmd;
26
            if (command == SplashScreenCommand.SetProgress)
27
            {
28
                int pos = (int)arg;
29
                //progressBarControl.Position = pos;
30
            }
31
        }
32

    
33
        #endregion
34

    
35
        public enum SplashScreenCommand
36
        {
37
            SetProgress,
38
        }
39
    }
40
}
클립보드 이미지 추가 (최대 크기: 500 MB)