Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     this.zhGroupBox1   = new GroupBox();
     this.lblSendStatus = new Label();
     this.prgStatus     = new ProgressBar();
     this.label3        = new ZhLabel();
     this.zhGroupBox1.SuspendLayout();
     base.SuspendLayout();
     this.zhGroupBox1.Controls.Add(this.lblSendStatus);
     this.zhGroupBox1.Controls.Add(this.prgStatus);
     this.zhGroupBox1.Location    = new System.Drawing.Point(8, 7);
     this.zhGroupBox1.Name        = "zhGroupBox1";
     this.zhGroupBox1.Size        = new System.Drawing.Size(523, 265);
     this.zhGroupBox1.TabIndex    = 24;
     this.zhGroupBox1.TabStop     = false;
     this.lblSendStatus.AutoSize  = true;
     this.lblSendStatus.BackColor = System.Drawing.Color.Transparent;
     this.lblSendStatus.Font      = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.lblSendStatus.Location  = new System.Drawing.Point(18, 29);
     this.lblSendStatus.Name      = "lblSendStatus";
     this.lblSendStatus.Size      = new System.Drawing.Size(76, 16);
     this.lblSendStatus.TabIndex  = 2;
     this.lblSendStatus.Text      = "发送状态";
     this.prgStatus.Location      = new System.Drawing.Point(18, 56);
     this.prgStatus.Name          = "prgStatus";
     this.prgStatus.Size          = new System.Drawing.Size(485, 23);
     this.prgStatus.TabIndex      = 1;
     this.label3.BackColor        = System.Drawing.Color.Transparent;
     this.label3.Location         = new System.Drawing.Point(21, 118);
     this.label3.Name             = "label3";
     this.label3.Size             = new System.Drawing.Size(98, 19);
     this.label3.TabIndex         = 23;
     this.label3.TextAlign        = TextAlaginType.Right;
     base.AutoScaleDimensions     = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode           = AutoScaleMode.Font;
     base.ClientSize = new System.Drawing.Size(537, 276);
     base.Controls.Add(this.zhGroupBox1);
     base.Controls.Add(this.label3);
     base.FormBorderStyle = FormBorderStyle.FixedSingle;
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "formCloudSendData";
     base.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "云发送数据";
     base.FormClosing    += new FormClosingEventHandler(this.formCloudSendData_FormClosing);
     base.Load           += new EventHandler(this.formCloudSendData_Load);
     this.zhGroupBox1.ResumeLayout(false);
     this.zhGroupBox1.PerformLayout();
     base.ResumeLayout(false);
 }
