zhangjiaxin 4 лет назад
Родитель
Сommit
20ea629d52

+ 76 - 106
HOZProject/FormHOZMain.Designer.cs

@@ -38,7 +38,6 @@
             this.textBox2 = new System.Windows.Forms.TextBox();
             this.plPrarInfo = new System.Windows.Forms.Panel();
             this.listmsg = new System.Windows.Forms.ListBox();
-            this.pbImage = new System.Windows.Forms.PictureBox();
             this.plSEM = new System.Windows.Forms.Panel();
             this.lblStateMessage = new System.Windows.Forms.Label();
             this.lblFlowContent = new System.Windows.Forms.Label();
@@ -46,6 +45,7 @@
             this.label1 = new System.Windows.Forms.Label();
             this.plLeftContent = new System.Windows.Forms.Panel();
             this.plTop = new System.Windows.Forms.Panel();
+            this.pbImage = new System.Windows.Forms.PictureBox();
             this.pbPause = new System.Windows.Forms.PictureBox();
             this.pbStart = new System.Windows.Forms.PictureBox();
             this.pbMax = new System.Windows.Forms.PictureBox();
@@ -61,10 +61,10 @@
             this.plMain.SuspendLayout();
             this.plFill.SuspendLayout();
             this.groupBox1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.pbImage)).BeginInit();
             this.plSEM.SuspendLayout();
             this.plLeft.SuspendLayout();
             this.plTop.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.pbImage)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbPause)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbStart)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbMax)).BeginInit();
@@ -89,10 +89,9 @@
             this.plMain.Controls.Add(this.plFill);
             this.plMain.Controls.Add(this.plLeft);
             this.plMain.Controls.Add(this.plTop);
-            this.plMain.Location = new System.Drawing.Point(16, 15);
-            this.plMain.Margin = new System.Windows.Forms.Padding(4);
+            this.plMain.Location = new System.Drawing.Point(12, 12);
             this.plMain.Name = "plMain";
-            this.plMain.Size = new System.Drawing.Size(1401, 895);
+            this.plMain.Size = new System.Drawing.Size(1051, 716);
             this.plMain.TabIndex = 1;
             // 
             // plFill
@@ -106,10 +105,9 @@
             this.plFill.Controls.Add(this.listmsg);
             this.plFill.Controls.Add(this.pbImage);
             this.plFill.Controls.Add(this.plSEM);
-            this.plFill.Location = new System.Drawing.Point(203, 108);
-            this.plFill.Margin = new System.Windows.Forms.Padding(4);
+            this.plFill.Location = new System.Drawing.Point(152, 86);
             this.plFill.Name = "plFill";
-            this.plFill.Size = new System.Drawing.Size(1192, 788);
+            this.plFill.Size = new System.Drawing.Size(894, 630);
             this.plFill.TabIndex = 5;
             // 
             // groupBox1
@@ -120,11 +118,9 @@
             this.groupBox1.Controls.Add(this.comboBox1);
             this.groupBox1.Controls.Add(this.textBox2);
             this.groupBox1.ForeColor = System.Drawing.Color.White;
-            this.groupBox1.Location = new System.Drawing.Point(909, 4);
-            this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
+            this.groupBox1.Location = new System.Drawing.Point(682, 3);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
-            this.groupBox1.Size = new System.Drawing.Size(267, 125);
+            this.groupBox1.Size = new System.Drawing.Size(200, 100);
             this.groupBox1.TabIndex = 26;
             this.groupBox1.TabStop = false;
             this.groupBox1.Text = "测试设置状态";
@@ -132,20 +128,18 @@
             // 
             // textBox1
             // 
-            this.textBox1.Location = new System.Drawing.Point(8, 25);
-            this.textBox1.Margin = new System.Windows.Forms.Padding(4);
+            this.textBox1.Location = new System.Drawing.Point(6, 20);
             this.textBox1.Name = "textBox1";
-            this.textBox1.Size = new System.Drawing.Size(132, 25);
+            this.textBox1.Size = new System.Drawing.Size(100, 21);
             this.textBox1.TabIndex = 21;
             this.textBox1.Text = "分析点名称";
             // 
             // button1
             // 
             this.button1.ForeColor = System.Drawing.Color.Black;
-            this.button1.Location = new System.Drawing.Point(159, 25);
-            this.button1.Margin = new System.Windows.Forms.Padding(4);
+            this.button1.Location = new System.Drawing.Point(119, 20);
             this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(100, 91);
+            this.button1.Size = new System.Drawing.Size(75, 73);
             this.button1.TabIndex = 24;
             this.button1.Text = "测试";
             this.button1.UseVisualStyleBackColor = true;
@@ -157,18 +151,16 @@
             this.comboBox1.Items.AddRange(new object[] {
             "True",
             "False"});
-            this.comboBox1.Location = new System.Drawing.Point(8, 91);
-            this.comboBox1.Margin = new System.Windows.Forms.Padding(4);
+            this.comboBox1.Location = new System.Drawing.Point(6, 73);
             this.comboBox1.Name = "comboBox1";
-            this.comboBox1.Size = new System.Drawing.Size(132, 23);
+            this.comboBox1.Size = new System.Drawing.Size(100, 20);
             this.comboBox1.TabIndex = 25;
             // 
             // textBox2
             // 
-            this.textBox2.Location = new System.Drawing.Point(8, 59);
-            this.textBox2.Margin = new System.Windows.Forms.Padding(4);
+            this.textBox2.Location = new System.Drawing.Point(6, 47);
             this.textBox2.Name = "textBox2";
-            this.textBox2.Size = new System.Drawing.Size(132, 25);
+            this.textBox2.Size = new System.Drawing.Size(100, 21);
             this.textBox2.TabIndex = 22;
             this.textBox2.Text = "编号";
             // 
@@ -177,9 +169,8 @@
             this.plPrarInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
             this.plPrarInfo.ForeColor = System.Drawing.Color.Transparent;
             this.plPrarInfo.Location = new System.Drawing.Point(0, 0);
-            this.plPrarInfo.Margin = new System.Windows.Forms.Padding(4);
             this.plPrarInfo.Name = "plPrarInfo";
-            this.plPrarInfo.Size = new System.Drawing.Size(291, 125);
+            this.plPrarInfo.Size = new System.Drawing.Size(218, 100);
             this.plPrarInfo.TabIndex = 2;
             this.plPrarInfo.Visible = false;
             // 
@@ -187,27 +178,14 @@
             // 
             this.listmsg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.listmsg.FormattingEnabled = true;
-            this.listmsg.ItemHeight = 15;
-            this.listmsg.Location = new System.Drawing.Point(328, 118);
-            this.listmsg.Margin = new System.Windows.Forms.Padding(3, 1, 3, 1);
+            this.listmsg.ItemHeight = 12;
+            this.listmsg.Location = new System.Drawing.Point(246, 94);
+            this.listmsg.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1);
             this.listmsg.Name = "listmsg";
-            this.listmsg.Size = new System.Drawing.Size(635, 244);
+            this.listmsg.Size = new System.Drawing.Size(477, 196);
             this.listmsg.TabIndex = 18;
             this.listmsg.Visible = false;
             // 
-            // pbImage
-            // 
-            this.pbImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
-            this.pbImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.pbImage.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.pbImage.Location = new System.Drawing.Point(0, 0);
-            this.pbImage.Margin = new System.Windows.Forms.Padding(4);
-            this.pbImage.Name = "pbImage";
-            this.pbImage.Size = new System.Drawing.Size(1192, 717);
-            this.pbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
-            this.pbImage.TabIndex = 20;
-            this.pbImage.TabStop = false;
-            // 
             // plSEM
             // 
             this.plSEM.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
