📄 frmsetting.cs
字号:
this.pncoordinatecolor.TextAlign = System.Drawing.ContentAlignment.TopLeft;
this.pncoordinatecolor.TextColor = System.Drawing.Color.Black;
this.pncoordinatecolor.TextFont = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular);
//
// pndatacolor
//
this.pndatacolor.Caption = "";
this.pndatacolor.Image = null;
this.pndatacolor.Location = new System.Drawing.Point(80, 19);
this.pndatacolor.Name = "pndatacolor";
this.pndatacolor.Size = new System.Drawing.Size(24, 13);
this.pndatacolor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Normal;
this.pndatacolor.TextAlign = System.Drawing.ContentAlignment.TopLeft;
this.pndatacolor.TextColor = System.Drawing.Color.Black;
this.pndatacolor.TextFont = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular);
//
// rbtdatacolor
//
this.rbtdatacolor.Location = new System.Drawing.Point(9, 18);
this.rbtdatacolor.Name = "rbtdatacolor";
this.rbtdatacolor.Size = new System.Drawing.Size(62, 15);
this.rbtdatacolor.TabIndex = 80;
this.rbtdatacolor.Text = "数据";
this.rbtdatacolor.Click += new System.EventHandler(this.btdatacolorset_Click);
//
// colorBox
//
this.colorBox.BackColor = System.Drawing.SystemColors.Window;
this.colorBox.Blue = 0;
this.colorBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular);
this.colorBox.Green = 0;
this.colorBox.Location = new System.Drawing.Point(117, 18);
this.colorBox.Name = "colorBox";
this.colorBox.Red = 0;
this.colorBox.Size = new System.Drawing.Size(116, 120);
this.colorBox.TabIndex = 66;
this.colorBox.ColorChanged += new System.EventHandler(this.colorBox_ColorChanged);
//
// label11
//
this.label11.Location = new System.Drawing.Point(7, 1);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(67, 16);
this.label11.Text = "颜色设置";
//
// rbtregioncolor
//
this.rbtregioncolor.Location = new System.Drawing.Point(9, 78);
this.rbtregioncolor.Name = "rbtregioncolor";
this.rbtregioncolor.Size = new System.Drawing.Size(75, 15);
this.rbtregioncolor.TabIndex = 106;
this.rbtregioncolor.Text = "选择区域";
this.rbtregioncolor.Click += new System.EventHandler(this.btregioncolor_Click);
//
// tabPage4
//
this.tabPage4.AutoScroll = true;
this.tabPage4.Controls.Add(this.label6);
this.tabPage4.Controls.Add(this.nUpDownChannels);
this.tabPage4.Controls.Add(this.label4);
this.tabPage4.Controls.Add(this.nUpDownTimePoints);
this.tabPage4.Controls.Add(this.label5);
this.tabPage4.Location = new System.Drawing.Point(0, 0);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(240, 217);
this.tabPage4.Text = "新建";
//
// label6
//
this.label6.Location = new System.Drawing.Point(7, 1);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(67, 16);
this.label6.Text = "数据格式";
//
// nUpDownChannels
//
this.nUpDownChannels.Increment = new decimal(new int[] {
256,
0,
0,
0});
this.nUpDownChannels.Location = new System.Drawing.Point(80, 44);
this.nUpDownChannels.Maximum = new decimal(new int[] {
8192,
0,
0,
0});
this.nUpDownChannels.Minimum = new decimal(new int[] {
256,
0,
0,
0});
this.nUpDownChannels.Name = "nUpDownChannels";
this.nUpDownChannels.Size = new System.Drawing.Size(100, 22);
this.nUpDownChannels.TabIndex = 43;
this.nUpDownChannels.Value = new decimal(new int[] {
1024,
0,
0,
0});
this.nUpDownChannels.LostFocus += new System.EventHandler(this.nUpDownTimePoints_LostFocus);
this.nUpDownChannels.GotFocus += new System.EventHandler(this.nUpDownChannels_GotFocus);
//
// label4
//
this.label4.Location = new System.Drawing.Point(7, 50);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(76, 16);
this.label4.Text = "采集的道数";
//
// nUpDownTimePoints
//
this.nUpDownTimePoints.Increment = new decimal(new int[] {
10,
0,
0,
0});
this.nUpDownTimePoints.Location = new System.Drawing.Point(80, 16);
this.nUpDownTimePoints.Maximum = new decimal(new int[] {
30,
0,
0,
0});
this.nUpDownTimePoints.Name = "nUpDownTimePoints";
this.nUpDownTimePoints.Size = new System.Drawing.Size(100, 22);
this.nUpDownTimePoints.TabIndex = 42;
this.nUpDownTimePoints.Value = new decimal(new int[] {
10,
0,
0,
0});
this.nUpDownTimePoints.LostFocus += new System.EventHandler(this.nUpDownTimePoints_LostFocus);
this.nUpDownTimePoints.GotFocus += new System.EventHandler(this.nUpDownTimePoints_GotFocus);
//
// label5
//
this.label5.Location = new System.Drawing.Point(7, 22);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(67, 16);
this.label5.Text = "时间点数";
//
// tabPage2
//
this.tabPage2.AutoScroll = true;
this.tabPage2.Controls.Add(this.label8);
this.tabPage2.Controls.Add(this.cBoxSerialNum);
this.tabPage2.Controls.Add(this.cBoxBaudRate);
this.tabPage2.Controls.Add(this.label7);
this.tabPage2.Controls.Add(this.label12);
this.tabPage2.Location = new System.Drawing.Point(0, 0);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(240, 217);
this.tabPage2.Text = "传输";
//
// label8
//
this.label8.Location = new System.Drawing.Point(7, 1);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(67, 16);
this.label8.Text = "串口设置";
//
// cBoxSerialNum
//
this.cBoxSerialNum.Location = new System.Drawing.Point(80, 20);
this.cBoxSerialNum.Name = "cBoxSerialNum";
this.cBoxSerialNum.Size = new System.Drawing.Size(100, 22);
this.cBoxSerialNum.TabIndex = 65;
//
// cBoxBaudRate
//
this.cBoxBaudRate.Items.Add("9600");
this.cBoxBaudRate.Items.Add("19200");
this.cBoxBaudRate.Items.Add("38400");
this.cBoxBaudRate.Items.Add("56000");
this.cBoxBaudRate.Items.Add("57600");
this.cBoxBaudRate.Items.Add("115200");
this.cBoxBaudRate.Location = new System.Drawing.Point(80, 45);
this.cBoxBaudRate.Name = "cBoxBaudRate";
this.cBoxBaudRate.Size = new System.Drawing.Size(100, 22);
this.cBoxBaudRate.TabIndex = 61;
//
// label7
//
this.label7.Location = new System.Drawing.Point(7, 22);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(76, 16);
this.label7.Text = "串口号";
//
// label12
//
this.label12.Location = new System.Drawing.Point(7, 50);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(76, 16);
this.label12.Text = "串口波特率";
//
// tabPage1
//
this.tabPage1.AutoScroll = true;
this.tabPage1.Controls.Add(this.rbtbyCount);
this.tabPage1.Controls.Add(this.nUpDownCount);
this.tabPage1.Controls.Add(this.label3);
this.tabPage1.Controls.Add(this.nUpDownTime);
this.tabPage1.Controls.Add(this.label2);
this.tabPage1.Controls.Add(this.rbtbyHand);
this.tabPage1.Controls.Add(this.rbtbyTime);
this.tabPage1.Controls.Add(this.label1);
this.tabPage1.Location = new System.Drawing.Point(0, 0);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(240, 217);
this.tabPage1.Text = "采集";
//
// rbtbyCount
//
this.rbtbyCount.Location = new System.Drawing.Point(155, 21);
this.rbtbyCount.Name = "rbtbyCount";
this.rbtbyCount.Size = new System.Drawing.Size(62, 20);
this.rbtbyCount.TabIndex = 2;
this.rbtbyCount.TabStop = false;
this.rbtbyCount.Text = "定数";
this.rbtbyCount.CheckedChanged += new System.EventHandler(this.rbtbyCount_CheckedChanged);
//
// nUpDownCount
//
this.nUpDownCount.Increment = new decimal(new int[] {
100,
0,
0,
0});
this.nUpDownCount.Location = new System.Drawing.Point(95, 76);
this.nUpDownCount.Maximum = new decimal(new int[] {
819200,
0,
0,
0});
this.nUpDownCount.Name = "nUpDownCount";
this.nUpDownCount.Size = new System.Drawing.Size(100, 22);
this.nUpDownCount.TabIndex = 4;
this.nUpDownCount.Value = new decimal(new int[] {
1000,
0,
0,
0});
this.nUpDownCount.LostFocus += new System.EventHandler(this.nUpDownCount_LostFocus);
this.nUpDownCount.GotFocus += new System.EventHandler(this.nUpDownCount_GotFocus);
//
// label3
//
this.label3.Location = new System.Drawing.Point(7, 82);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(91, 16);
this.label3.Text = "自动停机计数";
//
// nUpDownTime
//
this.nUpDownTime.Increment = new decimal(new int[] {
10,
0,
0,
0});
this.nUpDownTime.Location = new System.Drawing.Point(95, 48);
this.nUpDownTime.Maximum = new decimal(new int[] {
99999,
0,
0,
0});
this.nUpDownTime.Name = "nUpDownTime";
this.nUpDownTime.Size = new System.Drawing.Size(100, 22);
this.nUpDownTime.TabIndex = 3;
this.nUpDownTime.Value = new decimal(new int[] {
60,
0,
0,
0});
this.nUpDownTime.LostFocus += new System.EventHandler(this.nUpDownTime_LostFocus);
this.nUpDownTime.GotFocus += new System.EventHandler(this.nUpDownTime_GotFocus);
//
// label2
//
this.label2.Location = new System.Drawing.Point(7, 54);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(91, 16);
this.label2.Text = "自动停机时间";
//
// rbtbyHand
//
this.rbtbyHand.Checked = true;
this.rbtbyHand.Location = new System.Drawing.Point(7, 20);
this.rbtbyHand.Name = "rbtbyHand";
this.rbtbyHand.Size = new System.Drawing.Size(57, 20);
this.rbtbyHand.TabIndex = 0;
this.rbtbyHand.Text = "手动";
this.rbtbyHand.CheckedChanged += new System.EventHandler(this.rbtbyHand_CheckedChanged);
//
// rbtbyTime
//
this.rbtbyTime.Location = new System.Drawing.Point(83, 21);
this.rbtbyTime.Name = "rbtbyTime";
this.rbtbyTime.Size = new System.Drawing.Size(57, 20);
this.rbtbyTime.TabIndex = 1;
this.rbtbyTime.TabStop = false;
this.rbtbyTime.Text = "定时";
this.rbtbyTime.CheckedChanged += new System.EventHandler(this.rbtbyTime_CheckedChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(7, 1);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(67, 16);
this.label1.Text = "停机方式";
//
// tabControl
//
this.tabControl.Controls.Add(this.tabPage1);
this.tabControl.Controls.Add(this.tabPage2);
this.tabControl.Controls.Add(this.tabPage4);
this.tabControl.Controls.Add(this.tabPage3);
this.tabControl.Dock = System.Windows.Forms.DockStyle.None;
this.tabControl.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular);
this.tabControl.Location = new System.Drawing.Point(0, 26);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(240, 242);
this.tabControl.TabIndex = 0;
//
// FrmSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.panel6);
this.Controls.Add(this.tabControl);
this.Menu = this.mainMenu;
this.MinimizeBox = false;
this.Name = "FrmSetting";
this.Text = "多道分析系统";
this.Resize += new System.EventHandler(this.FrmSetting_Resize);
this.Closing += new System.ComponentModel.CancelEventHandler(this.FrmSetting_Closing);
this.Load += new System.EventHandler(this.FrmSetting_Load);
this.panel6.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabControl.ResumeLayout(false);
this.ResumeLayout(false);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -