duheng
2025-03-24 6e1dd6f75cd7265f549a8b9e4d77ff5d88da9651
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
namespace Yw.WinFrmUI
{
    partial class TipForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Windows Form Designer generated code
 
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new Container();
            ComponentResourceManager resources = new ComponentResourceManager(typeof(TipForm));
            labText = new LabelControl();
            img32 = new ImageCollection(components);
            timer1 = new System.Windows.Forms.Timer(components);
            ((ISupportInitialize)img32).BeginInit();
            SuspendLayout();
            // 
            // labText
            // 
            labText.AllowHtmlString = true;
            labText.Appearance.BackColor = Color.White;
            labText.Appearance.FontSizeDelta = 1;
            labText.Appearance.Options.UseBackColor = true;
            labText.Appearance.Options.UseFont = true;
            labText.Appearance.Options.UseTextOptions = true;
            labText.Appearance.TextOptions.HAlignment = HorzAlignment.Center;
            labText.Appearance.TextOptions.VAlignment = VertAlignment.Center;
            labText.AutoSizeMode = LabelAutoSizeMode.None;
            labText.Dock = DockStyle.Fill;
            labText.ImageAlignToText = ImageAlignToText.LeftCenter;
            labText.ImageOptions.ImageIndex = 0;
            labText.ImageOptions.Images = img32;
            labText.ImageOptions.SvgImageSize = new Size(24, 24);
            labText.Location = new Point(1, 1);
            labText.Name = "labText";
            labText.Size = new Size(298, 78);
            labText.TabIndex = 0;
            // 
            // img32
            // 
            img32.ImageSize = new Size(32, 32);
            img32.ImageStream = (ImageCollectionStreamer)resources.GetObject("img32.ImageStream");
            img32.Images.SetKeyName(0, "info32.png");
            img32.Images.SetKeyName(1, "success32.png");
            img32.Images.SetKeyName(2, "warning32.png");
            img32.Images.SetKeyName(3, "error32.png");
            // 
            // timer1
            // 
            timer1.Interval = 2000;
            timer1.Tick += timer_Tick;
            // 
            // TipForm
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(300, 80);
            Controls.Add(labText);
            FormBorderStyle = FormBorderStyle.None;
            Name = "TipForm";
            Padding = new Padding(1);
            StartPosition = FormStartPosition.CenterScreen;
            TopMost = true;
            ((ISupportInitialize)img32).EndInit();
            ResumeLayout(false);
        }
 
        #endregion
 
        private DevExpress.XtraEditors.LabelControl labText;
        private System.Windows.Forms.Timer timer1;
        private DevExpress.Utils.ImageCollection img32;
    }
}