@@ -215,10 +193,9 @@
             this.plSEM.Controls.Add(this.lblStateMessage);
             this.plSEM.Controls.Add(this.lblFlowContent);
             this.plSEM.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.plSEM.Location = new System.Drawing.Point(0, 717);
-            this.plSEM.Margin = new System.Windows.Forms.Padding(4);
+            this.plSEM.Location = new System.Drawing.Point(0, 573);
             this.plSEM.Name = "plSEM";
-            this.plSEM.Size = new System.Drawing.Size(1192, 71);
+            this.plSEM.Size = new System.Drawing.Size(894, 57);
             this.plSEM.TabIndex = 19;
             // 
             // lblStateMessage
@@ -227,10 +204,9 @@
             this.lblStateMessage.BackColor = System.Drawing.Color.Transparent;
             this.lblStateMessage.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblStateMessage.ForeColor = System.Drawing.Color.Black;
-            this.lblStateMessage.Location = new System.Drawing.Point(814, 19);
-            this.lblStateMessage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblStateMessage.Location = new System.Drawing.Point(610, 15);
             this.lblStateMessage.Name = "lblStateMessage";
-            this.lblStateMessage.Size = new System.Drawing.Size(379, 30);
+            this.lblStateMessage.Size = new System.Drawing.Size(284, 24);
             this.lblStateMessage.TabIndex = 1;
             this.lblStateMessage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
@@ -240,10 +216,9 @@
             this.lblFlowContent.BackColor = System.Drawing.Color.Transparent;
             this.lblFlowContent.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblFlowContent.ForeColor = System.Drawing.Color.Black;
-            this.lblFlowContent.Location = new System.Drawing.Point(33, 26);
-            this.lblFlowContent.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblFlowContent.Location = new System.Drawing.Point(25, 21);
             this.lblFlowContent.Name = "lblFlowContent";
-            this.lblFlowContent.Size = new System.Drawing.Size(0, 23);
+            this.lblFlowContent.Size = new System.Drawing.Size(0, 19);
             this.lblFlowContent.TabIndex = 0;
             // 
             // plLeft
@@ -253,10 +228,9 @@
             this.plLeft.Controls.Add(this.label1);
             this.plLeft.Controls.Add(this.plLeftContent);
             this.plLeft.Dock = System.Windows.Forms.DockStyle.Left;
-            this.plLeft.Location = new System.Drawing.Point(0, 100);
-            this.plLeft.Margin = new System.Windows.Forms.Padding(4);
+            this.plLeft.Location = new System.Drawing.Point(0, 80);
             this.plLeft.Name = "plLeft";
-            this.plLeft.Size = new System.Drawing.Size(194, 795);
+            this.plLeft.Size = new System.Drawing.Size(146, 636);
             this.plLeft.TabIndex = 4;
             // 
             // label1
@@ -265,10 +239,9 @@
             this.label1.BackColor = System.Drawing.Color.Transparent;
             this.label1.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold);
             this.label1.ForeColor = System.Drawing.Color.Black;
-            this.label1.Location = new System.Drawing.Point(43, 2);
-            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label1.Location = new System.Drawing.Point(32, 2);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(79, 19);
+            this.label1.Size = new System.Drawing.Size(63, 16);
             this.label1.TabIndex = 1;
             this.label1.Text = "分析点列表";
             // 
@@ -280,10 +253,9 @@
             this.plLeftContent.AutoScroll = true;
             this.plLeftContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
             this.plLeftContent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
-            this.plLeftContent.Location = new System.Drawing.Point(7, 26);
-            this.plLeftContent.Margin = new System.Windows.Forms.Padding(4);
+            this.plLeftContent.Location = new System.Drawing.Point(5, 21);
             this.plLeftContent.Name = "plLeftContent";
-            this.plLeftContent.Size = new System.Drawing.Size(178, 765);
+            this.plLeftContent.Size = new System.Drawing.Size(134, 612);
             this.plLeftContent.TabIndex = 0;
             // 
             // plTop
