修改导入显示
This commit is contained in:
216
U8AppMain/FrmMain.Designer.cs
generated
216
U8AppMain/FrmMain.Designer.cs
generated
@@ -29,118 +29,160 @@ namespace U8AppMain
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.BtnBomImport = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
||||
this.BtnImportExcel = new System.Windows.Forms.Button();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.操作ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.BtnReadExcel = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.导入ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ImportBom = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.BtnPurchaseImport = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
// menuStrip1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.BtnImportExcel);
|
||||
this.panel1.Controls.Add(this.BtnBomImport);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(800, 42);
|
||||
this.panel1.TabIndex = 0;
|
||||
this.menuStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.操作ToolStripMenuItem,
|
||||
this.导入ToolStripMenuItem});
|
||||
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";
|
||||
//
|
||||
// BtnBomImport
|
||||
// 操作ToolStripMenuItem
|
||||
//
|
||||
this.BtnBomImport.Location = new System.Drawing.Point(108, 12);
|
||||
this.BtnBomImport.Name = "BtnBomImport";
|
||||
this.BtnBomImport.Size = new System.Drawing.Size(75, 23);
|
||||
this.BtnBomImport.TabIndex = 0;
|
||||
this.BtnBomImport.Text = "Bom导入";
|
||||
this.BtnBomImport.UseVisualStyleBackColor = true;
|
||||
this.BtnBomImport.Click += new System.EventHandler(this.BtnBomImport_Click);
|
||||
this.操作ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.BtnReadExcel});
|
||||
this.操作ToolStripMenuItem.Name = "操作ToolStripMenuItem";
|
||||
this.操作ToolStripMenuItem.Size = new System.Drawing.Size(45, 19);
|
||||
this.操作ToolStripMenuItem.Text = "文件";
|
||||
//
|
||||
// panel2
|
||||
// BtnReadExcel
|
||||
//
|
||||
this.panel2.Controls.Add(this.textBox1);
|
||||
this.panel2.Controls.Add(this.kryptonDataGridView1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 42);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(800, 408);
|
||||
this.panel2.TabIndex = 1;
|
||||
this.BtnReadExcel.Name = "BtnReadExcel";
|
||||
this.BtnReadExcel.Size = new System.Drawing.Size(180, 22);
|
||||
this.BtnReadExcel.Text = "读取Excel";
|
||||
this.BtnReadExcel.Click += new System.EventHandler(this.BtnReadExcel_Click);
|
||||
//
|
||||
// kryptonDataGridView1
|
||||
// 导入ToolStripMenuItem
|
||||
//
|
||||
this.kryptonDataGridView1.AllowUserToAddRows = false;
|
||||
this.kryptonDataGridView1.AllowUserToDeleteRows = false;
|
||||
this.kryptonDataGridView1.AllowUserToResizeRows = false;
|
||||
this.kryptonDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.kryptonDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.kryptonDataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.kryptonDataGridView1.Name = "kryptonDataGridView1";
|
||||
this.kryptonDataGridView1.ReadOnly = true;
|
||||
this.kryptonDataGridView1.RowTemplate.Height = 23;
|
||||
this.kryptonDataGridView1.Size = new System.Drawing.Size(800, 408);
|
||||
this.kryptonDataGridView1.TabIndex = 0;
|
||||
this.导入ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ImportBom,
|
||||
this.BtnPurchaseImport});
|
||||
this.导入ToolStripMenuItem.Name = "导入ToolStripMenuItem";
|
||||
this.导入ToolStripMenuItem.Size = new System.Drawing.Size(45, 19);
|
||||
this.导入ToolStripMenuItem.Text = "导入";
|
||||
//
|
||||
// BtnImportExcel
|
||||
// ImportBom
|
||||
//
|
||||
this.BtnImportExcel.Location = new System.Drawing.Point(12, 12);
|
||||
this.BtnImportExcel.Name = "BtnImportExcel";
|
||||
this.BtnImportExcel.Size = new System.Drawing.Size(75, 23);
|
||||
this.BtnImportExcel.TabIndex = 1;
|
||||
this.BtnImportExcel.Text = "读取Exel";
|
||||
this.BtnImportExcel.UseVisualStyleBackColor = true;
|
||||
this.BtnImportExcel.Click += new System.EventHandler(this.BtnImportExcel_Click);
|
||||
this.ImportBom.Name = "ImportBom";
|
||||
this.ImportBom.Size = new System.Drawing.Size(180, 22);
|
||||
this.ImportBom.Text = "BOM";
|
||||
this.ImportBom.Click += new System.EventHandler(this.ImportBom_Click);
|
||||
//
|
||||
// textBox1
|
||||
// BtnPurchaseImport
|
||||
//
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.textBox1.Location = new System.Drawing.Point(0, 147);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(800, 261);
|
||||
this.textBox1.TabIndex = 1;
|
||||
this.BtnPurchaseImport.Name = "BtnPurchaseImport";
|
||||
this.BtnPurchaseImport.Size = new System.Drawing.Size(180, 22);
|
||||
this.BtnPurchaseImport.Text = "请购单";
|
||||
this.BtnPurchaseImport.Click += new System.EventHandler(this.BtnPurchaseImport_Click);
|
||||
//
|
||||
// button1
|
||||
// splitContainer1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(211, 12);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "请购单导入";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
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;
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// 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);
|
||||
this.dataGridView1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
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;
|
||||
//
|
||||
// FrmMain
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
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);
|
||||
this.Name = "FrmMain";
|
||||
this.Text = "Form1";
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).EndInit();
|
||||
this.Text = "U8导入";
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button BtnBomImport;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
||||
private System.Windows.Forms.Button BtnImportExcel;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user