|
@@ -0,0 +1,330 @@
|
|
|
+using System.Windows.Forms;
|
|
|
+
|
|
|
+namespace lqnet.Forms
|
|
|
+{
|
|
|
+ partial class MainForm
|
|
|
+ {
|
|
|
+ /// <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 (this.DisposeParentFormIs)
|
|
|
+ {
|
|
|
+ this.ParentFormLogin.Dispose();
|
|
|
+ }
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 控件闪烁
|
|
|
+ /// </summary>
|
|
|
+ protected override CreateParams CreateParams
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ CreateParams cp = base.CreateParams;
|
|
|
+ cp.ExStyle |= 0x02000000;
|
|
|
+ return cp;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ #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()
|
|
|
+ {
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
+ this.prodtBatch_sel = new System.Windows.Forms.TextBox();
|
|
|
+ this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
+ this.CheckItemComboBox = new System.Windows.Forms.ComboBox();
|
|
|
+ this.reLogin = new System.Windows.Forms.Button();
|
|
|
+ this.slectBt = new System.Windows.Forms.Button();
|
|
|
+ this.button1 = new System.Windows.Forms.Button();
|
|
|
+ this.selectFileBt = new System.Windows.Forms.Button();
|
|
|
+ this.currentFilePath = new System.Windows.Forms.TextBox();
|
|
|
+ this.button2 = new System.Windows.Forms.Button();
|
|
|
+ this.button3 = new System.Windows.Forms.Button();
|
|
|
+ this.currentCheckItem = new System.Windows.Forms.TextBox();
|
|
|
+ this.uploadTrueBt = new System.Windows.Forms.Button();
|
|
|
+ this.version = new System.Windows.Forms.Button();
|
|
|
+ this.pageHelper2 = new lqnet.Utils.PageHelper();
|
|
|
+ this.numDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.taskListBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // prodtBatch_sel
|
|
|
+ //
|
|
|
+ this.prodtBatch_sel.Location = new System.Drawing.Point(156, 26);
|
|
|
+ this.prodtBatch_sel.Name = "prodtBatch_sel";
|
|
|
+ this.prodtBatch_sel.Size = new System.Drawing.Size(247, 35);
|
|
|
+ this.prodtBatch_sel.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // Index
|
|
|
+ //
|
|
|
+ this.Index.DataPropertyName = "Index";
|
|
|
+ this.Index.HeaderText = "序号";
|
|
|
+ this.Index.MinimumWidth = 10;
|
|
|
+ this.Index.Name = "Index";
|
|
|
+ this.Index.ReadOnly = true;
|
|
|
+ this.Index.Width = 110;
|
|
|
+ //
|
|
|
+ // dataGridView1
|
|
|
+ //
|
|
|
+ this.dataGridView1.AutoGenerateColumns = false;
|
|
|
+ this.dataGridView1.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
+ this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
+ this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
+ this.Index,
|
|
|
+ this.numDataGridViewTextBoxColumn,
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn,
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn,
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn});
|
|
|
+ this.dataGridView1.DataSource = this.taskListBindingSource;
|
|
|
+ this.dataGridView1.Location = new System.Drawing.Point(11, 67);
|
|
|
+ this.dataGridView1.MultiSelect = false;
|
|
|
+ this.dataGridView1.Name = "dataGridView1";
|
|
|
+ this.dataGridView1.ReadOnly = true;
|
|
|
+ this.dataGridView1.RowHeadersVisible = false;
|
|
|
+ this.dataGridView1.RowHeadersWidth = 82;
|
|
|
+ this.dataGridView1.RowTemplate.Height = 37;
|
|
|
+ this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
+ this.dataGridView1.ShowCellToolTips = false;
|
|
|
+ this.dataGridView1.Size = new System.Drawing.Size(1088, 266);
|
|
|
+ this.dataGridView1.TabIndex = 2;
|
|
|
+ this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellClick);
|
|
|
+ //
|
|
|
+ // CheckItemComboBox
|
|
|
+ //
|
|
|
+ this.CheckItemComboBox.DisplayMember = "checkName";
|
|
|
+ this.CheckItemComboBox.FormattingEnabled = true;
|
|
|
+ this.CheckItemComboBox.Items.AddRange(new object[] {
|
|
|
+ "绝缘介电强度",
|
|
|
+ "外观/尺寸"});
|
|
|
+ this.CheckItemComboBox.Location = new System.Drawing.Point(19, 357);
|
|
|
+ this.CheckItemComboBox.Name = "CheckItemComboBox";
|
|
|
+ this.CheckItemComboBox.Size = new System.Drawing.Size(240, 32);
|
|
|
+ this.CheckItemComboBox.TabIndex = 5;
|
|
|
+ this.CheckItemComboBox.SelectionChangeCommitted += new System.EventHandler(this.CheckItemComboBox_SelectionChangeCommitted);
|
|
|
+ //
|
|
|
+ // reLogin
|
|
|
+ //
|
|
|
+ this.reLogin.Location = new System.Drawing.Point(940, 6);
|
|
|
+ this.reLogin.Name = "reLogin";
|
|
|
+ this.reLogin.Size = new System.Drawing.Size(120, 59);
|
|
|
+ this.reLogin.TabIndex = 6;
|
|
|
+ this.reLogin.Text = "重新登录";
|
|
|
+ this.reLogin.UseVisualStyleBackColor = true;
|
|
|
+ this.reLogin.Click += new System.EventHandler(this.Button1_Click);
|
|
|
+ //
|
|
|
+ // slectBt
|
|
|
+ //
|
|
|
+ this.slectBt.Location = new System.Drawing.Point(409, 26);
|
|
|
+ this.slectBt.Name = "slectBt";
|
|
|
+ this.slectBt.Size = new System.Drawing.Size(91, 39);
|
|
|
+ this.slectBt.TabIndex = 7;
|
|
|
+ this.slectBt.Text = "搜索";
|
|
|
+ this.slectBt.UseVisualStyleBackColor = true;
|
|
|
+ this.slectBt.Click += new System.EventHandler(this.SlectBt_Click);
|
|
|
+ //
|
|
|
+ // button1
|
|
|
+ //
|
|
|
+ this.button1.Location = new System.Drawing.Point(12, 26);
|
|
|
+ this.button1.Name = "button1";
|
|
|
+ this.button1.Size = new System.Drawing.Size(126, 39);
|
|
|
+ this.button1.TabIndex = 8;
|
|
|
+ this.button1.Text = "产品代号";
|
|
|
+ this.button1.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // selectFileBt
|
|
|
+ //
|
|
|
+ this.selectFileBt.Location = new System.Drawing.Point(19, 400);
|
|
|
+ this.selectFileBt.Name = "selectFileBt";
|
|
|
+ this.selectFileBt.Size = new System.Drawing.Size(240, 66);
|
|
|
+ this.selectFileBt.TabIndex = 9;
|
|
|
+ this.selectFileBt.Text = "选择数据文件";
|
|
|
+ this.selectFileBt.UseVisualStyleBackColor = true;
|
|
|
+ this.selectFileBt.Click += new System.EventHandler(this.SelectFileBt_Click);
|
|
|
+ //
|
|
|
+ // currentFilePath
|
|
|
+ //
|
|
|
+ this.currentFilePath.Enabled = false;
|
|
|
+ this.currentFilePath.Font = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.currentFilePath.Location = new System.Drawing.Point(300, 486);
|
|
|
+ this.currentFilePath.Multiline = true;
|
|
|
+ this.currentFilePath.Name = "currentFilePath";
|
|
|
+ this.currentFilePath.Size = new System.Drawing.Size(799, 63);
|
|
|
+ this.currentFilePath.TabIndex = 10;
|
|
|
+ //
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ this.button2.Location = new System.Drawing.Point(300, 358);
|
|
|
+ this.button2.Name = "button2";
|
|
|
+ this.button2.Size = new System.Drawing.Size(247, 35);
|
|
|
+ this.button2.TabIndex = 15;
|
|
|
+ this.button2.Text = "当前已选中检验项:";
|
|
|
+ this.button2.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // button3
|
|
|
+ //
|
|
|
+ this.button3.Location = new System.Drawing.Point(300, 441);
|
|
|
+ this.button3.Name = "button3";
|
|
|
+ this.button3.Size = new System.Drawing.Size(247, 39);
|
|
|
+ this.button3.TabIndex = 16;
|
|
|
+ this.button3.Text = "当前选择数据文件:";
|
|
|
+ this.button3.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // currentCheckItem
|
|
|
+ //
|
|
|
+ this.currentCheckItem.Enabled = false;
|
|
|
+ this.currentCheckItem.Location = new System.Drawing.Point(300, 400);
|
|
|
+ this.currentCheckItem.Name = "currentCheckItem";
|
|
|
+ this.currentCheckItem.Size = new System.Drawing.Size(326, 35);
|
|
|
+ this.currentCheckItem.TabIndex = 17;
|
|
|
+ //
|
|
|
+ // uploadTrueBt
|
|
|
+ //
|
|
|
+ this.uploadTrueBt.Location = new System.Drawing.Point(18, 483);
|
|
|
+ this.uploadTrueBt.Name = "uploadTrueBt";
|
|
|
+ this.uploadTrueBt.Size = new System.Drawing.Size(240, 66);
|
|
|
+ this.uploadTrueBt.TabIndex = 19;
|
|
|
+ this.uploadTrueBt.Text = "确认上传";
|
|
|
+ this.uploadTrueBt.UseVisualStyleBackColor = true;
|
|
|
+ this.uploadTrueBt.Click += new System.EventHandler(this.UploadTrueBt_Click);
|
|
|
+ //
|
|
|
+ // version
|
|
|
+ //
|
|
|
+ this.version.Location = new System.Drawing.Point(918, 546);
|
|
|
+ this.version.Name = "version";
|
|
|
+ this.version.Size = new System.Drawing.Size(181, 41);
|
|
|
+ this.version.TabIndex = 21;
|
|
|
+ this.version.Text = "version 1.0.0";
|
|
|
+ this.version.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // pageHelper2
|
|
|
+ //
|
|
|
+ this.pageHelper2.AllPage = 1;
|
|
|
+ this.pageHelper2.Location = new System.Drawing.Point(11, 296);
|
|
|
+ this.pageHelper2.Name = "pageHelper2";
|
|
|
+ this.pageHelper2.NowPage = 1;
|
|
|
+ this.pageHelper2.PageSize = 5;
|
|
|
+ this.pageHelper2.Size = new System.Drawing.Size(1088, 56);
|
|
|
+ this.pageHelper2.TabIndex = 20;
|
|
|
+ this.pageHelper2.Total = 0;
|
|
|
+ this.pageHelper2.Load += new System.EventHandler(this.PageHelper2_Load);
|
|
|
+ //
|
|
|
+ // numDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.numDataGridViewTextBoxColumn.DataPropertyName = "Num";
|
|
|
+ this.numDataGridViewTextBoxColumn.HeaderText = "数量";
|
|
|
+ this.numDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.numDataGridViewTextBoxColumn.Name = "numDataGridViewTextBoxColumn";
|
|
|
+ this.numDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.numDataGridViewTextBoxColumn.Width = 110;
|
|
|
+ //
|
|
|
+ // groupOrderCodeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderCode";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.HeaderText = "调度单号";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Name = "groupOrderCodeDataGridViewTextBoxColumn";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // prodtGroupTypeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.DataPropertyName = "ProdtGroupType";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.HeaderText = "任务组";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.Name = "prodtGroupTypeDataGridViewTextBoxColumn";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // prodtBatchDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.DataPropertyName = "ProdtBatch";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.HeaderText = "生产批次";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Name = "prodtBatchDataGridViewTextBoxColumn";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // taskListBindingSource
|
|
|
+ //
|
|
|
+ this.taskListBindingSource.DataSource = typeof(lqnet.Entities.Tasks);
|
|
|
+ //
|
|
|
+ // MainForm
|
|
|
+ //
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
|
|
+ this.ClientSize = new System.Drawing.Size(1114, 599);
|
|
|
+ this.Controls.Add(this.version);
|
|
|
+ this.Controls.Add(this.pageHelper2);
|
|
|
+ this.Controls.Add(this.uploadTrueBt);
|
|
|
+ this.Controls.Add(this.currentCheckItem);
|
|
|
+ this.Controls.Add(this.button3);
|
|
|
+ this.Controls.Add(this.button2);
|
|
|
+ this.Controls.Add(this.currentFilePath);
|
|
|
+ this.Controls.Add(this.selectFileBt);
|
|
|
+ this.Controls.Add(this.button1);
|
|
|
+ this.Controls.Add(this.slectBt);
|
|
|
+ this.Controls.Add(this.reLogin);
|
|
|
+ this.Controls.Add(this.CheckItemComboBox);
|
|
|
+ this.Controls.Add(this.dataGridView1);
|
|
|
+ this.Controls.Add(this.prodtBatch_sel);
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
+ this.MaximizeBox = false;
|
|
|
+ this.Name = "MainForm";
|
|
|
+ this.Text = "TDM测试台数据传输终端";
|
|
|
+ this.Load += new System.EventHandler(this.Main_Load);
|
|
|
+ this.Shown += new System.EventHandler(this.MainForm_Shown);
|
|
|
+ this.Paint += new System.Windows.Forms.PaintEventHandler(this.Boder_Paint);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+ private BindingSource taskListBindingSource;
|
|
|
+ private TextBox prodtBatch_sel;
|
|
|
+ private DataGridViewTextBoxColumn prodtBatchDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn prodtGroupTypeDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn groupOrderCodeDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn numDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn Index;
|
|
|
+ private DataGridView dataGridView1;
|
|
|
+ private ComboBox CheckItemComboBox;
|
|
|
+ private Button reLogin;
|
|
|
+ private Button slectBt;
|
|
|
+ private Button button1;
|
|
|
+ private Button selectFileBt;
|
|
|
+ private TextBox currentFilePath;
|
|
|
+ private Button button2;
|
|
|
+ private Button button3;
|
|
|
+ private TextBox currentCheckItem;
|
|
|
+ private Button uploadTrueBt;
|
|
|
+ private Utils.PageHelper pageHelper2;
|
|
|
+ private Button version;
|
|
|
+ }
|
|
|
+}
|