@@ -304,23 +276,33 @@
             this.plTop.Controls.Add(this.pbInit);
             this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
             this.plTop.Location = new System.Drawing.Point(0, 0);
-            this.plTop.Margin = new System.Windows.Forms.Padding(4);
             this.plTop.Name = "plTop";
-            this.plTop.Size = new System.Drawing.Size(1401, 100);
+            this.plTop.Size = new System.Drawing.Size(1051, 80);
             this.plTop.TabIndex = 3;
             // 
+            // pbImage
+            // 
+            this.pbImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+            this.pbImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+            this.pbImage.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.pbImage.Location = new System.Drawing.Point(0, 0);
+            this.pbImage.Name = "pbImage";
+            this.pbImage.Size = new System.Drawing.Size(894, 573);
+            this.pbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
+            this.pbImage.TabIndex = 20;
+            this.pbImage.TabStop = false;
+            // 
             // pbPause
             // 
-            this.pbPause.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pbPause.BackgroundImage")));
+            this.pbPause.BackgroundImage = global::HOZProject.Properties.Resources.Report;
             this.pbPause.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbPause.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbPause.Location = new System.Drawing.Point(633, 6);
-            this.pbPause.Margin = new System.Windows.Forms.Padding(4);
+            this.pbPause.Location = new System.Drawing.Point(445, 4);
             this.pbPause.Name = "pbPause";
-            this.pbPause.Size = new System.Drawing.Size(91, 89);
+            this.pbPause.Size = new System.Drawing.Size(68, 71);
             this.pbPause.TabIndex = 8;
             this.pbPause.TabStop = false;
-            this.pbPause.Visible = false;
+            this.pbPause.Click += new System.EventHandler(this.pbPause_Click);
             // 
             // pbStart
             // 
@@ -328,10 +310,9 @@
             this.pbStart.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pbStart.BackgroundImage")));
             this.pbStart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbStart.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbStart.Location = new System.Drawing.Point(495, 5);
-            this.pbStart.Margin = new System.Windows.Forms.Padding(4);
+            this.pbStart.Location = new System.Drawing.Point(371, 4);
             this.pbStart.Name = "pbStart";
-            this.pbStart.Size = new System.Drawing.Size(91, 89);
+            this.pbStart.Size = new System.Drawing.Size(68, 71);
             this.pbStart.TabIndex = 8;
             this.pbStart.TabStop = false;
             this.pbStart.Click += new System.EventHandler(this.pbStart_Click);
@@ -345,10 +326,9 @@
             this.pbMax.BackgroundImage = global::HOZProject.Properties.Resources.Max_2_;
             this.pbMax.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbMax.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbMax.Location = new System.Drawing.Point(1309, 5);
-            this.pbMax.Margin = new System.Windows.Forms.Padding(4);
+            this.pbMax.Location = new System.Drawing.Point(982, 4);
             this.pbMax.Name = "pbMax";
-            this.pbMax.Size = new System.Drawing.Size(37, 39);
+            this.pbMax.Size = new System.Drawing.Size(28, 31);
             this.pbMax.TabIndex = 7;
             this.pbMax.TabStop = false;
             this.pbMax.Click += new System.EventHandler(this.pbMax_Click);
@@ -362,10 +342,9 @@
             this.pbMin.BackgroundImage = global::HOZProject.Properties.Resources.Min_2_;
             this.pbMin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbMin.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbMin.Location = new System.Drawing.Point(1264, 5);
-            this.pbMin.Margin = new System.Windows.Forms.Padding(4);
+            this.pbMin.Location = new System.Drawing.Point(948, 4);
             this.pbMin.Name = "pbMin";
-            this.pbMin.Size = new System.Drawing.Size(37, 39);
+            this.pbMin.Size = new System.Drawing.Size(28, 31);
             this.pbMin.TabIndex = 7;
             this.pbMin.TabStop = false;
             this.pbMin.Click += new System.EventHandler(this.pbMin_Click);
