代码拉取完成,页面将自动刷新
namespace ExcelToData
{
partial class Form1
{
/// <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.PathShow = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.Sheets = new System.Windows.Forms.ListBox();
this.label2 = new System.Windows.Forms.Label();
this.SelectSheetName = new System.Windows.Forms.Label();
this.BtnExporterXml = new System.Windows.Forms.Button();
this.BtnExportJson = new System.Windows.Forms.Button();
this.IgnoreHorizNum = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.XmlContent = new System.Windows.Forms.RichTextBox();
this.JsonContent = new System.Windows.Forms.RichTextBox();
this.TabSwitch = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.TableSubName = new System.Windows.Forms.TextBox();
this.TableRootName = new System.Windows.Forms.TextBox();
this.XmlFormatStyle = new System.Windows.Forms.CheckBox();
this.TabSwitch.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// PathShow
//
this.PathShow.Enabled = false;
this.PathShow.Location = new System.Drawing.Point(12, 74);
this.PathShow.Name = "PathShow";
this.PathShow.Size = new System.Drawing.Size(257, 21);
this.PathShow.TabIndex = 0;
//
// button1
//
this.button1.Location = new System.Drawing.Point(8, 10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(261, 43);
this.button1.TabIndex = 1;
this.button1.Text = "打开";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 59);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(89, 12);
this.label1.TabIndex = 2;
this.label1.Text = "Excel文件路径:";
//
// Sheets
//
this.Sheets.FormattingEnabled = true;
this.Sheets.ItemHeight = 12;
this.Sheets.Location = new System.Drawing.Point(14, 102);
this.Sheets.Name = "Sheets";
this.Sheets.Size = new System.Drawing.Size(110, 172);
this.Sheets.TabIndex = 3;
this.Sheets.SelectedIndexChanged += new System.EventHandler(this.Sheets_SelectedIndexChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 278);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 12);
this.label2.TabIndex = 4;
this.label2.Text = "已选择表单:";
//
// SelectSheetName
//
this.SelectSheetName.Location = new System.Drawing.Point(89, 278);
this.SelectSheetName.Name = "SelectSheetName";
this.SelectSheetName.Size = new System.Drawing.Size(180, 41);
this.SelectSheetName.TabIndex = 5;
this.SelectSheetName.Text = "选择的表单";
//
// BtnExporterXml
//
this.BtnExporterXml.Location = new System.Drawing.Point(12, 324);
this.BtnExporterXml.Name = "BtnExporterXml";
this.BtnExporterXml.Size = new System.Drawing.Size(90, 50);
this.BtnExporterXml.TabIndex = 6;
this.BtnExporterXml.Text = "导出XML";
this.BtnExporterXml.UseVisualStyleBackColor = true;
this.BtnExporterXml.Click += new System.EventHandler(this.OnExportXMLClick);
//
// BtnExportJson
//
this.BtnExportJson.Location = new System.Drawing.Point(179, 324);
this.BtnExportJson.Name = "BtnExportJson";
this.BtnExportJson.Size = new System.Drawing.Size(90, 50);
this.BtnExportJson.TabIndex = 7;
this.BtnExportJson.Text = "导出Json";
this.BtnExportJson.UseVisualStyleBackColor = true;
this.BtnExportJson.Click += new System.EventHandler(this.OnExportJsonClick);
//
// IgnoreHorizNum
//
this.IgnoreHorizNum.Location = new System.Drawing.Point(214, 104);
this.IgnoreHorizNum.Name = "IgnoreHorizNum";
this.IgnoreHorizNum.Size = new System.Drawing.Size(55, 21);
this.IgnoreHorizNum.TabIndex = 8;
this.IgnoreHorizNum.Text = "2";
this.IgnoreHorizNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.IgnoreHorizNum.TextChanged += new System.EventHandler(this.IgnoreHorizNum_TextChanged);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(149, 107);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 12);
this.label3.TabIndex = 9;
this.label3.Text = "忽略列数:";
//
// XmlContent
//
this.XmlContent.Location = new System.Drawing.Point(0, 0);
this.XmlContent.Name = "XmlContent";
this.XmlContent.Size = new System.Drawing.Size(280, 316);
this.XmlContent.TabIndex = 10;
this.XmlContent.Text = "";
//
// JsonContent
//
this.JsonContent.Location = new System.Drawing.Point(0, 0);
this.JsonContent.Name = "JsonContent";
this.JsonContent.Size = new System.Drawing.Size(280, 316);
this.JsonContent.TabIndex = 11;
this.JsonContent.Text = "";
//
// TabSwitch
//
this.TabSwitch.Controls.Add(this.tabPage1);
this.TabSwitch.Controls.Add(this.tabPage2);
this.TabSwitch.Location = new System.Drawing.Point(288, 10);
this.TabSwitch.Name = "TabSwitch";
this.TabSwitch.SelectedIndex = 0;
this.TabSwitch.Size = new System.Drawing.Size(284, 342);
this.TabSwitch.TabIndex = 12;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.XmlContent);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(276, 316);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "XML";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.JsonContent);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(276, 316);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Json";
this.tabPage2.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.XmlFormatStyle);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.TableSubName);
this.groupBox1.Controls.Add(this.TableRootName);
this.groupBox1.Location = new System.Drawing.Point(130, 164);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(156, 110);
this.groupBox1.TabIndex = 13;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "XML内容";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(6, 56);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 3;
this.label5.Text = "子节点";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(6, 25);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 2;
this.label4.Text = "根节点";
//
// TableSubName
//
this.TableSubName.Location = new System.Drawing.Point(52, 51);
this.TableSubName.Name = "TableSubName";
this.TableSubName.Size = new System.Drawing.Size(100, 21);
this.TableSubName.TabIndex = 1;
this.TableSubName.Text = "SubItem";
this.TableSubName.TextChanged += new System.EventHandler(this.TableSubName_TextChanged);
//
// TableRootName
//
this.TableRootName.Location = new System.Drawing.Point(52, 20);
this.TableRootName.Name = "TableRootName";
this.TableRootName.Size = new System.Drawing.Size(100, 21);
this.TableRootName.TabIndex = 0;
this.TableRootName.Text = "Table";
this.TableRootName.TextChanged += new System.EventHandler(this.TableRootName_TextChanged);
//
// XmlFormatStyle
//
this.XmlFormatStyle.AutoSize = true;
this.XmlFormatStyle.Location = new System.Drawing.Point(52, 81);
this.XmlFormatStyle.Name = "XmlFormatStyle";
this.XmlFormatStyle.Size = new System.Drawing.Size(96, 16);
this.XmlFormatStyle.TabIndex = 4;
this.XmlFormatStyle.Text = "导出独立格式";
this.XmlFormatStyle.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(584, 386);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.TabSwitch);
this.Controls.Add(this.label3);
this.Controls.Add(this.IgnoreHorizNum);
this.Controls.Add(this.BtnExportJson);
this.Controls.Add(this.BtnExporterXml);
this.Controls.Add(this.SelectSheetName);
this.Controls.Add(this.label2);
this.Controls.Add(this.Sheets);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Controls.Add(this.PathShow);
this.Name = "Form1";
this.Text = "ExcelToData";
this.TabSwitch.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox PathShow;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListBox Sheets;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label SelectSheetName;
private System.Windows.Forms.Button BtnExporterXml;
private System.Windows.Forms.Button BtnExportJson;
private System.Windows.Forms.TextBox IgnoreHorizNum;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.RichTextBox XmlContent;
private System.Windows.Forms.RichTextBox JsonContent;
private System.Windows.Forms.TabControl TabSwitch;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox TableSubName;
private System.Windows.Forms.TextBox TableRootName;
private System.Windows.Forms.CheckBox XmlFormatStyle;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。