|
@@ -29,10 +29,10 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
|
- System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
|
- System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
- System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
@@ -178,6 +178,7 @@
|
|
|
this.显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.隐藏ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
+ this.button17 = new System.Windows.Forms.Button();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.拍图.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pBImage)).BeginInit();
|
|
@@ -921,6 +922,7 @@
|
|
|
//
|
|
|
// groupBox1
|
|
|
//
|
|
|
+ this.groupBox1.Controls.Add(this.button17);
|
|
|
this.groupBox1.Controls.Add(this.button27);
|
|
|
this.groupBox1.Controls.Add(this.button2);
|
|
|
this.groupBox1.Controls.Add(this.button23);
|
|
@@ -1006,15 +1008,15 @@
|
|
|
//
|
|
|
// button27
|
|
|
//
|
|
|
- this.button27.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
- this.button27.Location = new System.Drawing.Point(4, 114);
|
|
|
+ this.button27.Font = new System.Drawing.Font("Microsoft YaHei", 12F);
|
|
|
+ this.button27.Location = new System.Drawing.Point(4, 58);
|
|
|
this.button27.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.button27.Name = "button27";
|
|
|
- this.button27.Size = new System.Drawing.Size(39, 143);
|
|
|
+ this.button27.Size = new System.Drawing.Size(39, 125);
|
|
|
this.button27.TabIndex = 79;
|
|
|
this.button27.Text = "连接能谱";
|
|
|
this.button27.UseVisualStyleBackColor = true;
|
|
|
- this.button27.Click += new System.EventHandler(this.button27_Click);
|
|
|
+ this.button27.Click += new System.EventHandler(this.btnConn_Click);
|
|
|
//
|
|
|
// 拍图
|
|
|
//
|
|
@@ -1190,7 +1192,7 @@
|
|
|
//
|
|
|
// button28
|
|
|
//
|
|
|
- this.button28.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
+ this.button28.Font = new System.Drawing.Font("Microsoft YaHei", 12F);
|
|
|
this.button28.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
|
this.button28.Location = new System.Drawing.Point(501, 147);
|
|
|
this.button28.Margin = new System.Windows.Forms.Padding(2);
|
|
@@ -1203,7 +1205,7 @@
|
|
|
//
|
|
|
// btnTest
|
|
|
//
|
|
|
- this.btnTest.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
+ this.btnTest.Font = new System.Drawing.Font("Microsoft YaHei", 12F);
|
|
|
this.btnTest.Location = new System.Drawing.Point(499, 26);
|
|
|
this.btnTest.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.btnTest.Name = "btnTest";
|
|
@@ -1226,7 +1228,7 @@
|
|
|
//
|
|
|
// button29
|
|
|
//
|
|
|
- this.button29.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
+ this.button29.Font = new System.Drawing.Font("Microsoft YaHei", 12F);
|
|
|
this.button29.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
|
this.button29.Location = new System.Drawing.Point(501, 293);
|
|
|
this.button29.Margin = new System.Windows.Forms.Padding(2);
|
|
@@ -1696,25 +1698,25 @@
|
|
|
//
|
|
|
// chart1
|
|
|
//
|
|
|
- chartArea1.Name = "ChartArea1";
|
|
|
- this.chart1.ChartAreas.Add(chartArea1);
|
|
|
- legend1.Alignment = System.Drawing.StringAlignment.Center;
|
|
|
- legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
|
|
|
- legend1.Name = "Legend1";
|
|
|
- this.chart1.Legends.Add(legend1);
|
|
|
+ chartArea3.Name = "ChartArea1";
|
|
|
+ this.chart1.ChartAreas.Add(chartArea3);
|
|
|
+ legend3.Alignment = System.Drawing.StringAlignment.Center;
|
|
|
+ legend3.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
|
|
|
+ legend3.Name = "Legend1";
|
|
|
+ this.chart1.Legends.Add(legend3);
|
|
|
this.chart1.Location = new System.Drawing.Point(554, 31);
|
|
|
this.chart1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.chart1.Name = "chart1";
|
|
|
- series1.ChartArea = "ChartArea1";
|
|
|
- series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
- series1.Legend = "Legend1";
|
|
|
- series1.Name = "Series1";
|
|
|
- series2.ChartArea = "ChartArea1";
|
|
|
- series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
- series2.Legend = "Legend1";
|
|
|
- series2.Name = "Series2";
|
|
|
- this.chart1.Series.Add(series1);
|
|
|
- this.chart1.Series.Add(series2);
|
|
|
+ series5.ChartArea = "ChartArea1";
|
|
|
+ series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series5.Legend = "Legend1";
|
|
|
+ series5.Name = "Series1";
|
|
|
+ series6.ChartArea = "ChartArea1";
|
|
|
+ series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series6.Legend = "Legend1";
|
|
|
+ series6.Name = "Series2";
|
|
|
+ this.chart1.Series.Add(series5);
|
|
|
+ this.chart1.Series.Add(series6);
|
|
|
this.chart1.Size = new System.Drawing.Size(593, 352);
|
|
|
this.chart1.TabIndex = 3;
|
|
|
this.chart1.Text = "chart1";
|
|
@@ -1779,6 +1781,18 @@
|
|
|
this.退出ToolStripMenuItem.Text = "退出";
|
|
|
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
|
|
//
|
|
|
+ // button17
|
|
|
+ //
|
|
|
+ this.button17.Font = new System.Drawing.Font("Microsoft YaHei", 12F);
|
|
|
+ this.button17.Location = new System.Drawing.Point(4, 225);
|
|
|
+ this.button17.Margin = new System.Windows.Forms.Padding(2);
|
|
|
+ this.button17.Name = "button17";
|
|
|
+ this.button17.Size = new System.Drawing.Size(39, 126);
|
|
|
+ this.button17.TabIndex = 79;
|
|
|
+ this.button17.Text = "释放控制权";
|
|
|
+ this.button17.UseVisualStyleBackColor = true;
|
|
|
+ this.button17.Click += new System.EventHandler(this.button27_Click);
|
|
|
+ //
|
|
|
// Form1
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
@@ -1786,7 +1800,7 @@
|
|
|
this.AutoScroll = true;
|
|
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|
|
- this.ClientSize = new System.Drawing.Size(1186, 697);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1187, 869);
|
|
|
this.Controls.Add(this.拍图);
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
this.Controls.Add(this.groupBox2);
|
|
@@ -1955,6 +1969,7 @@
|
|
|
private System.Windows.Forms.ToolStripMenuItem 显示ToolStripMenuItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem 隐藏ToolStripMenuItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
|
|
+ private System.Windows.Forms.Button button17;
|
|
|
}
|
|
|
}
|
|
|
|