@@ -379,10 +358,9 @@
             this.pbClose.BackgroundImage = global::HOZProject.Properties.Resources.exit_2_;
             this.pbClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbClose.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbClose.Location = new System.Drawing.Point(1355, 5);
-            this.pbClose.Margin = new System.Windows.Forms.Padding(4);
+            this.pbClose.Location = new System.Drawing.Point(1016, 4);
             this.pbClose.Name = "pbClose";
-            this.pbClose.Size = new System.Drawing.Size(37, 39);
+            this.pbClose.Size = new System.Drawing.Size(28, 31);
             this.pbClose.TabIndex = 7;
             this.pbClose.TabStop = false;
             this.pbClose.Click += new System.EventHandler(this.pbClose_Click);
@@ -395,10 +373,9 @@
             this.pbImportTemplateFile.BackgroundImage = global::HOZProject.Properties.Resources.ImportConfigFile_3_;
             this.pbImportTemplateFile.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbImportTemplateFile.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbImportTemplateFile.Location = new System.Drawing.Point(299, 5);
-            this.pbImportTemplateFile.Margin = new System.Windows.Forms.Padding(4);
+            this.pbImportTemplateFile.Location = new System.Drawing.Point(224, 4);
             this.pbImportTemplateFile.Name = "pbImportTemplateFile";
-            this.pbImportTemplateFile.Size = new System.Drawing.Size(91, 89);
+            this.pbImportTemplateFile.Size = new System.Drawing.Size(68, 71);
             this.pbImportTemplateFile.TabIndex = 6;
             this.pbImportTemplateFile.TabStop = false;
             this.pbImportTemplateFile.Click += new System.EventHandler(this.pbImportTemplateFile_Click);
@@ -409,10 +386,9 @@
             this.pbLog.BackgroundImage = global::HOZProject.Properties.Resources.Log_3_;
             this.pbLog.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbLog.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbLog.Location = new System.Drawing.Point(396, 5);
-            this.pbLog.Margin = new System.Windows.Forms.Padding(4);
+            this.pbLog.Location = new System.Drawing.Point(297, 4);
             this.pbLog.Name = "pbLog";
-            this.pbLog.Size = new System.Drawing.Size(91, 89);
+            this.pbLog.Size = new System.Drawing.Size(68, 71);
             this.pbLog.TabIndex = 6;
             this.pbLog.TabStop = false;
             this.pbLog.Click += new System.EventHandler(this.pbLog_Click);
@@ -423,10 +399,9 @@
             this.pbSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pbSave.BackgroundImage")));
             this.pbSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbSave.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbSave.Location = new System.Drawing.Point(203, 5);
-            this.pbSave.Margin = new System.Windows.Forms.Padding(4);
+            this.pbSave.Location = new System.Drawing.Point(152, 4);
             this.pbSave.Name = "pbSave";
-            this.pbSave.Size = new System.Drawing.Size(91, 89);
+            this.pbSave.Size = new System.Drawing.Size(68, 71);
             this.pbSave.TabIndex = 4;
             this.pbSave.TabStop = false;
             this.pbSave.Click += new System.EventHandler(this.pbSave_Click);
@@ -437,10 +412,9 @@
             this.pbOpen.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pbOpen.BackgroundImage")));
             this.pbOpen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbOpen.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbOpen.Location = new System.Drawing.Point(7, 5);
-            this.pbOpen.Margin = new System.Windows.Forms.Padding(4);
+            this.pbOpen.Location = new System.Drawing.Point(5, 4);
             this.pbOpen.Name = "pbOpen";
-            this.pbOpen.Size = new System.Drawing.Size(91, 89);
+            this.pbOpen.Size = new System.Drawing.Size(68, 71);
             this.pbOpen.TabIndex = 3;
             this.pbOpen.TabStop = false;
             this.pbOpen.Click += new System.EventHandler(this.pbOpen_Click);
