|
|
@ -28,18 +28,19 @@ |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private void InitializeComponent() |
|
|
private void InitializeComponent() |
|
|
{ |
|
|
{ |
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); |
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox(); |
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox(); |
|
|
this.uButton1 = new WinFormControl.UButton(); |
|
|
|
|
|
this.uScanPanel1 = new WinFormControl.UScanPanel(); |
|
|
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
|
|
this.uWeightControl1 = new WinFormControl.UWeightControl(); |
|
|
|
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView(); |
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView(); |
|
|
this.RID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.RID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.RName = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
this.RName = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.uWeightControl1 = new WinFormControl.UWeightControl(); |
|
|
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
|
|
this.uButton1 = new WinFormControl.UButton(); |
|
|
|
|
|
this.uScanPanel1 = new WinFormControl.UScanPanel(); |
|
|
|
|
|
this.tBtn1 = new Test.TBtn(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
this.SuspendLayout(); |
|
|
this.SuspendLayout(); |
|
|
//
|
|
|
//
|
|
|
@ -52,54 +53,6 @@ |
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 28); |
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 28); |
|
|
this.comboBox1.TabIndex = 3; |
|
|
this.comboBox1.TabIndex = 3; |
|
|
//
|
|
|
//
|
|
|
// uButton1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uButton1.BackgroundImage"))); |
|
|
|
|
|
this.uButton1.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
|
|
this.uButton1.FlatAppearance.BorderSize = 0; |
|
|
|
|
|
this.uButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
|
|
this.uButton1.ForeColor = System.Drawing.Color.Black; |
|
|
|
|
|
this.uButton1.Location = new System.Drawing.Point(254, 239); |
|
|
|
|
|
this.uButton1.Name = "uButton1"; |
|
|
|
|
|
this.uButton1.PlaySound = true; |
|
|
|
|
|
this.uButton1.Size = new System.Drawing.Size(130, 47); |
|
|
|
|
|
this.uButton1.SoundType = WinFormControl.SoundType.Di; |
|
|
|
|
|
this.uButton1.TabIndex = 2; |
|
|
|
|
|
this.uButton1.Text = "uButton1"; |
|
|
|
|
|
this.uButton1.UseVisualStyleBackColor = true; |
|
|
|
|
|
this.uButton1.Click += new System.EventHandler(this.uButton1_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// uScanPanel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uScanPanel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uScanPanel1.Location = new System.Drawing.Point(101, 182); |
|
|
|
|
|
this.uScanPanel1.Name = "uScanPanel1"; |
|
|
|
|
|
this.uScanPanel1.Size = new System.Drawing.Size(303, 32); |
|
|
|
|
|
this.uScanPanel1.TabIndex = 1; |
|
|
|
|
|
this.uScanPanel1.BeforeScan += new System.Action(this.uScanPanel1_BeforeScan); |
|
|
|
|
|
this.uScanPanel1.AfterScan += new System.Action(this.uScanPanel1_AfterScan); |
|
|
|
|
|
//
|
|
|
|
|
|
// uTimerLabel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uTimerLabel1.AutoSize = true; |
|
|
|
|
|
this.uTimerLabel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uTimerLabel1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
|
|
this.uTimerLabel1.Format = "M月d日 H:m:s"; |
|
|
|
|
|
this.uTimerLabel1.Location = new System.Drawing.Point(315, 124); |
|
|
|
|
|
this.uTimerLabel1.Name = "uTimerLabel1"; |
|
|
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(159, 20); |
|
|
|
|
|
this.uTimerLabel1.TabIndex = 4; |
|
|
|
|
|
this.uTimerLabel1.Text = "3月30日 11:37:0"; |
|
|
|
|
|
//
|
|
|
|
|
|
// uWeightControl1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uWeightControl1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uWeightControl1.Location = new System.Drawing.Point(12, 12); |
|
|
|
|
|
this.uWeightControl1.Name = "uWeightControl1"; |
|
|
|
|
|
this.uWeightControl1.Size = new System.Drawing.Size(349, 78); |
|
|
|
|
|
this.uWeightControl1.TabIndex = 5; |
|
|
|
|
|
this.uWeightControl1.WeightFalg = null; |
|
|
|
|
|
//
|
|
|
|
|
|
// uDataGridView1
|
|
|
// uDataGridView1
|
|
|
//
|
|
|
//
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
@ -148,12 +101,75 @@ |
|
|
this.RName.Name = "RName"; |
|
|
this.RName.Name = "RName"; |
|
|
this.RName.ReadOnly = true; |
|
|
this.RName.ReadOnly = true; |
|
|
//
|
|
|
//
|
|
|
|
|
|
// uWeightControl1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uWeightControl1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uWeightControl1.Location = new System.Drawing.Point(12, 12); |
|
|
|
|
|
this.uWeightControl1.Name = "uWeightControl1"; |
|
|
|
|
|
this.uWeightControl1.Size = new System.Drawing.Size(349, 78); |
|
|
|
|
|
this.uWeightControl1.TabIndex = 5; |
|
|
|
|
|
this.uWeightControl1.WeightFalg = null; |
|
|
|
|
|
//
|
|
|
|
|
|
// uTimerLabel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uTimerLabel1.AutoSize = true; |
|
|
|
|
|
this.uTimerLabel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uTimerLabel1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
|
|
this.uTimerLabel1.Format = "M月d日 H:m:s"; |
|
|
|
|
|
this.uTimerLabel1.Location = new System.Drawing.Point(315, 124); |
|
|
|
|
|
this.uTimerLabel1.Name = "uTimerLabel1"; |
|
|
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(139, 20); |
|
|
|
|
|
this.uTimerLabel1.TabIndex = 4; |
|
|
|
|
|
this.uTimerLabel1.Text = "4月3日 9:37:9"; |
|
|
|
|
|
//
|
|
|
|
|
|
// uButton1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uButton1.BackgroundImage"))); |
|
|
|
|
|
this.uButton1.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
|
|
this.uButton1.FlatAppearance.BorderSize = 0; |
|
|
|
|
|
this.uButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
|
|
this.uButton1.ForeColor = System.Drawing.Color.Black; |
|
|
|
|
|
this.uButton1.Location = new System.Drawing.Point(254, 239); |
|
|
|
|
|
this.uButton1.Name = "uButton1"; |
|
|
|
|
|
this.uButton1.PlaySound = true; |
|
|
|
|
|
this.uButton1.Size = new System.Drawing.Size(130, 47); |
|
|
|
|
|
this.uButton1.SoundType = WinFormControl.SoundType.Di; |
|
|
|
|
|
this.uButton1.TabIndex = 2; |
|
|
|
|
|
this.uButton1.Text = "uButton1"; |
|
|
|
|
|
this.uButton1.UseVisualStyleBackColor = true; |
|
|
|
|
|
this.uButton1.Click += new System.EventHandler(this.uButton1_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// uScanPanel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uScanPanel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
this.uScanPanel1.Location = new System.Drawing.Point(101, 182); |
|
|
|
|
|
this.uScanPanel1.Name = "uScanPanel1"; |
|
|
|
|
|
this.uScanPanel1.Size = new System.Drawing.Size(303, 32); |
|
|
|
|
|
this.uScanPanel1.TabIndex = 1; |
|
|
|
|
|
this.uScanPanel1.BeforeScan += new System.Action(this.uScanPanel1_BeforeScan); |
|
|
|
|
|
this.uScanPanel1.AfterScan += new System.Action(this.uScanPanel1_AfterScan); |
|
|
|
|
|
//
|
|
|
|
|
|
// tBtn1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.tBtn1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(133)))), ((int)(((byte)(255))))); |
|
|
|
|
|
this.tBtn1.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(204)))), ((int)(((byte)(112))))); |
|
|
|
|
|
this.tBtn1.FlatAppearance.BorderSize = 0; |
|
|
|
|
|
this.tBtn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
|
|
this.tBtn1.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.tBtn1.Location = new System.Drawing.Point(372, 310); |
|
|
|
|
|
this.tBtn1.Name = "tBtn1"; |
|
|
|
|
|
this.tBtn1.Size = new System.Drawing.Size(181, 69); |
|
|
|
|
|
this.tBtn1.TabIndex = 7; |
|
|
|
|
|
this.tBtn1.Text = "tBtn1"; |
|
|
|
|
|
this.tBtn1.UseVisualStyleBackColor = false; |
|
|
|
|
|
//
|
|
|
// Form1
|
|
|
// Form1
|
|
|
//
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
this.ClientSize = new System.Drawing.Size(922, 453); |
|
|
this.ClientSize = new System.Drawing.Size(922, 453); |
|
|
|
|
|
this.Controls.Add(this.tBtn1); |
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
this.Controls.Add(this.uWeightControl1); |
|
|
this.Controls.Add(this.uWeightControl1); |
|
|
this.Controls.Add(this.uTimerLabel1); |
|
|
this.Controls.Add(this.uTimerLabel1); |
|
|
@ -179,5 +195,6 @@ |
|
|
private WinFormControl.UDataGridView uDataGridView1; |
|
|
private WinFormControl.UDataGridView uDataGridView1; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RName; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RName; |
|
|
|
|
|
private TBtn tBtn1; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |