namespace Gs.DevApp.DevFrm.QC
{
partial class DefectCodeQc
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
///
/// Clean up any resources being used.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
// 初始化窗体及控件的方法(自动生成,用于布局和属性设置)
private void InitializeComponent()
{
// 1. 创建"缺陷代码"控件实例
// DefectCode 是自定义控件类型,构造函数传入"QC基础资料"(可能作为控件标题或数据源标识)
this.defectCode1 = new Gs.DevApp.DevFrm.QC.DefectCode("QC基础资料");
// 2. 暂停窗体的布局逻辑
// 避免在频繁修改控件属性时反复刷新界面,提升初始化效率
this.SuspendLayout();
//
// 3. 配置 defectCode1 控件的属性
//
// 设置控件停靠方式:填充整个父容器(即当前窗体)
this.defectCode1.Dock = System.Windows.Forms.DockStyle.Fill;
// 设置控件在窗体中的起始位置(左上角坐标:X=0,Y=0)
this.defectCode1.Location = new System.Drawing.Point(0, 0);
// 设置控件的名称(用于标识控件,可在设计器或代码中引用)
this.defectCode1.Name = "defectCode1";
// 设置控件的初始大小(宽度1001像素,高度568像素)
this.defectCode1.Size = new System.Drawing.Size(1001, 568);
// 设置控件的Tab键顺序(按Tab键时,此控件是第1个被选中的控件,索引从0开始)
this.defectCode1.TabIndex = 0;
//
// 4. 配置当前窗体(DefectCodeDic)的属性
//
// 设置窗体的自动缩放尺寸(字体缩放基准:宽度8F,高度18F)
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
// 设置窗体的自动缩放模式:按字体大小缩放(当系统字体变化时,窗体和控件会按比例缩放)
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
// 设置窗体客户区的大小(不包含标题栏、边框,宽度1001像素,高度568像素)
this.ClientSize = new System.Drawing.Size(1001, 568);
// 将 defectCode1 控件添加到窗体的控件集合中(使其显示在窗体上)
this.Controls.Add(this.defectCode1);
// 设置窗体的名称(用于标识窗体,可在代码中引用)
this.Name = "DefectCodeDic";
// 设置窗体标题栏显示的文本
this.Text = "字典-QC信息";
// 5. 恢复窗体的布局逻辑
// 应用所有属性设置并刷新界面,使控件按配置显示
this.ResumeLayout(false);
}
#endregion
private DefectCode defectCode1;
}
}