@@ -450,10 +424,9 @@
             this.pbNew.BackgroundImage = global::HOZProject.Properties.Resources.New;
             this.pbNew.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbNew.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbNew.Location = new System.Drawing.Point(7, 5);
-            this.pbNew.Margin = new System.Windows.Forms.Padding(4);
+            this.pbNew.Location = new System.Drawing.Point(5, 4);
             this.pbNew.Name = "pbNew";
-            this.pbNew.Size = new System.Drawing.Size(91, 89);
+            this.pbNew.Size = new System.Drawing.Size(68, 71);
             this.pbNew.TabIndex = 3;
             this.pbNew.TabStop = false;
             this.pbNew.Visible = false;
@@ -466,10 +439,9 @@
             this.pbStop.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbStop.Cursor = System.Windows.Forms.Cursors.Hand;
             this.pbStop.Enabled = false;
-            this.pbStop.Location = new System.Drawing.Point(495, 4);
-            this.pbStop.Margin = new System.Windows.Forms.Padding(4);
+            this.pbStop.Location = new System.Drawing.Point(371, 3);
             this.pbStop.Name = "pbStop";
-            this.pbStop.Size = new System.Drawing.Size(91, 89);
+            this.pbStop.Size = new System.Drawing.Size(68, 71);
             this.pbStop.TabIndex = 8;
             this.pbStop.TabStop = false;
             this.pbStop.Visible = false;
@@ -483,25 +455,23 @@
             this.pbInit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pbInit.BackgroundImage")));
             this.pbInit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
             this.pbInit.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.pbInit.Location = new System.Drawing.Point(104, 5);
-            this.pbInit.Margin = new System.Windows.Forms.Padding(4);
+            this.pbInit.Location = new System.Drawing.Point(78, 4);
             this.pbInit.Name = "pbInit";
-            this.pbInit.Size = new System.Drawing.Size(91, 89);
+            this.pbInit.Size = new System.Drawing.Size(68, 71);
             this.pbInit.TabIndex = 5;
             this.pbInit.TabStop = false;
             this.pbInit.Click += new System.EventHandler(this.pbInit_Click);
             // 
             // FormHOZMain
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(179)))), ((int)(((byte)(254)))));
-            this.ClientSize = new System.Drawing.Size(1433, 916);
+            this.ClientSize = new System.Drawing.Size(1075, 733);
             this.ControlBox = false;
             this.Controls.Add(this.plMain);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
-            this.Margin = new System.Windows.Forms.Padding(4);
-            this.MinimumSize = new System.Drawing.Size(1365, 849);
+            this.MinimumSize = new System.Drawing.Size(1024, 679);
             this.Name = "FormHOZMain";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "FormHOZMain";
@@ -514,12 +484,12 @@
             this.plFill.ResumeLayout(false);
             this.groupBox1.ResumeLayout(false);
             this.groupBox1.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.pbImage)).EndInit();
             this.plSEM.ResumeLayout(false);
             this.plSEM.PerformLayout();
             this.plLeft.ResumeLayout(false);
             this.plLeft.PerformLayout();
             this.plTop.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.pbImage)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbPause)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbStart)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.pbMax)).EndInit();

+ 33 - 37
HOZProject/FormHOZMain.cs

@@ -6,6 +6,7 @@ using System.Collections.Generic;
 using System.ComponentModel;
 using System.Configuration;
 using System.Data;
+using System.Diagnostics;
 using System.Drawing;
 using System.Drawing.Drawing2D;
 using System.IO;