Ejemplo n.º 2
0
 private void InitializeComponent()
 {
     this.components           = new Container();
     this.pgbStatus            = new ProgressBar();
     this.lblSendStatus        = new Label();
     this.lblTotalFrame        = new Label();
     this.label3               = new ZhLabel();
     this.tmrDaemon            = new System.Windows.Forms.Timer(this.components);
     this.label_Info_PortInfo  = new Label();
     this.label_Info_OffOn     = new Label();
     this.label_Info_Luminance = new Label();
     this.label_Info_Scantype  = new Label();
     this.label_info_Panel     = new Label();
     this.label4_OffOn         = new Label();
     this.label3_Lumiance      = new Label();
     this.label2_Scantype      = new Label();
     this.label1_PanelParam    = new Label();
     this.label_PortInfo       = new Label();
     this.lblCurrentFrame      = new Label();
     this.zhGroupBox1          = new GroupBox();
     this.zhGroupBox1.SuspendLayout();
     base.SuspendLayout();
     this.pgbStatus.Location            = new System.Drawing.Point(18, 56);
     this.pgbStatus.Name                = "pgbStatus";
     this.pgbStatus.Size                = new System.Drawing.Size(485, 23);
     this.pgbStatus.TabIndex            = 1;
     this.lblSendStatus.AutoSize        = true;
     this.lblSendStatus.BackColor       = System.Drawing.Color.Transparent;
     this.lblSendStatus.Font            = new System.Drawing.Font("宋体", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.lblSendStatus.Location        = new System.Drawing.Point(18, 29);
     this.lblSendStatus.Name            = "lblSendStatus";
     this.lblSendStatus.Size            = new System.Drawing.Size(143, 16);
     this.lblSendStatus.TabIndex        = 2;
     this.lblSendStatus.Text            = "label_NowStatus";
     this.lblTotalFrame.AutoSize        = true;
     this.lblTotalFrame.BackColor       = System.Drawing.Color.Transparent;
     this.lblTotalFrame.Location        = new System.Drawing.Point(414, 38);
     this.lblTotalFrame.Name            = "lblTotalFrame";
     this.lblTotalFrame.Size            = new System.Drawing.Size(11, 12);
     this.lblTotalFrame.TabIndex        = 3;
     this.lblTotalFrame.Text            = "0";
     this.label3.BackColor              = System.Drawing.Color.Transparent;
     this.label3.Location               = new System.Drawing.Point(22, 119);
     this.label3.Name                   = "label3";
     this.label3.Size                   = new System.Drawing.Size(98, 19);
     this.label3.TabIndex               = 4;
     this.label3.TextAlign              = TextAlaginType.Right;
     this.tmrDaemon.Interval            = 1000;
     this.tmrDaemon.Tick               += new EventHandler(this.tmrDaemon_Tick);
     this.label_Info_PortInfo.ForeColor = System.Drawing.Color.Blue;
     this.label_Info_PortInfo.Location  = new System.Drawing.Point(83, 85);
     this.label_Info_PortInfo.Name      = "label_Info_PortInfo";
     this.label_Info_PortInfo.Size      = new System.Drawing.Size(344, 39);
     this.label_Info_PortInfo.TabIndex  = 23;
     this.label_Info_PortInfo.Visible   = false;
     this.label_Info_OffOn.Location     = new System.Drawing.Point(116, 230);
     this.label_Info_OffOn.Name         = "label_Info_OffOn";
     this.label_Info_OffOn.Size         = new System.Drawing.Size(307, 12);
     this.label_Info_OffOn.TabIndex     = 22;
     this.label_Info_OffOn.Visible      = false;
     this.label_Info_Luminance.Location = new System.Drawing.Point(79, 209);
     this.label_Info_Luminance.Name     = "label_Info_Luminance";
     this.label_Info_Luminance.Size     = new System.Drawing.Size(344, 12);
     this.label_Info_Luminance.TabIndex = 21;
     this.label_Info_Luminance.Visible  = false;
     this.label_Info_Scantype.Location  = new System.Drawing.Point(79, 188);
     this.label_Info_Scantype.Name      = "label_Info_Scantype";
     this.label_Info_Scantype.Size      = new System.Drawing.Size(344, 12);
     this.label_Info_Scantype.TabIndex  = 20;
     this.label_Info_Scantype.Visible   = false;
     this.label_info_Panel.Location     = new System.Drawing.Point(79, 127);
     this.label_info_Panel.Name         = "label_info_Panel";
     this.label_info_Panel.Size         = new System.Drawing.Size(344, 54);
     this.label_info_Panel.TabIndex     = 19;
     this.label_info_Panel.Visible      = false;
     this.label4_OffOn.AutoSize         = true;
     this.label4_OffOn.Font             = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.label4_OffOn.Location         = new System.Drawing.Point(20, 230);
     this.label4_OffOn.Name             = "label4_OffOn";
     this.label4_OffOn.Size             = new System.Drawing.Size(70, 12);
     this.label4_OffOn.TabIndex         = 18;
     this.label4_OffOn.Text             = "自动开关机";
     this.label4_OffOn.Visible          = false;
     this.label3_Lumiance.AutoSize      = true;
     this.label3_Lumiance.Font          = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.label3_Lumiance.Location      = new System.Drawing.Point(20, 209);
     this.label3_Lumiance.Name          = "label3_Lumiance";
     this.label3_Lumiance.Size          = new System.Drawing.Size(57, 12);
     this.label3_Lumiance.TabIndex      = 17;
     this.label3_Lumiance.Text          = "亮度调节";
     this.label3_Lumiance.Visible       = false;
     this.label2_Scantype.AutoSize      = true;
     this.label2_Scantype.Font          = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.label2_Scantype.Location      = new System.Drawing.Point(20, 188);
     this.label2_Scantype.Name          = "label2_Scantype";
     this.label2_Scantype.Size          = new System.Drawing.Size(57, 12);
     this.label2_Scantype.TabIndex      = 16;
     this.label2_Scantype.Text          = "扫描方式";
     this.label2_Scantype.Visible       = false;
     this.label1_PanelParam.AutoSize    = true;
     this.label1_PanelParam.Font        = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.label1_PanelParam.Location    = new System.Drawing.Point(20, 127);
     this.label1_PanelParam.Name        = "label1_PanelParam";
     this.label1_PanelParam.Size        = new System.Drawing.Size(57, 12);
     this.label1_PanelParam.TabIndex    = 15;
     this.label1_PanelParam.Text        = "基本屏参";
     this.label1_PanelParam.Visible     = false;
     this.label_PortInfo.AutoSize       = true;
     this.label_PortInfo.Font           = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold);
     this.label_PortInfo.ForeColor      = System.Drawing.Color.Blue;
     this.label_PortInfo.Location       = new System.Drawing.Point(20, 85);
     this.label_PortInfo.Name           = "label_PortInfo";
     this.label_PortInfo.Size           = new System.Drawing.Size(57, 12);
     this.label_PortInfo.TabIndex       = 5;
     this.label_PortInfo.Text           = "通讯方式";
     this.label_PortInfo.Visible        = false;
     this.lblCurrentFrame.AutoSize      = true;
     this.lblCurrentFrame.Location      = new System.Drawing.Point(344, 38);
     this.lblCurrentFrame.Name          = "lblCurrentFrame";
     this.lblCurrentFrame.Size          = new System.Drawing.Size(11, 12);
     this.lblCurrentFrame.TabIndex      = 4;
     this.lblCurrentFrame.Text          = "0";
     this.zhGroupBox1.Controls.Add(this.label_Info_PortInfo);
     this.zhGroupBox1.Controls.Add(this.lblSendStatus);
     this.zhGroupBox1.Controls.Add(this.label_Info_OffOn);
     this.zhGroupBox1.Controls.Add(this.lblTotalFrame);
     this.zhGroupBox1.Controls.Add(this.label_Info_Luminance);
     this.zhGroupBox1.Controls.Add(this.pgbStatus);
     this.zhGroupBox1.Controls.Add(this.label_Info_Scantype);
     this.zhGroupBox1.Controls.Add(this.lblCurrentFrame);
     this.zhGroupBox1.Controls.Add(this.label_info_Panel);
     this.zhGroupBox1.Controls.Add(this.label_PortInfo);
     this.zhGroupBox1.Controls.Add(this.label4_OffOn);
     this.zhGroupBox1.Controls.Add(this.label1_PanelParam);
     this.zhGroupBox1.Controls.Add(this.label3_Lumiance);
     this.zhGroupBox1.Controls.Add(this.label2_Scantype);
     this.zhGroupBox1.Location = new System.Drawing.Point(8, 7);
     this.zhGroupBox1.Name     = "zhGroupBox1";
     this.zhGroupBox1.Size     = new System.Drawing.Size(523, 265);
     this.zhGroupBox1.TabIndex = 22;
     this.zhGroupBox1.TabStop  = false;
     base.AutoScaleDimensions  = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode        = AutoScaleMode.Font;
     base.ClientSize           = new System.Drawing.Size(537, 276);
     base.Controls.Add(this.zhGroupBox1);
     base.Controls.Add(this.label3);
     base.FormBorderStyle = FormBorderStyle.FixedSingle;
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "formSendData";
     base.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "发送数据";
     base.FormClosing    += new FormClosingEventHandler(this.formSendData_FormClosing);
     base.Load           += new EventHandler(this.formSendData_Load);
     this.zhGroupBox1.ResumeLayout(false);
     this.zhGroupBox1.PerformLayout();
     base.ResumeLayout(false);
 }