|
|
|
@ -31,18 +31,12 @@ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightRecordDialog)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightRecordDialog)); |
|
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView(); |
|
|
|
this.addBtn = new WinFormControl.UButton(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
this.deleteBtn = new WinFormControl.UButton(); |
|
|
|
this.weightLabel = new WinFormControl.ULabel(); |
|
|
|
this.rollBackBtn = new WinFormControl.UButton(); |
|
|
|
this.R_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_Selected = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_Image = new System.Windows.Forms.DataGridViewImageColumn(); |
|
|
|
@ -56,6 +50,11 @@ |
|
|
|
this.R_DiffWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_Operator = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.R_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.addBtn = new WinFormControl.UButton(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.rollBackBtn = new WinFormControl.UButton(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
this.deleteBtn = new WinFormControl.UButton(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
@ -108,120 +107,6 @@ |
|
|
|
this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick); |
|
|
|
this.uDataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.uDataGridView1_CellFormatting); |
|
|
|
//
|
|
|
|
// addBtn
|
|
|
|
//
|
|
|
|
this.addBtn.AsClicked = false; |
|
|
|
this.addBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("addBtn.BackgroundImage"))); |
|
|
|
this.addBtn.EnableGroup = false; |
|
|
|
this.addBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.addBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.addBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.addBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.addBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.addBtn.Location = new System.Drawing.Point(3, 5); |
|
|
|
this.addBtn.Name = "addBtn"; |
|
|
|
this.addBtn.PlaySound = false; |
|
|
|
this.addBtn.SelfControlEnable = false; |
|
|
|
this.addBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.addBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.addBtn.TabIndex = 1; |
|
|
|
this.addBtn.Text = "新增"; |
|
|
|
this.addBtn.UseVisualStyleBackColor = true; |
|
|
|
this.addBtn.WithStataHode = false; |
|
|
|
this.addBtn.Click += new System.EventHandler(this.addBtn_Click); |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel1.Controls.Add(this.rollBackBtn); |
|
|
|
this.panel1.Controls.Add(this.closeBtn); |
|
|
|
this.panel1.Controls.Add(this.deleteBtn); |
|
|
|
this.panel1.Controls.Add(this.addBtn); |
|
|
|
this.panel1.Location = new System.Drawing.Point(185, 468); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(776, 52); |
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.AsClicked = false; |
|
|
|
this.closeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("closeBtn.BackgroundImage"))); |
|
|
|
this.closeBtn.EnableGroup = false; |
|
|
|
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.closeBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(623, 5); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.PlaySound = false; |
|
|
|
this.closeBtn.SelfControlEnable = false; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.closeBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.closeBtn.TabIndex = 3; |
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.WithStataHode = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// deleteBtn
|
|
|
|
//
|
|
|
|
this.deleteBtn.AsClicked = false; |
|
|
|
this.deleteBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("deleteBtn.BackgroundImage"))); |
|
|
|
this.deleteBtn.EnableGroup = false; |
|
|
|
this.deleteBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.deleteBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(204, 5); |
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
this.deleteBtn.PlaySound = false; |
|
|
|
this.deleteBtn.SelfControlEnable = false; |
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.deleteBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.deleteBtn.TabIndex = 2; |
|
|
|
this.deleteBtn.Text = "删除且更新"; |
|
|
|
this.deleteBtn.UseVisualStyleBackColor = true; |
|
|
|
this.deleteBtn.WithStataHode = false; |
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
//
|
|
|
|
// weightLabel
|
|
|
|
//
|
|
|
|
this.weightLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.weightLabel.AutoSize = true; |
|
|
|
this.weightLabel.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.weightLabel.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.weightLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.weightLabel.Location = new System.Drawing.Point(18, 483); |
|
|
|
this.weightLabel.Name = "weightLabel"; |
|
|
|
this.weightLabel.Size = new System.Drawing.Size(79, 20); |
|
|
|
this.weightLabel.TabIndex = 3; |
|
|
|
this.weightLabel.Text = "uLabel1"; |
|
|
|
//
|
|
|
|
// rollBackBtn
|
|
|
|
//
|
|
|
|
this.rollBackBtn.AsClicked = false; |
|
|
|
this.rollBackBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("rollBackBtn.BackgroundImage"))); |
|
|
|
this.rollBackBtn.EnableGroup = false; |
|
|
|
this.rollBackBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.rollBackBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.rollBackBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.rollBackBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.rollBackBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.rollBackBtn.Location = new System.Drawing.Point(414, 5); |
|
|
|
this.rollBackBtn.Name = "rollBackBtn"; |
|
|
|
this.rollBackBtn.PlaySound = false; |
|
|
|
this.rollBackBtn.SelfControlEnable = false; |
|
|
|
this.rollBackBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.rollBackBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.rollBackBtn.TabIndex = 4; |
|
|
|
this.rollBackBtn.Text = "退回"; |
|
|
|
this.rollBackBtn.UseVisualStyleBackColor = true; |
|
|
|
this.rollBackBtn.WithStataHode = false; |
|
|
|
this.rollBackBtn.Click += new System.EventHandler(this.rollBackBtn_Click); |
|
|
|
//
|
|
|
|
// R_ID
|
|
|
|
//
|
|
|
|
this.R_ID.DataPropertyName = "ID"; |
|
|
|
@ -333,13 +218,113 @@ |
|
|
|
this.R_Time.ReadOnly = true; |
|
|
|
this.R_Time.Width = 120; |
|
|
|
//
|
|
|
|
// addBtn
|
|
|
|
//
|
|
|
|
this.addBtn.AsClicked = false; |
|
|
|
this.addBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("addBtn.BackgroundImage"))); |
|
|
|
this.addBtn.EnableGroup = false; |
|
|
|
this.addBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.addBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.addBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.addBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.addBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.addBtn.Location = new System.Drawing.Point(3, 5); |
|
|
|
this.addBtn.Name = "addBtn"; |
|
|
|
this.addBtn.PlaySound = false; |
|
|
|
this.addBtn.SelfControlEnable = false; |
|
|
|
this.addBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.addBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.addBtn.TabIndex = 1; |
|
|
|
this.addBtn.Text = "新增"; |
|
|
|
this.addBtn.UseVisualStyleBackColor = true; |
|
|
|
this.addBtn.WithStataHode = false; |
|
|
|
this.addBtn.Click += new System.EventHandler(this.addBtn_Click); |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel1.Controls.Add(this.rollBackBtn); |
|
|
|
this.panel1.Controls.Add(this.closeBtn); |
|
|
|
this.panel1.Controls.Add(this.deleteBtn); |
|
|
|
this.panel1.Controls.Add(this.addBtn); |
|
|
|
this.panel1.Location = new System.Drawing.Point(185, 468); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(776, 52); |
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
//
|
|
|
|
// rollBackBtn
|
|
|
|
//
|
|
|
|
this.rollBackBtn.AsClicked = false; |
|
|
|
this.rollBackBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("rollBackBtn.BackgroundImage"))); |
|
|
|
this.rollBackBtn.EnableGroup = false; |
|
|
|
this.rollBackBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.rollBackBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.rollBackBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.rollBackBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.rollBackBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.rollBackBtn.Location = new System.Drawing.Point(414, 5); |
|
|
|
this.rollBackBtn.Name = "rollBackBtn"; |
|
|
|
this.rollBackBtn.PlaySound = false; |
|
|
|
this.rollBackBtn.SelfControlEnable = false; |
|
|
|
this.rollBackBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.rollBackBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.rollBackBtn.TabIndex = 4; |
|
|
|
this.rollBackBtn.Text = "退回"; |
|
|
|
this.rollBackBtn.UseVisualStyleBackColor = true; |
|
|
|
this.rollBackBtn.WithStataHode = false; |
|
|
|
this.rollBackBtn.Click += new System.EventHandler(this.rollBackBtn_Click); |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.AsClicked = false; |
|
|
|
this.closeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("closeBtn.BackgroundImage"))); |
|
|
|
this.closeBtn.EnableGroup = false; |
|
|
|
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.closeBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(623, 5); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.PlaySound = false; |
|
|
|
this.closeBtn.SelfControlEnable = false; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.closeBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.closeBtn.TabIndex = 3; |
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.WithStataHode = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// deleteBtn
|
|
|
|
//
|
|
|
|
this.deleteBtn.AsClicked = false; |
|
|
|
this.deleteBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("deleteBtn.BackgroundImage"))); |
|
|
|
this.deleteBtn.EnableGroup = false; |
|
|
|
this.deleteBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.deleteBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(204, 5); |
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
this.deleteBtn.PlaySound = false; |
|
|
|
this.deleteBtn.SelfControlEnable = false; |
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
this.deleteBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.deleteBtn.TabIndex = 2; |
|
|
|
this.deleteBtn.Text = "删除且更新"; |
|
|
|
this.deleteBtn.UseVisualStyleBackColor = true; |
|
|
|
this.deleteBtn.WithStataHode = false; |
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
//
|
|
|
|
// WeightRecordDialog
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
this.ClientSize = new System.Drawing.Size(1069, 528); |
|
|
|
this.Controls.Add(this.weightLabel); |
|
|
|
this.Controls.Add(this.panel1); |
|
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
|
|
|
@ -350,7 +335,6 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@ -361,7 +345,6 @@ |
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
private WinFormControl.UButton deleteBtn; |
|
|
|
private WinFormControl.UButton closeBtn; |
|
|
|
private WinFormControl.ULabel weightLabel; |
|
|
|
private WinFormControl.UButton rollBackBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Selected; |
|
|
|
|