From c0d59e233882ad489f45abc8eb0193ffa4fb8988 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期六, 11 七月 2020 11:20:44 +0800 Subject: [PATCH] Merge branch 'master' of http://gitblit.broconcentric.com:8088/r/M071 --- src/Bro.M071.Process/UI/M071_MainForm.Designer.cs | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 309 insertions(+), 1 deletions(-) diff --git a/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs b/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs index 45eef01..abd460f 100644 --- a/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs +++ b/src/Bro.M071.Process/UI/M071_MainForm.Designer.cs @@ -29,11 +29,319 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.tsmiShowToolBar = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiShowStatusBar = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiShowEditor = new System.Windows.Forms.ToolStripMenuItem(); + this.lblCT = new System.Windows.Forms.Label(); + this.txtBarcode = new System.Windows.Forms.TextBox(); + this.lblProductionState = new System.Windows.Forms.Label(); + this.lblMachineState = new System.Windows.Forms.Label(); + this.plImage = new System.Windows.Forms.Panel(); + this.tscEditLocation = new System.Windows.Forms.ToolStripContainer(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.btnConfirmEdit = new System.Windows.Forms.Button(); + this.btnCancelEdit = new System.Windows.Forms.Button(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.lvMeasures = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.propGridKeyIndicator = new System.Windows.Forms.PropertyGrid(); + this.btnStartMeasure = new System.Windows.Forms.Button(); + this.btnReset = new System.Windows.Forms.Button(); + this.contextMenuStrip1.SuspendLayout(); + this.plImage.SuspendLayout(); + this.tscEditLocation.ContentPanel.SuspendLayout(); + this.tscEditLocation.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.SuspendLayout(); + // + // contextMenuStrip1 + // + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiShowToolBar, + this.tsmiShowStatusBar, + this.tsmiShowEditor}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(149, 70); + // + // tsmiShowToolBar + // + this.tsmiShowToolBar.CheckOnClick = true; + this.tsmiShowToolBar.Name = "tsmiShowToolBar"; + this.tsmiShowToolBar.Size = new System.Drawing.Size(148, 22); + this.tsmiShowToolBar.Text = "鏄剧ず宸ュ叿鏉�"; + this.tsmiShowToolBar.CheckedChanged += new System.EventHandler(this.tsmiShowToolBar_CheckedChanged); + // + // tsmiShowStatusBar + // + this.tsmiShowStatusBar.CheckOnClick = true; + this.tsmiShowStatusBar.Name = "tsmiShowStatusBar"; + this.tsmiShowStatusBar.Size = new System.Drawing.Size(148, 22); + this.tsmiShowStatusBar.Text = "鏄剧ず鐘舵�佹爮"; + this.tsmiShowStatusBar.CheckedChanged += new System.EventHandler(this.tsmiShowStatusBar_CheckedChanged); + // + // tsmiShowEditor + // + this.tsmiShowEditor.CheckOnClick = true; + this.tsmiShowEditor.Name = "tsmiShowEditor"; + this.tsmiShowEditor.Size = new System.Drawing.Size(148, 22); + this.tsmiShowEditor.Text = "缂栬緫鏄剧ず鐐逛綅"; + this.tsmiShowEditor.CheckedChanged += new System.EventHandler(this.tsmiShowEditor_CheckedChanged); + // + // lblCT + // + this.lblCT.AutoSize = true; + this.lblCT.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.lblCT.Location = new System.Drawing.Point(464, 19); + this.lblCT.Name = "lblCT"; + this.lblCT.Size = new System.Drawing.Size(35, 14); + this.lblCT.TabIndex = 4; + this.lblCT.Text = "XXXX"; + // + // txtBarcode + // + this.txtBarcode.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.txtBarcode.Location = new System.Drawing.Point(138, 13); + this.txtBarcode.Name = "txtBarcode"; + this.txtBarcode.Size = new System.Drawing.Size(261, 24); + this.txtBarcode.TabIndex = 3; + this.txtBarcode.Text = "BARCODE"; + this.txtBarcode.TextChanged += new System.EventHandler(this.txtBarcode_TextChanged); + // + // lblProductionState + // + this.lblProductionState.AutoSize = true; + this.lblProductionState.BackColor = System.Drawing.Color.Lime; + this.lblProductionState.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.lblProductionState.ForeColor = System.Drawing.Color.DarkGreen; + this.lblProductionState.Location = new System.Drawing.Point(405, 13); + this.lblProductionState.Name = "lblProductionState"; + this.lblProductionState.Size = new System.Drawing.Size(39, 24); + this.lblProductionState.TabIndex = 2; + this.lblProductionState.Text = "OK"; + // + // lblMachineState + // + this.lblMachineState.AutoSize = true; + this.lblMachineState.BackColor = System.Drawing.Color.Lime; + this.lblMachineState.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.lblMachineState.ForeColor = System.Drawing.Color.DarkGreen; + this.lblMachineState.Location = new System.Drawing.Point(22, 12); + this.lblMachineState.Name = "lblMachineState"; + this.lblMachineState.Size = new System.Drawing.Size(79, 24); + this.lblMachineState.TabIndex = 2; + this.lblMachineState.Text = "READY"; + // + // plImage + // + this.plImage.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.plImage.ContextMenuStrip = this.contextMenuStrip1; + this.plImage.Controls.Add(this.tscEditLocation); + this.plImage.Location = new System.Drawing.Point(1, 47); + this.plImage.Name = "plImage"; + this.plImage.Size = new System.Drawing.Size(796, 304); + this.plImage.TabIndex = 1; + // + // tscEditLocation + // + // + // tscEditLocation.ContentPanel + // + this.tscEditLocation.ContentPanel.Controls.Add(this.tableLayoutPanel1); + this.tscEditLocation.ContentPanel.Size = new System.Drawing.Size(209, 279); + this.tscEditLocation.Dock = System.Windows.Forms.DockStyle.Right; + this.tscEditLocation.Location = new System.Drawing.Point(587, 0); + this.tscEditLocation.Name = "tscEditLocation"; + this.tscEditLocation.Size = new System.Drawing.Size(209, 304); + this.tscEditLocation.TabIndex = 0; + this.tscEditLocation.Text = "toolStripContainer1"; + this.tscEditLocation.Visible = false; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.btnConfirmEdit, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.btnCancelEdit, 1, 1); + this.tableLayoutPanel1.Controls.Add(this.splitContainer1, 0, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.Size = new System.Drawing.Size(209, 279); + this.tableLayoutPanel1.TabIndex = 0; + // + // btnConfirmEdit + // + this.btnConfirmEdit.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.btnConfirmEdit.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnConfirmEdit.Location = new System.Drawing.Point(3, 246); + this.btnConfirmEdit.Name = "btnConfirmEdit"; + this.btnConfirmEdit.Size = new System.Drawing.Size(98, 30); + this.btnConfirmEdit.TabIndex = 0; + this.btnConfirmEdit.Text = "纭淇敼"; + this.btnConfirmEdit.UseVisualStyleBackColor = true; + this.btnConfirmEdit.Click += new System.EventHandler(this.btnConfirmEdit_Click); + // + // btnCancelEdit + // + this.btnCancelEdit.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.btnCancelEdit.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnCancelEdit.Location = new System.Drawing.Point(107, 246); + this.btnCancelEdit.Name = "btnCancelEdit"; + this.btnCancelEdit.Size = new System.Drawing.Size(99, 30); + this.btnCancelEdit.TabIndex = 0; + this.btnCancelEdit.Text = "鍙栨秷淇敼"; + this.btnCancelEdit.UseVisualStyleBackColor = true; + this.btnCancelEdit.Click += new System.EventHandler(this.btnCancelEdit_Click); + // + // splitContainer1 + // + this.tableLayoutPanel1.SetColumnSpan(this.splitContainer1, 2); + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.Location = new System.Drawing.Point(3, 3); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.lvMeasures); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.propGridKeyIndicator); + this.splitContainer1.Size = new System.Drawing.Size(203, 237); + this.splitContainer1.SplitterDistance = 136; + this.splitContainer1.TabIndex = 1; + // + // lvMeasures + // + this.lvMeasures.BackColor = System.Drawing.SystemColors.Control; + this.lvMeasures.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1}); + this.lvMeasures.Dock = System.Windows.Forms.DockStyle.Fill; + this.lvMeasures.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.lvMeasures.FullRowSelect = true; + this.lvMeasures.HideSelection = false; + this.lvMeasures.Location = new System.Drawing.Point(0, 0); + this.lvMeasures.MultiSelect = false; + this.lvMeasures.Name = "lvMeasures"; + this.lvMeasures.Size = new System.Drawing.Size(203, 136); + this.lvMeasures.TabIndex = 0; + this.lvMeasures.UseCompatibleStateImageBehavior = false; + this.lvMeasures.View = System.Windows.Forms.View.List; + this.lvMeasures.SelectedIndexChanged += new System.EventHandler(this.lvMeasures_SelectedIndexChanged); + this.lvMeasures.DoubleClick += new System.EventHandler(this.lvMeasures_DoubleClick); + // + // columnHeader1 + // + this.columnHeader1.Text = "妫�娴嬫爣绛�"; + this.columnHeader1.Width = 181; + // + // propGridKeyIndicator + // + this.propGridKeyIndicator.Dock = System.Windows.Forms.DockStyle.Fill; + this.propGridKeyIndicator.Location = new System.Drawing.Point(0, 0); + this.propGridKeyIndicator.Name = "propGridKeyIndicator"; + this.propGridKeyIndicator.Size = new System.Drawing.Size(203, 97); + this.propGridKeyIndicator.TabIndex = 0; + this.propGridKeyIndicator.ToolbarVisible = false; + // + // btnStartMeasure + // + this.btnStartMeasure.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnStartMeasure.BackColor = System.Drawing.Color.Lime; + this.btnStartMeasure.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnStartMeasure.Font = new System.Drawing.Font("瀹嬩綋", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.btnStartMeasure.ForeColor = System.Drawing.Color.DarkGreen; + this.btnStartMeasure.Location = new System.Drawing.Point(678, 8); + this.btnStartMeasure.Name = "btnStartMeasure"; + this.btnStartMeasure.Size = new System.Drawing.Size(110, 35); + this.btnStartMeasure.TabIndex = 5; + this.btnStartMeasure.Text = "寮�濮嬫祴閲�"; + this.btnStartMeasure.UseVisualStyleBackColor = false; + this.btnStartMeasure.Click += new System.EventHandler(this.btnStartMeasure_Click); + // + // btnReset + // + this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnReset.BackColor = System.Drawing.Color.Orange; + this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnReset.Font = new System.Drawing.Font("瀹嬩綋", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134))); + this.btnReset.ForeColor = System.Drawing.Color.DarkGreen; + this.btnReset.Location = new System.Drawing.Point(531, 8); + this.btnReset.Name = "btnReset"; + this.btnReset.Size = new System.Drawing.Size(141, 35); + this.btnReset.TabIndex = 5; + this.btnReset.Text = "澶嶄綅锛堥暱鎸�5s澶у浣嶏級"; + this.btnReset.UseVisualStyleBackColor = false; + this.btnReset.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseDown); + this.btnReset.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseUp); + // + // M071_MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); + this.ClientSize = new System.Drawing.Size(800, 351); + this.Controls.Add(this.btnReset); + this.Controls.Add(this.btnStartMeasure); + this.Controls.Add(this.lblCT); + this.Controls.Add(this.txtBarcode); + this.Controls.Add(this.lblProductionState); + this.Controls.Add(this.lblMachineState); + this.Controls.Add(this.plImage); + this.KeyPreview = true; + this.Name = "M071_MainForm"; this.Text = "M071_MainForm"; + this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.M071_MainForm_KeyUp); + this.contextMenuStrip1.ResumeLayout(false); + this.plImage.ResumeLayout(false); + this.tscEditLocation.ContentPanel.ResumeLayout(false); + this.tscEditLocation.ResumeLayout(false); + this.tscEditLocation.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion + + private System.Windows.Forms.ToolStripContainer tscEditLocation; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem tsmiShowEditor; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.Button btnConfirmEdit; + private System.Windows.Forms.Button btnCancelEdit; + private System.Windows.Forms.SplitContainer splitContainer1; + private System.Windows.Forms.PropertyGrid propGridKeyIndicator; + private System.Windows.Forms.ListView lvMeasures; + private System.Windows.Forms.ToolStripMenuItem tsmiShowToolBar; + private System.Windows.Forms.ToolStripMenuItem tsmiShowStatusBar; + private System.Windows.Forms.Panel plImage; + private System.Windows.Forms.Label lblMachineState; + private System.Windows.Forms.Label lblProductionState; + private System.Windows.Forms.TextBox txtBarcode; + private System.Windows.Forms.Label lblCT; + private System.Windows.Forms.Button btnStartMeasure; + private System.Windows.Forms.Button btnReset; + private System.Windows.Forms.ColumnHeader columnHeader1; } } \ No newline at end of file -- Gitblit v1.8.0