lixiaojun
2024-10-23 1902e2c2332610fcaf310db19f98e7e9f819d0a6
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
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    public partial class WaitFormStyle : DevExpress.XtraWaitForm.WaitForm
    {
        /// <summary>
        /// 
        /// </summary>
        public WaitFormStyle()
        {
            InitializeComponent();
            this.progressPanel1.AutoHeight = true;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public override void SetCaption(string caption)
        {
            base.SetCaption(caption);
            this.progressPanel1.Caption = caption;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public override void SetDescription(string description)
        {
            base.SetDescription(description);
            this.progressPanel1.Description = description;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public override void ProcessCommand(Enum cmd, object arg)
        {
            if (arg != null)
            {
                SetCaption(arg.ToString());
            }
            base.ProcessCommand(cmd, arg);
        }
 
 
    }
}