@@ -549,33 +550,7 @@ namespace HOZProject
         private void pbSave_Click(object sender, EventArgs e)
         {
             Saveclick();
-            //if (m_MeasureFile == null)
-            //{
-            //    MessageBox.Show("请新建一个测量文件!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
-            //}
-            //else
-            //{
-            //    //保存测量文件
-            //    if (m_MeasureFile.SaveAs())
-            //    {
-            //        //获取测量文件所在路径
-            //        string savePath = m_MeasureFile.FilePath;
-            //        //数据库名称
-            //        string dbFileName = "MeasureFile.db";
-            //        //要复制的文件路径
-            //        string pLocalFilePath = Application.StartupPath +"\\"+dbFileName;
-            //        string pSaveFilePath = savePath + "\\" + dbFileName;//指定存储的路径
-            //        if (File.Exists(pLocalFilePath))//必须判断要复制的文件是否存在
-            //        {
-            //            //三个参数分别是源文件路径,存储路径,若存储路径有相同文件是否替换
-            //            File.Copy(pLocalFilePath, pSaveFilePath, true);
-            //        }
-            //        //将初始化中的参数,配置到测量参数中
-            //        m_MeasureFile.MParam = uControl_Init.GetMeasureParamInfo();
-            //        //设置已保存状态
-            //        IsSave = true;
-            //    }
-            //}
+           
         }
         public void Saveclick()
         {
@@ -803,7 +778,7 @@ namespace HOZProject
                         switch (States)
                         {
                             //运行中
-                            case (int)ThreadState.InProcess:
+                            case (int)MeasureThread.ThreadState.InProcess:
                                 //btnCutHole.BackColor = Color.Yellow;
                                 btnCutHole.BackgroundImage = Properties.Resources.CutHole_Yellow_2_;
                                 btnCutHole.BackgroundImageLayout = ImageLayout.Center;
@@ -811,21 +786,21 @@ namespace HOZProject
                                 ControlFlicker = true;
                                 break;
                             //等待
-                            case (int)ThreadState.Waiting:
+                            case (int)MeasureThread.ThreadState.Waiting:
                                 //btnCutHole.BackColor = Color.Yellow;
                                 btnCutHole.BackgroundImage = Properties.Resources.CutHole_Yellow_2_;
                                 btnCutHole.BackgroundImageLayout = ImageLayout.Center;
                                 ChangeCutHoleMeasureState(CutHoleName, States);
                                 break;
                             //准备
-                            case (int)ThreadState.Ready:
+                            case (int)MeasureThread.ThreadState.Ready:
                                 //btnCutHole.BackColor = Color.White;
                                 btnCutHole.BackgroundImage = Properties.Resources.CutHole_Gray_2_;
                                 btnCutHole.BackgroundImageLayout = ImageLayout.Center;
                                 ChangeCutHoleMeasureState(CutHoleName, States);
                                 break;
                             //失败
-                            case (int)ThreadState.Failed:
+                            case (int)MeasureThread.ThreadState.Failed:
                                 //btnCutHole.BackColor = Color.Red;
                                 btnCutHole.BackgroundImage = Properties.Resources.CutHole_Red_2_;
                                 btnCutHole.BackgroundImageLayout = ImageLayout.Center;
@@ -833,7 +808,7 @@ namespace HOZProject
                                 ControlFlicker = false;
                                 break;
                             //完成
-                            case (int)ThreadState.Success:
+                            case (int)MeasureThread.ThreadState.Success:
                                 //btnCutHole.BackColor = Color.GreenYellow;
                                 btnCutHole.BackgroundImage = Properties.Resources.CutHole_Green_2_;
                                 btnCutHole.BackgroundImageLayout = ImageLayout.Center;
@@ -877,27 +852,27 @@ namespace HOZProject
                             switch (States)
                             {
                                 //准备
-                                case (int)ThreadState.Ready:
+                                case (int)MeasureThread.ThreadState.Ready:
                                     //修改切孔状态
                                     uControl_ParaInfo.lblShowState.Text = "准备";
                                     break;
                                 //等待
-                                case (int)ThreadState.Waiting:
+                                case (int)MeasureThread.ThreadState.Waiting:
                                     //修改切孔状态
                                     uControl_ParaInfo.lblShowState.Text = "等待";
                                     break;
                                 //进行中
-                                case (int)ThreadState.InProcess:
+                                case (int)MeasureThread.ThreadState.InProcess:
                                     //修改切孔状态
                                     uControl_ParaInfo.lblShowState.Text = "进行中";
                                     break;
                                 //完成
-                                case (int)ThreadState.Success:
+                                case (int)MeasureThread.ThreadState.Success:
                                     //修改切孔状态
                                     uControl_ParaInfo.lblShowState.Text = "完成";
                                     break;
                                 //失败
-                                case (int)ThreadState.Failed:
+                                case (int)MeasureThread.ThreadState.Failed:
                                     uControl_ParaInfo.lblShowState.Text = "失败";
                                     uControl_ParaInfo.pbMeasure.Value = 100;
                                     uControl_ParaInfo.lblCompletedAmount.Text = "100%";
@@ -1186,5 +1161,26 @@ namespace HOZProject
             }
            
         }
+
+        private void pbPause_Click(object sender, EventArgs e)
+        {
+            if (File.Exists(m_MeasureFile.m_SavePath))
+            {
+                string position = System.Environment.CurrentDirectory;
+                //Process pro = Process.Start(@"D:\HOZ\an_hoz\HOZ\bin\Debug\Report\ExportReport.exe", @"D:\HOZ\18\j.msf");//打开程序B
+                Process pro = Process.Start(position + "\\Report\\ExportReport.exe", m_MeasureFile.m_SavePath);//打开程序B
+                pro.WaitForExit();
+                int Result = pro.ExitCode;//程序B退出回传值
+                if (Result == 1)//接收到程序B退出代码"1"
+                {
+                    MessageBox.Show("退出程序B");
+                }
+            }
+            else
+            {
+                MessageBox.Show("尚未保存文件");
+            }
+
+        }
     }
 }

+ 0 - 79
HOZProject/FormHOZMain.resx

@@ -118,85 +118,6 @@
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
-  <data name="pbPause.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-    <value>
-        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
-</value>
-  </data>
   <data name="pbStart.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH

+ 10 - 0
HOZProject/Properties/Resources.Designer.cs

@@ -510,6 +510,16 @@ namespace HOZProject.Properties {
             }
         }
         
+        /// <summary>
+        ///   查找 System.Drawing.Bitmap 类型的本地化资源。
+        /// </summary>
+        internal static System.Drawing.Bitmap Report {
+            get {
+                object obj = ResourceManager.GetObject("Report", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
         /// <summary>
         ///   查找 System.Drawing.Bitmap 类型的本地化资源。
         /// </summary>

+ 46 - 0
HOZProject/Properties/Resources.resx

@@ -286,4 +286,50 @@
   <data name="StopMove" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\resources\StopMove.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="Report" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        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
+</value>
+  </data>
 </root>

+ 1 - 0
HOZProject/UnitControl.csproj

@@ -308,6 +308,7 @@
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
       <SubType>Designer</SubType>
     </Content>
+    <None Include="Resources\Report.png" />
     <None Include="Resources\save_3_.png" />
     <None Include="Resources\Pause_3_.png" />
     <None Include="Resources\open_3_.png" />

+ 2 - 1
MeasureData/MeasureFile.cs

@@ -19,7 +19,7 @@ namespace MeasureData
     public class MeasureFile : ISlo
     {
         public const string UNTITLED_FILE_NAME = "Untitled";
-
+        public string m_SavePath = "";
         #region 内容
         //文件名
         private string m_fileName;
@@ -258,6 +258,7 @@ namespace MeasureData
             {
 
                 this.FileName = sfd.FileName.ToString(); //获得文件路径
+                m_SavePath = Convert.ToString(this.FileName);
                 FilePath = System.IO.Path.GetDirectoryName(this.FileName);
 
                 //创建一个新的文件