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()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
|
this.BtnBomImport = new System.Windows.Forms.Button();
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
|
this.kryptonDataGridView1 = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
|
|
|
|
|
|
this.BtnImportExcel = new System.Windows.Forms.Button();
|
2020-12-18 15:12:05 +08:00
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.panel1.SuspendLayout();
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.panel2.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).BeginInit();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.panel1.Controls.Add(this.BtnImportExcel);
|
2020-12-18 11:10:50 +08:00
|
|
|
|
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;
|
|
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
// BtnBomImport
|
|
|
|
|
|
//
|
|
|
|
|
|
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);
|
|
|
|
|
|
//
|
2020-12-18 11:10:50 +08:00
|
|
|
|
// panel2
|
|
|
|
|
|
//
|
2020-12-18 15:12:05 +08:00
|
|
|
|
this.panel2.Controls.Add(this.textBox1);
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.panel2.Controls.Add(this.kryptonDataGridView1);
|
2020-12-18 11:10:50 +08:00
|
|
|
|
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;
|
|
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
// kryptonDataGridView1
|
2020-12-18 11:10:50 +08:00
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
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;
|
|
|
|
|
|
//
|
|
|
|
|
|
// BtnImportExcel
|
|
|
|
|
|
//
|
|
|
|
|
|
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);
|
2020-12-18 11:10:50 +08:00
|
|
|
|
//
|
2020-12-18 15:12:05 +08:00
|
|
|
|
// textBox1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(145, 193);
|
|
|
|
|
|
this.textBox1.Multiline = true;
|
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(515, 246);
|
|
|
|
|
|
this.textBox1.TabIndex = 1;
|
|
|
|
|
|
//
|
2020-12-18 13:51:58 +08:00
|
|
|
|
// FrmMain
|
2020-12-18 11:10:50 +08:00
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
|
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);
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.Name = "FrmMain";
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.Text = "Form1";
|
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
2020-12-18 13:51:58 +08:00
|
|
|
|
this.panel2.ResumeLayout(false);
|
2020-12-18 15:12:05 +08:00
|
|
|
|
this.panel2.PerformLayout();
|
2020-12-18 13:51:58 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonDataGridView1)).EndInit();
|
2020-12-18 11:10:50 +08:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
|
private System.Windows.Forms.Button BtnBomImport;
|
|
|
|
|
|
private System.Windows.Forms.Panel panel2;
|
2020-12-18 13:51:58 +08:00
|
|
|
|
private ComponentFactory.Krypton.Toolkit.KryptonDataGridView kryptonDataGridView1;
|
|
|
|
|
|
private System.Windows.Forms.Button BtnImportExcel;
|
2020-12-18 15:12:05 +08:00
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
2020-12-18 11:10:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|