|
|
namespace Test
|
|
|
{
|
|
|
partial class Form1
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// Required designer variable.
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Clean up any resources being used.
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
/// <summary>
|
|
|
/// Required method for Designer support - do not modify
|
|
|
/// the contents of this method with the code editor.
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView();
|
|
|
this.RID = 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();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// comboBox1
|
|
|
//
|
|
|
this.comboBox1.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.comboBox1.FormattingEnabled = true;
|
|
|
this.comboBox1.Location = new System.Drawing.Point(53, 239);
|
|
|
this.comboBox1.Name = "comboBox1";
|
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 28);
|
|
|
this.comboBox1.TabIndex = 3;
|
|
|
//
|
|
|
// uDataGridView1
|
|
|
//
|
|
|
this.uDataGridView1.AllowUserToAddRows = false;
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false;
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false;
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false;
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.uDataGridView1.BackgroundColor = System.Drawing.Color.White;
|
|
|
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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.RID,
|
|
|
this.RName});
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(558, 47);
|
|
|
this.uDataGridView1.MultiSelect = false;
|
|
|
this.uDataGridView1.Name = "uDataGridView1";
|
|
|
this.uDataGridView1.ReadOnly = true;
|
|
|
this.uDataGridView1.RowHeadersVisible = false;
|
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218)))));
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
|
|
this.uDataGridView1.RowTemplate.Height = 23;
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(259, 196);
|
|
|
this.uDataGridView1.TabIndex = 6;
|
|
|
this.uDataGridView1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.uDataGridView1_CellMouseDown);
|
|
|
this.uDataGridView1.CellMouseMove += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.uDataGridView1_CellMouseMove);
|
|
|
this.uDataGridView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.uDataGridView1_DragDrop);
|
|
|
//
|
|
|
// RID
|
|
|
//
|
|
|
this.RID.DataPropertyName = "ID";
|
|
|
this.RID.HeaderText = "序号";
|
|
|
this.RID.Name = "RID";
|
|
|
this.RID.ReadOnly = true;
|
|
|
//
|
|
|
// RName
|
|
|
//
|
|
|
this.RName.DataPropertyName = "Name";
|
|
|
this.RName.HeaderText = "名称";
|
|
|
this.RName.Name = "RName";
|
|
|
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
|
|
|
//
|
|
|
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(922, 453);
|
|
|
this.Controls.Add(this.tBtn1);
|
|
|
this.Controls.Add(this.uDataGridView1);
|
|
|
this.Controls.Add(this.uWeightControl1);
|
|
|
this.Controls.Add(this.uTimerLabel1);
|
|
|
this.Controls.Add(this.comboBox1);
|
|
|
this.Controls.Add(this.uButton1);
|
|
|
this.Controls.Add(this.uScanPanel1);
|
|
|
this.KeyPreview = true;
|
|
|
this.Name = "Form1";
|
|
|
this.Text = "Form1";
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private WinFormControl.UScanPanel uScanPanel1;
|
|
|
private WinFormControl.UButton uButton1;
|
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
|
private WinFormControl.UTimerLabel uTimerLabel1;
|
|
|
private WinFormControl.UWeightControl uWeightControl1;
|
|
|
private WinFormControl.UDataGridView uDataGridView1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RID;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RName;
|
|
|
private TBtn tBtn1;
|
|
|
}
|
|
|
}
|