124 lines
6.2 KiB
C#
124 lines
6.2 KiB
C#
|
|
namespace YiDa_WinForm
|
|||
|
|
{
|
|||
|
|
partial class ScrapUploadForm
|
|||
|
|
{
|
|||
|
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
private System.Windows.Forms.CheckBox checkBoxScrapUpload;
|
|||
|
|
private System.Windows.Forms.CheckBox checkBoxScrapTimedAlarm;
|
|||
|
|
private System.Windows.Forms.TextBox textBoxScrapInterval;
|
|||
|
|
private System.Windows.Forms.Label labelScrapInterval;
|
|||
|
|
private System.Windows.Forms.Button buttonConfirm;
|
|||
|
|
private System.Windows.Forms.Button buttonCancel;
|
|||
|
|
private System.Windows.Forms.Label labelTitle;
|
|||
|
|
|
|||
|
|
protected override void Dispose(bool disposing)
|
|||
|
|
{
|
|||
|
|
if (disposing && (components != null))
|
|||
|
|
{
|
|||
|
|
components.Dispose();
|
|||
|
|
}
|
|||
|
|
base.Dispose(disposing);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#region Windows 窗体设计器生成的代码
|
|||
|
|
|
|||
|
|
private void InitializeComponent()
|
|||
|
|
{
|
|||
|
|
this.checkBoxScrapUpload = new System.Windows.Forms.CheckBox();
|
|||
|
|
this.checkBoxScrapTimedAlarm = new System.Windows.Forms.CheckBox();
|
|||
|
|
this.textBoxScrapInterval = new System.Windows.Forms.TextBox();
|
|||
|
|
this.labelScrapInterval = new System.Windows.Forms.Label();
|
|||
|
|
this.buttonConfirm = new System.Windows.Forms.Button();
|
|||
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|||
|
|
this.labelTitle = new System.Windows.Forms.Label();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// checkBoxScrapUpload
|
|||
|
|
//
|
|||
|
|
this.checkBoxScrapUpload.AutoSize = true;
|
|||
|
|
this.checkBoxScrapUpload.Location = new System.Drawing.Point(29, 55);
|
|||
|
|
this.checkBoxScrapUpload.Name = "checkBoxScrapUpload";
|
|||
|
|
this.checkBoxScrapUpload.Size = new System.Drawing.Size(119, 19);
|
|||
|
|
this.checkBoxScrapUpload.TabIndex = 1;
|
|||
|
|
this.checkBoxScrapUpload.Text = "报废凭证上传"; // 仅修改文本,位置、样式和连杆窗体一致
|
|||
|
|
//
|
|||
|
|
// checkBoxScrapTimedAlarm
|
|||
|
|
//
|
|||
|
|
this.checkBoxScrapTimedAlarm.AutoSize = true;
|
|||
|
|
this.checkBoxScrapTimedAlarm.Location = new System.Drawing.Point(29, 85);
|
|||
|
|
this.checkBoxScrapTimedAlarm.Name = "checkBoxScrapTimedAlarm";
|
|||
|
|
this.checkBoxScrapTimedAlarm.Size = new System.Drawing.Size(119, 19);
|
|||
|
|
this.checkBoxScrapTimedAlarm.TabIndex = 2;
|
|||
|
|
this.checkBoxScrapTimedAlarm.Text = "定时上传报警"; // 和连杆窗体文本一致,结构一致
|
|||
|
|
this.checkBoxScrapTimedAlarm.CheckedChanged += new System.EventHandler(this.checkBoxScrapTimedAlarm_CheckedChanged);
|
|||
|
|
//
|
|||
|
|
// textBoxScrapInterval
|
|||
|
|
//
|
|||
|
|
this.textBoxScrapInterval.Location = new System.Drawing.Point(117, 110);
|
|||
|
|
this.textBoxScrapInterval.Name = "textBoxScrapInterval";
|
|||
|
|
this.textBoxScrapInterval.Size = new System.Drawing.Size(91, 25);
|
|||
|
|
this.textBoxScrapInterval.TabIndex = 4;
|
|||
|
|
this.textBoxScrapInterval.Text = "120"; // 默认值和连杆窗体一致
|
|||
|
|
//
|
|||
|
|
// labelScrapInterval
|
|||
|
|
//
|
|||
|
|
this.labelScrapInterval.AutoSize = true;
|
|||
|
|
this.labelScrapInterval.Location = new System.Drawing.Point(29, 115);
|
|||
|
|
this.labelScrapInterval.Name = "labelScrapInterval";
|
|||
|
|
this.labelScrapInterval.Size = new System.Drawing.Size(82, 15);
|
|||
|
|
this.labelScrapInterval.TabIndex = 3;
|
|||
|
|
this.labelScrapInterval.Text = "时间间隔:"; // 和连杆窗体文本一致
|
|||
|
|
//
|
|||
|
|
// buttonConfirm
|
|||
|
|
//
|
|||
|
|
this.buttonConfirm.Location = new System.Drawing.Point(80, 150);
|
|||
|
|
this.buttonConfirm.Name = "buttonConfirm";
|
|||
|
|
this.buttonConfirm.Size = new System.Drawing.Size(86, 23);
|
|||
|
|
this.buttonConfirm.TabIndex = 5;
|
|||
|
|
this.buttonConfirm.Text = "确定"; // 和连杆窗体文本一致
|
|||
|
|
this.buttonConfirm.Click += new System.EventHandler(this.buttonConfirm_Click);
|
|||
|
|
//
|
|||
|
|
// buttonCancel
|
|||
|
|
//
|
|||
|
|
this.buttonCancel.Location = new System.Drawing.Point(177, 150);
|
|||
|
|
this.buttonCancel.Name = "buttonCancel";
|
|||
|
|
this.buttonCancel.Size = new System.Drawing.Size(86, 23);
|
|||
|
|
this.buttonCancel.TabIndex = 6;
|
|||
|
|
this.buttonCancel.Text = "取消"; // 和连杆窗体文本一致
|
|||
|
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|||
|
|
//
|
|||
|
|
// labelTitle
|
|||
|
|
//
|
|||
|
|
this.labelTitle.AutoSize = true;
|
|||
|
|
this.labelTitle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
|
|||
|
|
this.labelTitle.Location = new System.Drawing.Point(23, 20);
|
|||
|
|
this.labelTitle.Name = "labelTitle";
|
|||
|
|
this.labelTitle.Size = new System.Drawing.Size(152, 27);
|
|||
|
|
this.labelTitle.TabIndex = 0;
|
|||
|
|
this.labelTitle.Text = "请选择上传类型"; // 和连杆窗体文本一致
|
|||
|
|
//
|
|||
|
|
// ScrapUploadForm
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(331, 200); // 尺寸和连杆窗体完全一致
|
|||
|
|
this.Controls.Add(this.labelTitle);
|
|||
|
|
this.Controls.Add(this.checkBoxScrapUpload);
|
|||
|
|
this.Controls.Add(this.checkBoxScrapTimedAlarm);
|
|||
|
|
this.Controls.Add(this.labelScrapInterval);
|
|||
|
|
this.Controls.Add(this.textBoxScrapInterval);
|
|||
|
|
this.Controls.Add(this.buttonConfirm);
|
|||
|
|
this.Controls.Add(this.buttonCancel);
|
|||
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; // 样式和连杆窗体一致
|
|||
|
|
this.MaximizeBox = false; // 和连杆窗体一致
|
|||
|
|
this.MinimizeBox = false; // 和连杆窗体一致
|
|||
|
|
this.Name = "ScrapUploadForm";
|
|||
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; // 和连杆窗体一致
|
|||
|
|
this.Text = "报废凭证上传"; // 仅修改窗体标题
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
this.PerformLayout();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|