2020-12-18 11:10:50 +08:00
|
|
|
|
|
|
|
|
|
|
namespace U8AppMain
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class FrmMain
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 必需的设计器变量。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 清理所有正在使用的资源。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
|
|
|
this.操作ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.BtnReadExcel = new System.Windows.Forms.ToolStripMenuItem();
|
2021-01-07 14:06:26 +08:00
|
|
|
|
this.登录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2021-01-12 14:45:59 +08:00
|
|
|
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
|
2021-01-12 16:10:37 +08:00
|
|
|
|
this.材料出库单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.导入ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.ImportBom = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.BtnPurchaseImport = new System.Windows.Forms.ToolStripMenuItem();
|
2020-12-25 11:07:27 +08:00
|
|
|
|
this.领料单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2021-01-05 11:11:28 +08:00
|
|
|
|
this.打印ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.打印ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
|
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
2020-12-19 15:30:38 +08:00
|
|
|
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
2021-01-12 16:10:37 +08:00
|
|
|
|
this.其他入库ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.menuStrip1.SuspendLayout();
|
|
|
|
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
|
|
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
|
|
|
|
this.splitContainer1.SuspendLayout();
|
2021-01-07 14:06:26 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
2020-12-19 13:04:35 +08:00
|
|
|
|
// menuStrip1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.menuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
|
|
|
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
|
this.操作ToolStripMenuItem,
|
2020-12-25 11:07:27 +08:00
|
|
|
|
this.导入ToolStripMenuItem,
|
|
|
|
|
|
this.打印ToolStripMenuItem});
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
|
|
|
|
this.menuStrip1.Padding = new System.Windows.Forms.Padding(9, 4, 0, 4);
|
|
|
|
|
|
this.menuStrip1.Size = new System.Drawing.Size(1200, 27);
|
|
|
|
|
|
this.menuStrip1.TabIndex = 0;
|
|
|
|
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
|
|
|
|
//
|
|
|
|
|
|
// 操作ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.操作ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2021-01-05 11:11:28 +08:00
|
|
|
|
this.BtnReadExcel,
|
2021-01-07 14:06:26 +08:00
|
|
|
|
this.登录ToolStripMenuItem,
|
2021-01-12 14:45:59 +08:00
|
|
|
|
this.toolStripMenuItem2,
|
2021-01-12 16:10:37 +08:00
|
|
|
|
this.材料出库单ToolStripMenuItem,
|
|
|
|
|
|
this.其他入库ToolStripMenuItem});
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.操作ToolStripMenuItem.Name = "操作ToolStripMenuItem";
|
|
|
|
|
|
this.操作ToolStripMenuItem.Size = new System.Drawing.Size(45, 19);
|
|
|
|
|
|
this.操作ToolStripMenuItem.Text = "文件";
|
|
|
|
|
|
//
|
|
|
|
|
|
// BtnReadExcel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.BtnReadExcel.Name = "BtnReadExcel";
|
2020-12-25 11:07:27 +08:00
|
|
|
|
this.BtnReadExcel.Size = new System.Drawing.Size(180, 22);
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.BtnReadExcel.Text = "读取Excel";
|
|
|
|
|
|
this.BtnReadExcel.Click += new System.EventHandler(this.BtnReadExcel_Click);
|
|
|
|
|
|
//
|
2021-01-07 14:06:26 +08:00
|
|
|
|
// 登录ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.登录ToolStripMenuItem.Name = "登录ToolStripMenuItem";
|
|
|
|
|
|
this.登录ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
|
|
|
|
this.登录ToolStripMenuItem.Text = "登录";
|
|
|
|
|
|
this.登录ToolStripMenuItem.Click += new System.EventHandler(this.登录ToolStripMenuItem_Click);
|
|
|
|
|
|
//
|
2021-01-12 14:45:59 +08:00
|
|
|
|
// toolStripMenuItem2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
|
|
|
|
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(180, 22);
|
|
|
|
|
|
this.toolStripMenuItem2.Text = "采购入库单";
|
|
|
|
|
|
this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
|
|
|
|
|
|
//
|
2021-01-12 16:10:37 +08:00
|
|
|
|
// 材料出库单ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.材料出库单ToolStripMenuItem.Name = "材料出库单ToolStripMenuItem";
|
|
|
|
|
|
this.材料出库单ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
|
|
|
|
this.材料出库单ToolStripMenuItem.Text = "材料出库单";
|
|
|
|
|
|
this.材料出库单ToolStripMenuItem.Click += new System.EventHandler(this.材料出库单ToolStripMenuItem_Click);
|
|
|
|
|
|
//
|
2020-12-19 13:04:35 +08:00
|
|
|
|
// 导入ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.导入ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
|
this.ImportBom,
|
2020-12-19 15:30:38 +08:00
|
|
|
|
this.BtnPurchaseImport,
|
|
|
|
|
|
this.领料单ToolStripMenuItem});
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.导入ToolStripMenuItem.Name = "导入ToolStripMenuItem";
|
|
|
|
|
|
this.导入ToolStripMenuItem.Size = new System.Drawing.Size(45, 19);
|
|
|
|
|
|
this.导入ToolStripMenuItem.Text = "导入";
|
|
|
|
|
|
//
|
|
|
|
|
|
// ImportBom
|
|
|
|
|
|
//
|
|
|
|
|
|
this.ImportBom.Name = "ImportBom";
|
2021-01-05 11:11:28 +08:00
|
|
|
|
this.ImportBom.Size = new System.Drawing.Size(113, 22);
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.ImportBom.Text = "BOM";
|
|
|
|
|
|
this.ImportBom.Click += new System.EventHandler(this.ImportBom_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// BtnPurchaseImport
|
|
|
|
|
|
//
|
|
|
|
|
|
this.BtnPurchaseImport.Name = "BtnPurchaseImport";
|
2021-01-05 11:11:28 +08:00
|
|
|
|
this.BtnPurchaseImport.Size = new System.Drawing.Size(113, 22);
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.BtnPurchaseImport.Text = "请购单";
|
|
|
|
|
|
this.BtnPurchaseImport.Click += new System.EventHandler(this.BtnPurchaseImport_Click);
|
|
|
|
|
|
//
|
2020-12-25 11:07:27 +08:00
|
|
|
|
// 领料单ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.领料单ToolStripMenuItem.Name = "领料单ToolStripMenuItem";
|
2021-01-05 11:11:28 +08:00
|
|
|
|
this.领料单ToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
|
2020-12-25 11:07:27 +08:00
|
|
|
|
this.领料单ToolStripMenuItem.Text = "领料单";
|
|
|
|
|
|
this.领料单ToolStripMenuItem.Click += new System.EventHandler(this.领料单ToolStripMenuItem_Click);
|
|
|
|
|
|
//
|
2021-01-05 11:11:28 +08:00
|
|
|
|
// 打印ToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.打印ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
|
this.打印ToolStripMenuItem1});
|
|
|
|
|
|
this.打印ToolStripMenuItem.Name = "打印ToolStripMenuItem";
|
|
|
|
|
|
this.打印ToolStripMenuItem.Size = new System.Drawing.Size(45, 19);
|
|
|
|
|
|
this.打印ToolStripMenuItem.Text = "打印";
|
|
|
|
|
|
//
|
|
|
|
|
|
// 打印ToolStripMenuItem1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.打印ToolStripMenuItem1.Name = "打印ToolStripMenuItem1";
|
|
|
|
|
|
this.打印ToolStripMenuItem1.Size = new System.Drawing.Size(100, 22);
|
|
|
|
|
|
this.打印ToolStripMenuItem1.Text = "打印";
|
|
|
|
|
|
this.打印ToolStripMenuItem1.Click += new System.EventHandler(this.打印ToolStripMenuItem1_Click);
|
|
|
|
|
|
//
|
2020-12-19 13:04:35 +08:00
|
|
|
|
// splitContainer1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 27);
|
|
|
|
|
|
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
|
|
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
|
|
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer1.Panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.dataGridView1);
|
|
|
|
|
|
//
|
|
|
|
|
|
// splitContainer1.Panel2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.richTextBox1);
|
|
|
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1200, 722);
|
|
|
|
|
|
this.splitContainer1.SplitterDistance = 450;
|
|
|
|
|
|
this.splitContainer1.TabIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// dataGridView1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
|
|
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
|
|
|
|
this.dataGridView1.AllowUserToOrderColumns = true;
|
|
|
|
|
|
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
|
|
|
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
|
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.dataGridView1.GridColor = System.Drawing.SystemColors.ActiveBorder;
|
|
|
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
2020-12-19 15:30:38 +08:00
|
|
|
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(4);
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
|
|
|
|
this.dataGridView1.ReadOnly = true;
|
|
|
|
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
|
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(1200, 450);
|
|
|
|
|
|
this.dataGridView1.TabIndex = 0;
|
2020-12-18 16:35:46 +08:00
|
|
|
|
//
|
2020-12-19 15:30:38 +08:00
|
|
|
|
// richTextBox1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.richTextBox1.BackColor = System.Drawing.Color.White;
|
|
|
|
|
|
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
|
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.richTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
|
|
|
|
this.richTextBox1.Name = "richTextBox1";
|
|
|
|
|
|
this.richTextBox1.ReadOnly = true;
|
|
|
|
|
|
this.richTextBox1.Size = new System.Drawing.Size(1200, 268);
|
|
|
|
|
|
this.richTextBox1.TabIndex = 0;
|
|
|
|
|
|
this.richTextBox1.Text = "";
|
|
|
|
|
|
this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
|
|
|
|
|
|
//
|
2021-01-12 16:10:37 +08:00
|
|
|
|
// 其他入库ToolStripMenuItem
|
2020-12-19 15:30:38 +08:00
|
|
|
|
//
|
2021-01-12 16:10:37 +08:00
|
|
|
|
this.其他入库ToolStripMenuItem.Name = "其他入库ToolStripMenuItem";
|
|
|
|
|
|
this.其他入库ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
|
|
|
|
this.其他入库ToolStripMenuItem.Text = "其他入库";
|
|
|
|
|
|
this.其他入库ToolStripMenuItem.Click += new System.EventHandler(this.其他入库ToolStripMenuItem_Click);
|
2020-12-19 15:30:38 +08:00
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
// FrmMain
|
2020-12-18 11:10:50 +08:00
|
|
|
|
//
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(1200, 749);
|
|
|
|
|
|
this.Controls.Add(this.splitContainer1);
|
|
|
|
|
|
this.Controls.Add(this.menuStrip1);
|
|
|
|
|
|
this.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.Name = "FrmMain";
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.Text = "U8导入";
|
|
|
|
|
|
this.menuStrip1.ResumeLayout(false);
|
|
|
|
|
|
this.menuStrip1.PerformLayout();
|
|
|
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
|
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
|
|
|
|
this.splitContainer1.ResumeLayout(false);
|
2021-01-07 14:06:26 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.ResumeLayout(false);
|
2020-12-19 13:04:35 +08:00
|
|
|
|
this.PerformLayout();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
2020-12-19 13:04:35 +08:00
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 操作ToolStripMenuItem;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem BtnReadExcel;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 导入ToolStripMenuItem;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem ImportBom;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem BtnPurchaseImport;
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
|
|
|
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
2020-12-19 15:30:38 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 领料单ToolStripMenuItem;
|
2020-12-25 11:07:27 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 打印ToolStripMenuItem;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 打印ToolStripMenuItem1;
|
2021-01-05 11:11:28 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 登录ToolStripMenuItem;
|
2021-01-07 14:06:26 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
|
2021-01-12 14:45:59 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 材料出库单ToolStripMenuItem;
|
2021-01-12 16:10:37 +08:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 其他入库ToolStripMenuItem;
|
2020-12-18 11:10:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|