📄 form1.designer.cs
字号:
this.label3.Location = new System.Drawing.Point(6, 59);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(50, 20);
this.label3.TabIndex = 5;
this.label3.Text = "label3";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.ForeColor = System.Drawing.Color.Red;
this.label2.Location = new System.Drawing.Point(6, 39);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(50, 20);
this.label2.TabIndex = 4;
this.label2.Text = "label2";
//
// button2
//
this.button2.Location = new System.Drawing.Point(214, 203);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(100, 28);
this.button2.TabIndex = 11;
this.button2.Text = "保存数据";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// saveFileDialog1
//
this.saveFileDialog1.DefaultExt = "txt";
this.saveFileDialog1.FileName = "未命名";
this.saveFileDialog1.Filter = "txt文本|*.txt";
this.saveFileDialog1.Title = "保存数据";
//
// button4
//
this.button4.Location = new System.Drawing.Point(320, 203);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(116, 28);
this.button4.TabIndex = 12;
this.button4.Text = "将配置写入注册表";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.trackBar1);
this.groupBox4.Location = new System.Drawing.Point(347, 124);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(360, 70);
this.groupBox4.TabIndex = 13;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "采样间隔时间设置";
//
// trackBar1
//
this.trackBar1.Location = new System.Drawing.Point(6, 19);
this.trackBar1.Maximum = 36;
this.trackBar1.Minimum = 4;
this.trackBar1.Name = "trackBar1";
this.trackBar1.Size = new System.Drawing.Size(348, 45);
this.trackBar1.TabIndex = 0;
this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.Both;
this.trackBar1.Value = 4;
this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.Color.Red;
this.label5.Location = new System.Drawing.Point(670, 206);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(31, 20);
this.label5.TabIndex = 7;
this.label5.Text = "1秒";
//
// zgc
//
this.zgc.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.zgc.Location = new System.Drawing.Point(53, 245);
this.zgc.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.zgc.Name = "zgc";
this.zgc.ScrollGrace = 0;
this.zgc.ScrollMaxX = 0;
this.zgc.ScrollMaxY = 0;
this.zgc.ScrollMaxY2 = 0;
this.zgc.ScrollMinX = 0;
this.zgc.ScrollMinY = 0;
this.zgc.ScrollMinY2 = 0;
this.zgc.Size = new System.Drawing.Size(654, 320);
this.zgc.TabIndex = 14;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.radioButton2);
this.groupBox1.Controls.Add(this.radioButton1);
this.groupBox1.Location = new System.Drawing.Point(219, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(121, 90);
this.groupBox1.TabIndex = 15;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "排序设置";
//
// vScrollBar1
//
this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.vScrollBar1.LargeChange = 1;
this.vScrollBar1.Location = new System.Drawing.Point(12, 245);
this.vScrollBar1.Maximum = 150;
this.vScrollBar1.Minimum = -50;
this.vScrollBar1.Name = "vScrollBar1";
this.vScrollBar1.Size = new System.Drawing.Size(19, 320);
this.vScrollBar1.TabIndex = 16;
this.vScrollBar1.Value = -10;
this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
//
// vScrollBar3
//
this.vScrollBar3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.vScrollBar3.LargeChange = 1;
this.vScrollBar3.Location = new System.Drawing.Point(31, 245);
this.vScrollBar3.Maximum = 150;
this.vScrollBar3.Minimum = -50;
this.vScrollBar3.Name = "vScrollBar3";
this.vScrollBar3.Size = new System.Drawing.Size(19, 320);
this.vScrollBar3.TabIndex = 18;
this.vScrollBar3.Value = 50;
this.vScrollBar3.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar3_Scroll);
//
// button5
//
this.button5.Location = new System.Drawing.Point(442, 203);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(141, 28);
this.button5.TabIndex = 19;
this.button5.Text = "复制即时温度到剪贴板";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// hScrollBar2
//
this.hScrollBar2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hScrollBar2.LargeChange = 1;
this.hScrollBar2.Location = new System.Drawing.Point(53, 569);
this.hScrollBar2.Maximum = 400;
this.hScrollBar2.Name = "hScrollBar2";
this.hScrollBar2.Size = new System.Drawing.Size(651, 18);
this.hScrollBar2.TabIndex = 21;
this.hScrollBar2.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar2_Scroll);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(719, 616);
this.Controls.Add(this.hScrollBar2);
this.Controls.Add(this.button5);
this.Controls.Add(this.vScrollBar3);
this.Controls.Add(this.vScrollBar1);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.zgc);
this.Controls.Add(this.label5);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.button4);
this.Controls.Add(this.button2);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.button3);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Form1";
this.Text = "串口温度采集器";
this.Load += new System.EventHandler(this.Form1_Load);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.groupBox2.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.IO.Ports.SerialPort serialPort1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.TrackBar trackBar1;
private System.Windows.Forms.Label label5;
private ZedGraph.ZedGraphControl zgc;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.VScrollBar vScrollBar1;
private System.Windows.Forms.VScrollBar vScrollBar3;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.HScrollBar hScrollBar2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -