统一各车型车身数据窗体标题栏样式

将 EHV、EH3、EHY 三种车型左右侧车身测量数据窗体的标题栏调整为统一的简洁样式:
- 去除标题栏四周的白色边框,将 Telerik RadTitleBar 的内层边框与填充图元颜色统一设为背景深色(44,109,124)
- 去除标题栏 logo 图标,移除 label2 的图片资源引用
- 标题改为居中显示的白色纯文字(labTitle),统一定位到(911,7)并嵌入 radTitleBar1
- 为缺少 labTitle 的 FEHVRightCarData 补充居中白色标题标签
- 移除多余的 RootElement.ControlBounds 设置

涉及文件:
- FEHVLeftCarData / FEHVRightCarData
- FEH3LeftCarData / FEH3RightCarData
- FEHYLeftCarData / FEHYRightCarData
(含对应 .designer.cs 与 .resx)
This commit is contained in:
zhengxuan.zhang
2026-07-15 14:45:49 +08:00
parent d5b05785cf
commit 54c98eea81
15 changed files with 9343 additions and 10139 deletions
@@ -31,8 +31,6 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FEHVRightCarData));
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
this.label2 = new System.Windows.Forms.Label();
this.labTitle = new System.Windows.Forms.Label();
this.labVIN = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.tmrRefreshData = new System.Windows.Forms.Timer(this.components);
@@ -62,8 +60,6 @@
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Controls.Add(this.label2);
this.radTitleBar1.Controls.Add(this.labTitle);
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
@@ -79,29 +75,6 @@
this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "右侧车身测量数据";
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(875, -5);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(20, 14, 20, 14);
this.label2.Size = new System.Drawing.Size(40, 50);
this.label2.TabIndex = 1;
//
// labTitle
//
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(911, 7);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(164, 25);
this.labTitle.TabIndex = 0;
this.labTitle.Text = "右侧车身测量数据";
//
// labVIN
//
this.labVIN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -474,8 +447,6 @@
#endregion
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label labTitle;
private System.Windows.Forms.PictureBox pbRightCar;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.Button btnRefresh;