From d5a2d7e66f9c8046bd88b8269e61aac5a2a265e2 Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 10:49:55 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/Yw.WinFrmUI.Core/01-tip/TipForm.Designer.cs | 91 ++++++++++++++++++++++----------------------- 1 files changed, 45 insertions(+), 46 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Core/01-tip/TipForm.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Core/01-tip/TipForm.Designer.cs index 2a4dcf5..5ec72a8 100644 --- a/WinFrmUI/Yw.WinFrmUI.Core/01-tip/TipForm.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Core/01-tip/TipForm.Designer.cs @@ -28,63 +28,62 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TipForm)); - this.labText = new DevExpress.XtraEditors.LabelControl(); - this.img32 = new DevExpress.Utils.ImageCollection(this.components); - this.timer1 = new System.Windows.Forms.Timer(this.components); - ((System.ComponentModel.ISupportInitialize)(this.img32)).BeginInit(); - this.SuspendLayout(); + 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 // - this.labText.AllowHtmlString = true; - this.labText.Appearance.BackColor = System.Drawing.Color.White; - this.labText.Appearance.FontSizeDelta = 1; - this.labText.Appearance.Options.UseBackColor = true; - this.labText.Appearance.Options.UseFont = true; - this.labText.Appearance.Options.UseTextOptions = true; - this.labText.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.labText.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; - this.labText.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labText.Dock = System.Windows.Forms.DockStyle.Fill; - this.labText.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; - this.labText.ImageOptions.ImageIndex = 0; - this.labText.ImageOptions.Images = this.img32; - this.labText.ImageOptions.SvgImageSize = new System.Drawing.Size(24, 24); - this.labText.Location = new System.Drawing.Point(1, 1); - this.labText.Name = "labText"; - this.labText.Size = new System.Drawing.Size(298, 78); - this.labText.TabIndex = 0; + 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 // - this.img32.ImageSize = new System.Drawing.Size(32, 32); - this.img32.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img32.ImageStream"))); - this.img32.Images.SetKeyName(0, "info32.png"); - this.img32.Images.SetKeyName(1, "success32.png"); - this.img32.Images.SetKeyName(2, "error32.png"); - this.img32.Images.SetKeyName(3, "warning32.png"); + 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 // - this.timer1.Interval = 2000; - this.timer1.Tick += new System.EventHandler(this.timer_Tick); + timer1.Interval = 2000; + timer1.Tick += timer_Tick; // - // NormalTipFrm + // TipForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(300, 80); - this.Controls.Add(this.labText); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "NormalTipFrm"; - this.Padding = new System.Windows.Forms.Padding(1); - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.TopMost = true; - ((System.ComponentModel.ISupportInitialize)(this.img32)).EndInit(); - this.ResumeLayout(false); - + 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 -- Gitblit v1.9.3