Shuxia Ning
2024-08-28 1a8a81785470302fc7fbd6914a9df5d1094dac2a
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
54
55
namespace Verify
{
    public partial class WaitFormStyle1 : DevExpress.XtraWaitForm.WaitForm
    {
        public WaitFormStyle1()
        {
            InitializeComponent();
            this.progressPanel1.AutoHeight = true;
 
 
            //if (Verify.Localization.Current == Eventech.Model.eLocalizationType.ru)
            //{
            //    progressPanel1.Caption = "подожди... ";
            //}
            //else if (Verify.Localization.Current == Eventech.Model.eLocalizationType.enUS)
            //{
            //    progressPanel1.Caption = "please waiting......";
            //}
 
 
            //this.pictureBox2.Image = Verify.CorpSettingHelper.GetWaitingFormImage();
            //this.progressPanel1.AppearanceCaption.ForeColor = Verify.CorpSkinStyleHelper.SkinMainColor;
            //DevExpress.XtraSplashScreen.SplashScreenManager.ShowForm(this, typeof(WaitForm), true, true, true);
            //Verify.WaitFrmHelper.HideWaitForm();
            //DevExpress.XtraSplashScreen.SplashScreenManager.Default.SetWaitFormCaption("正在创建销售项目");
            //DevExpress.XtraSplashScreen.SplashScreenManager.Default.SetWaitFormDescription("请稍等待");
        }
 
 
 
        #region Overrides
 
        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);
        }
 
        #endregion
 
    }
}