|
|
|
@ -37,26 +37,10 @@ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.queryBtn = new WinFormControl.NButton(); |
|
|
|
this.datePicker = new System.Windows.Forms.TextBox(); |
|
|
|
this.colseBtn = new WinFormControl.NButton(); |
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.numPad = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.R_C5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.recordGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.countLbl = new WinFormControl.ULabel(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.uLabel2 = new WinFormControl.ULabel(); |
|
|
|
this.numberLbl = new WinFormControl.ULabel(); |
|
|
|
this.zeroBtn = new WinFormControl.NButton(); |
|
|
|
this.panel3 = new System.Windows.Forms.Panel(); |
|
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
|
this.orderGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.panel4 = new System.Windows.Forms.Panel(); |
|
|
|
this.finishNumberLabel = new System.Windows.Forms.Label(); |
|
|
|
@ -64,6 +48,23 @@ |
|
|
|
this.setTop = new System.Windows.Forms.CheckBox(); |
|
|
|
this.orderLabel = new System.Windows.Forms.Label(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.vScrollBar = new System.Windows.Forms.VScrollBar(); |
|
|
|
this.queryBtn = new WinFormControl.NButton(); |
|
|
|
this.colseBtn = new WinFormControl.NButton(); |
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.zeroBtn = new WinFormControl.NButton(); |
|
|
|
this.countLbl = new WinFormControl.ULabel(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.uLabel2 = new WinFormControl.ULabel(); |
|
|
|
this.numberLbl = new WinFormControl.ULabel(); |
|
|
|
this.recordGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.R_C1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_C5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.orderGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.L_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.L_OrderState = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.L_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
@ -75,14 +76,146 @@ |
|
|
|
this.L_ConfirmNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.L_Start = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
this.L_End = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.recordGrid)).BeginInit(); |
|
|
|
this.panel3.SuspendLayout(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
this.panel4.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.recordGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// datePicker
|
|
|
|
//
|
|
|
|
this.datePicker.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.datePicker.Location = new System.Drawing.Point(121, 24); |
|
|
|
this.datePicker.Name = "datePicker"; |
|
|
|
this.datePicker.ReadOnly = true; |
|
|
|
this.datePicker.Size = new System.Drawing.Size(156, 30); |
|
|
|
this.datePicker.TabIndex = 14; |
|
|
|
this.datePicker.MouseDown += new System.Windows.Forms.MouseEventHandler(this.datePicker_MouseDown); |
|
|
|
//
|
|
|
|
// numPad
|
|
|
|
//
|
|
|
|
this.numPad.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
this.numPad.Location = new System.Drawing.Point(-1, 220); |
|
|
|
this.numPad.Name = "numPad"; |
|
|
|
this.numPad.Size = new System.Drawing.Size(421, 278); |
|
|
|
this.numPad.TabIndex = 0; |
|
|
|
//
|
|
|
|
// panel3
|
|
|
|
//
|
|
|
|
this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
this.panel3.Controls.Add(this.countLbl); |
|
|
|
this.panel3.Controls.Add(this.uLabel3); |
|
|
|
this.panel3.Controls.Add(this.uLabel2); |
|
|
|
this.panel3.Controls.Add(this.numberLbl); |
|
|
|
this.panel3.Location = new System.Drawing.Point(157, 158); |
|
|
|
this.panel3.Name = "panel3"; |
|
|
|
this.panel3.Size = new System.Drawing.Size(239, 38); |
|
|
|
this.panel3.TabIndex = 6; |
|
|
|
//
|
|
|
|
// panel2
|
|
|
|
//
|
|
|
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.panel2.Controls.Add(this.zeroBtn); |
|
|
|
this.panel2.Controls.Add(this.panel3); |
|
|
|
this.panel2.Controls.Add(this.recordGrid); |
|
|
|
this.panel2.Controls.Add(this.numPad); |
|
|
|
this.panel2.Location = new System.Drawing.Point(650, 72); |
|
|
|
this.panel2.Name = "panel2"; |
|
|
|
this.panel2.Size = new System.Drawing.Size(421, 503); |
|
|
|
this.panel2.TabIndex = 12; |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.panel1.Controls.Add(this.vScrollBar); |
|
|
|
this.panel1.Controls.Add(this.orderGrid); |
|
|
|
this.panel1.Location = new System.Drawing.Point(12, 72); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(620, 503); |
|
|
|
this.panel1.TabIndex = 11; |
|
|
|
//
|
|
|
|
// panel4
|
|
|
|
//
|
|
|
|
this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel4.Controls.Add(this.finishNumberLabel); |
|
|
|
this.panel4.Controls.Add(this.label4); |
|
|
|
this.panel4.Controls.Add(this.setTop); |
|
|
|
this.panel4.Controls.Add(this.orderLabel); |
|
|
|
this.panel4.Controls.Add(this.label2); |
|
|
|
this.panel4.Location = new System.Drawing.Point(402, 12); |
|
|
|
this.panel4.Name = "panel4"; |
|
|
|
this.panel4.Size = new System.Drawing.Size(395, 56); |
|
|
|
this.panel4.TabIndex = 19; |
|
|
|
//
|
|
|
|
// finishNumberLabel
|
|
|
|
//
|
|
|
|
this.finishNumberLabel.AutoSize = true; |
|
|
|
this.finishNumberLabel.Font = new System.Drawing.Font("宋体", 23F); |
|
|
|
this.finishNumberLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.finishNumberLabel.Location = new System.Drawing.Point(224, 12); |
|
|
|
this.finishNumberLabel.Name = "finishNumberLabel"; |
|
|
|
this.finishNumberLabel.Size = new System.Drawing.Size(30, 31); |
|
|
|
this.finishNumberLabel.TabIndex = 66; |
|
|
|
this.finishNumberLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// label4
|
|
|
|
//
|
|
|
|
this.label4.AutoSize = true; |
|
|
|
this.label4.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label4.Location = new System.Drawing.Point(126, 18); |
|
|
|
this.label4.Name = "label4"; |
|
|
|
this.label4.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label4.TabIndex = 65; |
|
|
|
this.label4.Text = "已杀头数:"; |
|
|
|
//
|
|
|
|
// setTop
|
|
|
|
//
|
|
|
|
this.setTop.AutoSize = true; |
|
|
|
this.setTop.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.setTop.Location = new System.Drawing.Point(307, 16); |
|
|
|
this.setTop.Name = "setTop"; |
|
|
|
this.setTop.Size = new System.Drawing.Size(68, 24); |
|
|
|
this.setTop.TabIndex = 64; |
|
|
|
this.setTop.Text = "置顶"; |
|
|
|
this.setTop.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// orderLabel
|
|
|
|
//
|
|
|
|
this.orderLabel.AutoSize = true; |
|
|
|
this.orderLabel.Font = new System.Drawing.Font("宋体", 23F); |
|
|
|
this.orderLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.orderLabel.Location = new System.Drawing.Point(63, 10); |
|
|
|
this.orderLabel.Name = "orderLabel"; |
|
|
|
this.orderLabel.Size = new System.Drawing.Size(30, 31); |
|
|
|
this.orderLabel.TabIndex = 63; |
|
|
|
this.orderLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// label2
|
|
|
|
//
|
|
|
|
this.label2.AutoSize = true; |
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label2.Location = new System.Drawing.Point(5, 18); |
|
|
|
this.label2.Name = "label2"; |
|
|
|
this.label2.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.label2.TabIndex = 62; |
|
|
|
this.label2.Text = "顺序:"; |
|
|
|
//
|
|
|
|
// vScrollBar
|
|
|
|
//
|
|
|
|
this.vScrollBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.vScrollBar.Location = new System.Drawing.Point(578, -2); |
|
|
|
this.vScrollBar.Name = "vScrollBar"; |
|
|
|
this.vScrollBar.Size = new System.Drawing.Size(40, 501); |
|
|
|
this.vScrollBar.TabIndex = 53; |
|
|
|
//
|
|
|
|
// queryBtn
|
|
|
|
//
|
|
|
|
this.queryBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(136)))), ((int)(((byte)(255))))); |
|
|
|
@ -100,16 +233,6 @@ |
|
|
|
this.queryBtn.UseVisualStyleBackColor = false; |
|
|
|
this.queryBtn.Click += new System.EventHandler(this.queryBtn_Click); |
|
|
|
//
|
|
|
|
// datePicker
|
|
|
|
//
|
|
|
|
this.datePicker.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.datePicker.Location = new System.Drawing.Point(121, 24); |
|
|
|
this.datePicker.Name = "datePicker"; |
|
|
|
this.datePicker.ReadOnly = true; |
|
|
|
this.datePicker.Size = new System.Drawing.Size(156, 30); |
|
|
|
this.datePicker.TabIndex = 14; |
|
|
|
this.datePicker.MouseDown += new System.Windows.Forms.MouseEventHandler(this.datePicker_MouseDown); |
|
|
|
//
|
|
|
|
// colseBtn
|
|
|
|
//
|
|
|
|
this.colseBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
@ -139,7 +262,7 @@ |
|
|
|
this.uTimerLabel1.Name = "uTimerLabel1"; |
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(152, 18); |
|
|
|
this.uTimerLabel1.TabIndex = 10; |
|
|
|
this.uTimerLabel1.Text = "6月13日 21:39:23"; |
|
|
|
this.uTimerLabel1.Text = "6月26日 16:16:49"; |
|
|
|
//
|
|
|
|
// uLabel1
|
|
|
|
//
|
|
|
|
@ -152,89 +275,23 @@ |
|
|
|
this.uLabel1.TabIndex = 15; |
|
|
|
this.uLabel1.Text = "宰杀日期:"; |
|
|
|
//
|
|
|
|
// numPad
|
|
|
|
//
|
|
|
|
this.numPad.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
this.numPad.Location = new System.Drawing.Point(-1, 220); |
|
|
|
this.numPad.Name = "numPad"; |
|
|
|
this.numPad.Size = new System.Drawing.Size(421, 278); |
|
|
|
this.numPad.TabIndex = 0; |
|
|
|
//
|
|
|
|
// R_C5
|
|
|
|
//
|
|
|
|
this.R_C5.DataPropertyName = "Number5"; |
|
|
|
this.R_C5.HeaderText = "列5"; |
|
|
|
this.R_C5.Name = "R_C5"; |
|
|
|
this.R_C5.ReadOnly = true; |
|
|
|
this.R_C5.Width = 80; |
|
|
|
//
|
|
|
|
// R_C4
|
|
|
|
//
|
|
|
|
this.R_C4.DataPropertyName = "Number4"; |
|
|
|
this.R_C4.HeaderText = "列4"; |
|
|
|
this.R_C4.Name = "R_C4"; |
|
|
|
this.R_C4.ReadOnly = true; |
|
|
|
this.R_C4.Width = 80; |
|
|
|
//
|
|
|
|
// R_C3
|
|
|
|
//
|
|
|
|
this.R_C3.DataPropertyName = "Number3"; |
|
|
|
this.R_C3.HeaderText = "列3"; |
|
|
|
this.R_C3.Name = "R_C3"; |
|
|
|
this.R_C3.ReadOnly = true; |
|
|
|
this.R_C3.Width = 80; |
|
|
|
//
|
|
|
|
// R_C2
|
|
|
|
//
|
|
|
|
this.R_C2.DataPropertyName = "Number2"; |
|
|
|
this.R_C2.HeaderText = "列2"; |
|
|
|
this.R_C2.Name = "R_C2"; |
|
|
|
this.R_C2.ReadOnly = true; |
|
|
|
this.R_C2.Width = 80; |
|
|
|
//
|
|
|
|
// R_C1
|
|
|
|
//
|
|
|
|
this.R_C1.DataPropertyName = "Number1"; |
|
|
|
this.R_C1.HeaderText = "列1"; |
|
|
|
this.R_C1.Name = "R_C1"; |
|
|
|
this.R_C1.ReadOnly = true; |
|
|
|
this.R_C1.Width = 80; |
|
|
|
//
|
|
|
|
// recordGrid
|
|
|
|
// zeroBtn
|
|
|
|
//
|
|
|
|
this.recordGrid.AllowUserToAddRows = false; |
|
|
|
this.recordGrid.AllowUserToDeleteRows = false; |
|
|
|
this.recordGrid.AllowUserToResizeColumns = false; |
|
|
|
this.recordGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.recordGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.recordGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
|
|
|
this.recordGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.recordGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.recordGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.recordGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.recordGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.R_C1, |
|
|
|
this.R_C2, |
|
|
|
this.R_C3, |
|
|
|
this.R_C4, |
|
|
|
this.R_C5}); |
|
|
|
this.recordGrid.Location = new System.Drawing.Point(-1, -1); |
|
|
|
this.recordGrid.MultiSelect = false; |
|
|
|
this.recordGrid.Name = "recordGrid"; |
|
|
|
this.recordGrid.ReadOnly = true; |
|
|
|
this.recordGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.recordGrid.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.recordGrid.RowTemplate.Height = 50; |
|
|
|
this.recordGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
|
|
this.recordGrid.Size = new System.Drawing.Size(421, 153); |
|
|
|
this.recordGrid.TabIndex = 1; |
|
|
|
this.zeroBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.zeroBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(136)))), ((int)(((byte)(255))))); |
|
|
|
this.zeroBtn.ClickColor = System.Drawing.Color.YellowGreen; |
|
|
|
this.zeroBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.zeroBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.zeroBtn.Location = new System.Drawing.Point(17, 157); |
|
|
|
this.zeroBtn.Name = "zeroBtn"; |
|
|
|
this.zeroBtn.PlaySound = true; |
|
|
|
this.zeroBtn.Size = new System.Drawing.Size(100, 60); |
|
|
|
this.zeroBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.zeroBtn.TabIndex = 7; |
|
|
|
this.zeroBtn.Text = "0"; |
|
|
|
this.zeroBtn.ToColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(136)))), ((int)(((byte)(255))))); |
|
|
|
this.zeroBtn.UseVisualStyleBackColor = false; |
|
|
|
this.zeroBtn.Click += new System.EventHandler(this.NumberBtnClick); |
|
|
|
//
|
|
|
|
// countLbl
|
|
|
|
//
|
|
|
|
@ -284,49 +341,81 @@ |
|
|
|
this.numberLbl.TabIndex = 4; |
|
|
|
this.numberLbl.Text = "0"; |
|
|
|
//
|
|
|
|
// zeroBtn
|
|
|
|
// recordGrid
|
|
|
|
//
|
|
|
|
this.zeroBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.zeroBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(136)))), ((int)(((byte)(255))))); |
|
|
|
this.zeroBtn.ClickColor = System.Drawing.Color.YellowGreen; |
|
|
|
this.zeroBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.zeroBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.zeroBtn.Location = new System.Drawing.Point(17, 157); |
|
|
|
this.zeroBtn.Name = "zeroBtn"; |
|
|
|
this.zeroBtn.PlaySound = true; |
|
|
|
this.zeroBtn.Size = new System.Drawing.Size(100, 60); |
|
|
|
this.zeroBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.zeroBtn.TabIndex = 7; |
|
|
|
this.zeroBtn.Text = "0"; |
|
|
|
this.zeroBtn.ToColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(136)))), ((int)(((byte)(255))))); |
|
|
|
this.zeroBtn.UseVisualStyleBackColor = false; |
|
|
|
this.zeroBtn.Click += new System.EventHandler(this.NumberBtnClick); |
|
|
|
this.recordGrid.AllowUserToAddRows = false; |
|
|
|
this.recordGrid.AllowUserToDeleteRows = false; |
|
|
|
this.recordGrid.AllowUserToResizeColumns = false; |
|
|
|
this.recordGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.recordGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.recordGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
|
|
|
this.recordGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.recordGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.recordGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.recordGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.recordGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.R_C1, |
|
|
|
this.R_C2, |
|
|
|
this.R_C3, |
|
|
|
this.R_C4, |
|
|
|
this.R_C5}); |
|
|
|
this.recordGrid.Location = new System.Drawing.Point(-1, -1); |
|
|
|
this.recordGrid.MultiSelect = false; |
|
|
|
this.recordGrid.Name = "recordGrid"; |
|
|
|
this.recordGrid.ReadOnly = true; |
|
|
|
this.recordGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.recordGrid.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.recordGrid.RowTemplate.Height = 50; |
|
|
|
this.recordGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
|
|
this.recordGrid.Size = new System.Drawing.Size(421, 153); |
|
|
|
this.recordGrid.TabIndex = 1; |
|
|
|
//
|
|
|
|
// panel3
|
|
|
|
// R_C1
|
|
|
|
//
|
|
|
|
this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
this.panel3.Controls.Add(this.countLbl); |
|
|
|
this.panel3.Controls.Add(this.uLabel3); |
|
|
|
this.panel3.Controls.Add(this.uLabel2); |
|
|
|
this.panel3.Controls.Add(this.numberLbl); |
|
|
|
this.panel3.Location = new System.Drawing.Point(157, 158); |
|
|
|
this.panel3.Name = "panel3"; |
|
|
|
this.panel3.Size = new System.Drawing.Size(239, 38); |
|
|
|
this.panel3.TabIndex = 6; |
|
|
|
this.R_C1.DataPropertyName = "Number1"; |
|
|
|
this.R_C1.HeaderText = "列1"; |
|
|
|
this.R_C1.Name = "R_C1"; |
|
|
|
this.R_C1.ReadOnly = true; |
|
|
|
this.R_C1.Width = 80; |
|
|
|
//
|
|
|
|
// panel2
|
|
|
|
// R_C2
|
|
|
|
//
|
|
|
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.panel2.Controls.Add(this.zeroBtn); |
|
|
|
this.panel2.Controls.Add(this.panel3); |
|
|
|
this.panel2.Controls.Add(this.recordGrid); |
|
|
|
this.panel2.Controls.Add(this.numPad); |
|
|
|
this.panel2.Location = new System.Drawing.Point(650, 72); |
|
|
|
this.panel2.Name = "panel2"; |
|
|
|
this.panel2.Size = new System.Drawing.Size(421, 503); |
|
|
|
this.panel2.TabIndex = 12; |
|
|
|
this.R_C2.DataPropertyName = "Number2"; |
|
|
|
this.R_C2.HeaderText = "列2"; |
|
|
|
this.R_C2.Name = "R_C2"; |
|
|
|
this.R_C2.ReadOnly = true; |
|
|
|
this.R_C2.Width = 80; |
|
|
|
//
|
|
|
|
// R_C3
|
|
|
|
//
|
|
|
|
this.R_C3.DataPropertyName = "Number3"; |
|
|
|
this.R_C3.HeaderText = "列3"; |
|
|
|
this.R_C3.Name = "R_C3"; |
|
|
|
this.R_C3.ReadOnly = true; |
|
|
|
this.R_C3.Width = 80; |
|
|
|
//
|
|
|
|
// R_C4
|
|
|
|
//
|
|
|
|
this.R_C4.DataPropertyName = "Number4"; |
|
|
|
this.R_C4.HeaderText = "列4"; |
|
|
|
this.R_C4.Name = "R_C4"; |
|
|
|
this.R_C4.ReadOnly = true; |
|
|
|
this.R_C4.Width = 80; |
|
|
|
//
|
|
|
|
// R_C5
|
|
|
|
//
|
|
|
|
this.R_C5.DataPropertyName = "Number5"; |
|
|
|
this.R_C5.HeaderText = "列5"; |
|
|
|
this.R_C5.Name = "R_C5"; |
|
|
|
this.R_C5.ReadOnly = true; |
|
|
|
this.R_C5.Width = 80; |
|
|
|
//
|
|
|
|
// orderGrid
|
|
|
|
//
|
|
|
|
@ -336,6 +425,9 @@ |
|
|
|
this.orderGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.orderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.orderGrid.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.orderGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.orderGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
@ -356,7 +448,6 @@ |
|
|
|
this.L_ConfirmNumber, |
|
|
|
this.L_Start, |
|
|
|
this.L_End}); |
|
|
|
this.orderGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.orderGrid.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.orderGrid.MultiSelect = false; |
|
|
|
this.orderGrid.Name = "orderGrid"; |
|
|
|
@ -374,91 +465,14 @@ |
|
|
|
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.orderGrid.RowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.orderGrid.RowTemplate.Height = 80; |
|
|
|
this.orderGrid.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; |
|
|
|
this.orderGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.orderGrid.Size = new System.Drawing.Size(618, 501); |
|
|
|
this.orderGrid.Size = new System.Drawing.Size(575, 501); |
|
|
|
this.orderGrid.TabIndex = 2; |
|
|
|
this.orderGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellClick); |
|
|
|
this.orderGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellContentClick); |
|
|
|
this.orderGrid.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.orderGrid_RowPrePaint); |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.panel1.Controls.Add(this.orderGrid); |
|
|
|
this.panel1.Location = new System.Drawing.Point(12, 72); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(620, 503); |
|
|
|
this.panel1.TabIndex = 11; |
|
|
|
//
|
|
|
|
// panel4
|
|
|
|
//
|
|
|
|
this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel4.Controls.Add(this.finishNumberLabel); |
|
|
|
this.panel4.Controls.Add(this.label4); |
|
|
|
this.panel4.Controls.Add(this.setTop); |
|
|
|
this.panel4.Controls.Add(this.orderLabel); |
|
|
|
this.panel4.Controls.Add(this.label2); |
|
|
|
this.panel4.Location = new System.Drawing.Point(402, 12); |
|
|
|
this.panel4.Name = "panel4"; |
|
|
|
this.panel4.Size = new System.Drawing.Size(395, 56); |
|
|
|
this.panel4.TabIndex = 19; |
|
|
|
//
|
|
|
|
// finishNumberLabel
|
|
|
|
//
|
|
|
|
this.finishNumberLabel.AutoSize = true; |
|
|
|
this.finishNumberLabel.Font = new System.Drawing.Font("宋体", 23F); |
|
|
|
this.finishNumberLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.finishNumberLabel.Location = new System.Drawing.Point(224, 12); |
|
|
|
this.finishNumberLabel.Name = "finishNumberLabel"; |
|
|
|
this.finishNumberLabel.Size = new System.Drawing.Size(30, 31); |
|
|
|
this.finishNumberLabel.TabIndex = 66; |
|
|
|
this.finishNumberLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// label4
|
|
|
|
//
|
|
|
|
this.label4.AutoSize = true; |
|
|
|
this.label4.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label4.Location = new System.Drawing.Point(126, 18); |
|
|
|
this.label4.Name = "label4"; |
|
|
|
this.label4.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label4.TabIndex = 65; |
|
|
|
this.label4.Text = "已杀头数:"; |
|
|
|
//
|
|
|
|
// setTop
|
|
|
|
//
|
|
|
|
this.setTop.AutoSize = true; |
|
|
|
this.setTop.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.setTop.Location = new System.Drawing.Point(307, 16); |
|
|
|
this.setTop.Name = "setTop"; |
|
|
|
this.setTop.Size = new System.Drawing.Size(68, 24); |
|
|
|
this.setTop.TabIndex = 64; |
|
|
|
this.setTop.Text = "置顶"; |
|
|
|
this.setTop.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// orderLabel
|
|
|
|
//
|
|
|
|
this.orderLabel.AutoSize = true; |
|
|
|
this.orderLabel.Font = new System.Drawing.Font("宋体", 23F); |
|
|
|
this.orderLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.orderLabel.Location = new System.Drawing.Point(63, 10); |
|
|
|
this.orderLabel.Name = "orderLabel"; |
|
|
|
this.orderLabel.Size = new System.Drawing.Size(30, 31); |
|
|
|
this.orderLabel.TabIndex = 63; |
|
|
|
this.orderLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// label2
|
|
|
|
//
|
|
|
|
this.label2.AutoSize = true; |
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label2.Location = new System.Drawing.Point(5, 18); |
|
|
|
this.label2.Name = "label2"; |
|
|
|
this.label2.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.label2.TabIndex = 62; |
|
|
|
this.label2.Text = "顺序:"; |
|
|
|
//
|
|
|
|
// L_ID
|
|
|
|
//
|
|
|
|
this.L_ID.DataPropertyName = "ID"; |
|
|
|
@ -572,14 +586,14 @@ |
|
|
|
this.Text = "上线确认"; |
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.OrderConfirmForm_KeyPress); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.recordGrid)).EndInit(); |
|
|
|
this.panel3.ResumeLayout(false); |
|
|
|
this.panel3.PerformLayout(); |
|
|
|
this.panel2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.panel4.ResumeLayout(false); |
|
|
|
this.panel4.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.recordGrid)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
@ -625,5 +639,6 @@ |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn L_ConfirmNumber; |
|
|
|
private System.Windows.Forms.DataGridViewButtonColumn L_Start; |
|
|
|
private System.Windows.Forms.DataGridViewButtonColumn L_End; |
|
|
|
private System.Windows.Forms.VScrollBar vScrollBar; |
|
|
|
} |
|
|
|
} |