Shuxia Ning
2024-07-17 fd681339c81201ed6fb3303647ecab89e3e6c0c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
namespace IStation.Win
{
    public partial class WaitFormStyle2 : DevExpress.XtraWaitForm.WaitForm
    {
        public WaitFormStyle2()
        {
            InitializeComponent();
 
            //if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.ru)
            //{
            //    progressPanel1.Caption = "подожди... ";           
            //}
            //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.enUS)
            //{
            //    progressPanel1.Caption = "please waiting......"; 
            //}
            //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.es)
            //{
            //    progressPanel1.Caption = "Por favor espere.......";
            //}
            //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.ko)
            //{
            //    progressPanel1.Caption = "잠시만 기다리세요 로드 중...";
            //}
 
            //this.labelControlCorpName.Text = IStation.GlobeParas.GetCorpFullName(IStation.Win.Localization.Current);
 
            //this.labelControlVersion.ForeColor =   this.labelControlCorpName.ForeColor =  
            //this.progressPanel1.AppearanceCaption.ForeColor = IStation.Win.CorpSkinStyleHelper.SkinMainColor;
            //this.pictureBox2.Image = IStation.Win.CorpSettingHelper.GetWaitingFormImage();
        }
 
 
 
        public override void SetCaption(string caption)
        {
            base.SetCaption(caption);
            this.progressPanel1.Caption = caption;
        }
        public override void SetDescription(string description)
        {
            base.SetDescription(description);
            this.progressPanel1.Description = description;
        }
        public override void ProcessCommand(Enum cmd, object arg)
        {
            if (arg != null)
                SetCaption(arg.ToString());
 
            base.ProcessCommand(cmd, arg);
        }
    }
}