| | |
| | | // |
| | | // toolStrip1 |
| | | // |
| | | toolStrip1.ImageScalingSize = new Size(20, 20); |
| | | toolStrip1.Items.AddRange(new ToolStripItem[] { lblTitle, btnRun, btnCircleRun }); |
| | | toolStrip1.Location = new Point(0, 0); |
| | | toolStrip1.Name = "toolStrip1"; |
| | | toolStrip1.Size = new Size(360, 25); |
| | | toolStrip1.Size = new Size(450, 27); |
| | | toolStrip1.TabIndex = 0; |
| | | toolStrip1.Text = "toolStrip1"; |
| | | // |
| | |
| | | // |
| | | lblTitle.ForeColor = SystemColors.ControlText; |
| | | lblTitle.Name = "lblTitle"; |
| | | lblTitle.Size = new Size(56, 22); |
| | | lblTitle.Size = new Size(69, 24); |
| | | lblTitle.Text = "流程名称"; |
| | | // |
| | | // btnRun |
| | |
| | | btnRun.Image = (Image)resources.GetObject("btnRun.Image"); |
| | | btnRun.ImageTransparentColor = Color.Magenta; |
| | | btnRun.Name = "btnRun"; |
| | | btnRun.Size = new Size(76, 22); |
| | | btnRun.Size = new Size(93, 24); |
| | | btnRun.Text = "单次运行"; |
| | | btnRun.ToolTipText = "单次运行"; |
| | | btnRun.Click += btnRun_Click; |
| | |
| | | btnCircleRun.Image = (Image)resources.GetObject("btnCircleRun.Image"); |
| | | btnCircleRun.ImageTransparentColor = Color.Magenta; |
| | | btnCircleRun.Name = "btnCircleRun"; |
| | | btnCircleRun.Size = new Size(76, 22); |
| | | btnCircleRun.Size = new Size(93, 24); |
| | | btnCircleRun.Text = "连续运行"; |
| | | btnCircleRun.ToolTipText = "连续"; |
| | | btnCircleRun.Click += btnCircleRun_Click; |
| | |
| | | panel1.Dock = DockStyle.Fill; |
| | | panel1.Location = new Point(3, 3); |
| | | panel1.Name = "panel1"; |
| | | panel1.Size = new Size(354, 187); |
| | | panel1.Size = new Size(444, 224); |
| | | panel1.TabIndex = 1; |
| | | // |
| | | // tableLayoutPanel1 |
| | |
| | | tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | tableLayoutPanel1.RowCount = 2; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); |
| | | tableLayoutPanel1.Size = new Size(360, 215); |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); |
| | | tableLayoutPanel1.Size = new Size(450, 260); |
| | | tableLayoutPanel1.TabIndex = 2; |
| | | // |
| | | // tableLayoutPanel2 |
| | |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F)); |
| | | tableLayoutPanel2.Controls.Add(label1, 0, 0); |
| | | tableLayoutPanel2.Dock = DockStyle.Fill; |
| | | tableLayoutPanel2.Location = new Point(3, 196); |
| | | tableLayoutPanel2.Location = new Point(3, 233); |
| | | tableLayoutPanel2.Name = "tableLayoutPanel2"; |
| | | tableLayoutPanel2.RowCount = 1; |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel2.Size = new Size(354, 16); |
| | | tableLayoutPanel2.Size = new Size(444, 24); |
| | | tableLayoutPanel2.TabIndex = 2; |
| | | // |
| | | // label1 |
| | |
| | | label1.ForeColor = SystemColors.Control; |
| | | label1.Location = new Point(3, 0); |
| | | label1.Name = "label1"; |
| | | label1.Size = new Size(112, 16); |
| | | label1.Size = new Size(141, 24); |
| | | label1.TabIndex = 0; |
| | | label1.Text = "总数:0"; |
| | | label1.DoubleClick += lblCount_DoubleClick; |
| | |
| | | uiPanel1.Controls.Add(tableLayoutPanel1); |
| | | uiPanel1.Dock = DockStyle.Fill; |
| | | uiPanel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); |
| | | uiPanel1.Location = new Point(0, 25); |
| | | uiPanel1.Margin = new Padding(4, 5, 4, 5); |
| | | uiPanel1.Location = new Point(0, 27); |
| | | uiPanel1.Margin = new Padding(5, 6, 5, 6); |
| | | uiPanel1.MinimumSize = new Size(1, 1); |
| | | uiPanel1.Name = "uiPanel1"; |
| | | uiPanel1.Size = new Size(360, 215); |
| | | uiPanel1.Size = new Size(450, 260); |
| | | uiPanel1.TabIndex = 3; |
| | | uiPanel1.Text = "uiPanel1"; |
| | | uiPanel1.TextAlignment = ContentAlignment.MiddleCenter; |
| | | // |
| | | // ProcessControl |
| | | // |
| | | AutoScaleDimensions = new SizeF(96F, 96F); |
| | | AutoScaleDimensions = new SizeF(120F, 120F); |
| | | AutoScaleMode = AutoScaleMode.Dpi; |
| | | BackColor = Color.FromArgb(32, 41, 50); |
| | | Controls.Add(uiPanel1); |
| | | Controls.Add(toolStrip1); |
| | | Margin = new Padding(4, 4, 4, 4); |
| | | Name = "ProcessControl"; |
| | | Size = new Size(360, 240); |
| | | Size = new Size(450, 287); |
| | | Load += ProcessControl_Load; |
| | | toolStrip1.ResumeLayout(false); |
| | | toolStrip1.PerformLayout(); |