MainForm.Designer.cs 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. namespace excel2json.GUI {
  2. partial class MainForm {
  3. /// <summary>
  4. /// Required designer variable.
  5. /// </summary>
  6. private System.ComponentModel.IContainer components = null;
  7. /// <summary>
  8. /// Clean up any resources being used.
  9. /// </summary>
  10. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  11. protected override void Dispose(bool disposing) {
  12. if (disposing && (components != null)) {
  13. components.Dispose();
  14. }
  15. base.Dispose(disposing);
  16. }
  17. #region Windows Form Designer generated code
  18. /// <summary>
  19. /// Required method for Designer support - do not modify
  20. /// the contents of this method with the code editor.
  21. /// </summary>
  22. private void InitializeComponent() {
  23. System.Windows.Forms.Label label2;
  24. System.Windows.Forms.Label label1;
  25. System.Windows.Forms.Label label4;
  26. System.Windows.Forms.Label label3;
  27. System.Windows.Forms.Label label5;
  28. System.Windows.Forms.Label label6;
  29. System.Windows.Forms.Label label7;
  30. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  31. this.toolStrip = new System.Windows.Forms.ToolStrip();
  32. this.btnImportExcel = new System.Windows.Forms.ToolStripButton();
  33. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  34. this.btnCopyJSON = new System.Windows.Forms.ToolStripButton();
  35. this.btnSaveJson = new System.Windows.Forms.ToolStripButton();
  36. this.btnCopyCSharp = new System.Windows.Forms.ToolStripButton();
  37. this.btnSaveLua = new System.Windows.Forms.ToolStripButton();
  38. this.btnSaveCSharp = new System.Windows.Forms.ToolStripButton();
  39. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  40. this.btnHelp = new System.Windows.Forms.ToolStripButton();
  41. this.splitContainer1 = new System.Windows.Forms.SplitContainer();
  42. this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
  43. this.panelExcelDropBox = new System.Windows.Forms.Panel();
  44. this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
  45. this.pictureBoxExcel = new System.Windows.Forms.PictureBox();
  46. this.labelExcelFile = new System.Windows.Forms.Label();
  47. this.groupBox1 = new System.Windows.Forms.GroupBox();
  48. this.checkBoxCellJson = new System.Windows.Forms.CheckBox();
  49. this.textBoxExculdePrefix = new System.Windows.Forms.TextBox();
  50. this.comboBoxSheetName = new System.Windows.Forms.ComboBox();
  51. this.comboBoxDateFormat = new System.Windows.Forms.ComboBox();
  52. this.btnReimport = new System.Windows.Forms.Button();
  53. this.comboBoxLowcase = new System.Windows.Forms.ComboBox();
  54. this.comboBoxHeader = new System.Windows.Forms.ComboBox();
  55. this.comboBoxEncoding = new System.Windows.Forms.ComboBox();
  56. this.comboBoxType = new System.Windows.Forms.ComboBox();
  57. this.tabControlCode = new System.Windows.Forms.TabControl();
  58. this.tabPageJSON = new System.Windows.Forms.TabPage();
  59. this.tabCSharp = new System.Windows.Forms.TabPage();
  60. this.tabPageLua = new System.Windows.Forms.TabPage();
  61. this.backgroundWorker = new System.ComponentModel.BackgroundWorker();
  62. this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
  63. this.statusStrip = new System.Windows.Forms.StatusStrip();
  64. label2 = new System.Windows.Forms.Label();
  65. label1 = new System.Windows.Forms.Label();
  66. label4 = new System.Windows.Forms.Label();
  67. label3 = new System.Windows.Forms.Label();
  68. label5 = new System.Windows.Forms.Label();
  69. label6 = new System.Windows.Forms.Label();
  70. label7 = new System.Windows.Forms.Label();
  71. this.toolStrip.SuspendLayout();
  72. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
  73. this.splitContainer1.Panel1.SuspendLayout();
  74. this.splitContainer1.Panel2.SuspendLayout();
  75. this.splitContainer1.SuspendLayout();
  76. this.flowLayoutPanel1.SuspendLayout();
  77. this.panelExcelDropBox.SuspendLayout();
  78. this.flowLayoutPanel2.SuspendLayout();
  79. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxExcel)).BeginInit();
  80. this.groupBox1.SuspendLayout();
  81. this.tabControlCode.SuspendLayout();
  82. this.statusStrip.SuspendLayout();
  83. this.SuspendLayout();
  84. //
  85. // label2
  86. //
  87. label2.Location = new System.Drawing.Point(9, 74);
  88. label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  89. label2.Name = "label2";
  90. label2.Size = new System.Drawing.Size(153, 18);
  91. label2.TabIndex = 1;
  92. label2.Text = "Encoding:";
  93. label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  94. //
  95. // label1
  96. //
  97. label1.AutoSize = true;
  98. label1.Location = new System.Drawing.Point(46, 34);
  99. label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  100. label1.Name = "label1";
  101. label1.Size = new System.Drawing.Size(116, 18);
  102. label1.TabIndex = 1;
  103. label1.Text = "Export Type:";
  104. label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  105. //
  106. // label4
  107. //
  108. label4.Location = new System.Drawing.Point(9, 112);
  109. label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  110. label4.Name = "label4";
  111. label4.Size = new System.Drawing.Size(153, 18);
  112. label4.TabIndex = 6;
  113. label4.Text = "Lowcase:";
  114. label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  115. //
  116. // label3
  117. //
  118. label3.Location = new System.Drawing.Point(9, 152);
  119. label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  120. label3.Name = "label3";
  121. label3.Size = new System.Drawing.Size(153, 18);
  122. label3.TabIndex = 4;
  123. label3.Text = "Header:";
  124. label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  125. //
  126. // label5
  127. //
  128. label5.Location = new System.Drawing.Point(9, 190);
  129. label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  130. label5.Name = "label5";
  131. label5.Size = new System.Drawing.Size(153, 18);
  132. label5.TabIndex = 9;
  133. label5.Text = "Date Format:";
  134. label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  135. //
  136. // label6
  137. //
  138. label6.Location = new System.Drawing.Point(9, 230);
  139. label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  140. label6.Name = "label6";
  141. label6.Size = new System.Drawing.Size(153, 18);
  142. label6.TabIndex = 11;
  143. label6.Text = "SheetName:";
  144. label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  145. //
  146. // label7
  147. //
  148. label7.Location = new System.Drawing.Point(9, 268);
  149. label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  150. label7.Name = "label7";
  151. label7.Size = new System.Drawing.Size(153, 18);
  152. label7.TabIndex = 13;
  153. label7.Text = "ExculdePrefix:";
  154. label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  155. //
  156. // toolStrip
  157. //
  158. this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
  159. this.toolStrip.ImageScalingSize = new System.Drawing.Size(24, 24);
  160. this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  161. this.btnImportExcel,
  162. this.toolStripSeparator1,
  163. this.btnCopyJSON,
  164. this.btnSaveJson,
  165. this.btnSaveLua,
  166. this.btnCopyCSharp,
  167. this.btnSaveCSharp,
  168. this.toolStripSeparator2,
  169. this.btnHelp});
  170. this.toolStrip.Location = new System.Drawing.Point(0, 0);
  171. this.toolStrip.Name = "toolStrip";
  172. this.toolStrip.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
  173. this.toolStrip.Size = new System.Drawing.Size(1176, 55);
  174. this.toolStrip.TabIndex = 4;
  175. this.toolStrip.Text = "Import excel file and export as JSON";
  176. //
  177. // btnImportExcel
  178. //
  179. this.btnImportExcel.Image = global::excel2json.Properties.Resources.excel;
  180. this.btnImportExcel.ImageTransparentColor = System.Drawing.Color.Magenta;
  181. this.btnImportExcel.Name = "btnImportExcel";
  182. this.btnImportExcel.Size = new System.Drawing.Size(121, 52);
  183. this.btnImportExcel.Text = "Import Excel";
  184. this.btnImportExcel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  185. this.btnImportExcel.ToolTipText = "Import Excel .xlsx file";
  186. this.btnImportExcel.Click += new System.EventHandler(this.btnImportExcel_Click);
  187. //
  188. // toolStripSeparator1
  189. //
  190. this.toolStripSeparator1.Name = "toolStripSeparator1";
  191. this.toolStripSeparator1.Size = new System.Drawing.Size(6, 55);
  192. //
  193. // btnCopyJSON
  194. //
  195. this.btnCopyJSON.Image = global::excel2json.Properties.Resources.clipboard;
  196. this.btnCopyJSON.ImageTransparentColor = System.Drawing.Color.Magenta;
  197. this.btnCopyJSON.Name = "btnCopyJSON";
  198. this.btnCopyJSON.Size = new System.Drawing.Size(111, 52);
  199. this.btnCopyJSON.Text = "Copy JSON";
  200. this.btnCopyJSON.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  201. this.btnCopyJSON.ToolTipText = "Copy JSON string to clipboard";
  202. this.btnCopyJSON.Click += new System.EventHandler(this.btnCopyJSON_Click);
  203. //
  204. // btnSaveJson
  205. //
  206. this.btnSaveJson.Image = global::excel2json.Properties.Resources.json;
  207. this.btnSaveJson.ImageTransparentColor = System.Drawing.Color.Magenta;
  208. this.btnSaveJson.Name = "btnSaveJson";
  209. this.btnSaveJson.Size = new System.Drawing.Size(105, 52);
  210. this.btnSaveJson.Text = "Save JSON";
  211. this.btnSaveJson.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  212. this.btnSaveJson.ToolTipText = "Save JSON file";
  213. this.btnSaveJson.Click += new System.EventHandler(this.btnSaveJson_Click);
  214. //
  215. // btnCopyCSharp
  216. //
  217. this.btnCopyCSharp.Image = global::excel2json.Properties.Resources.clipboard;
  218. this.btnCopyCSharp.ImageTransparentColor = System.Drawing.Color.Magenta;
  219. this.btnCopyCSharp.Name = "btnCopyCSharp";
  220. this.btnCopyCSharp.Size = new System.Drawing.Size(87, 52);
  221. this.btnCopyCSharp.Text = "Copy C#";
  222. this.btnCopyCSharp.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  223. this.btnCopyCSharp.ToolTipText = "Save JSON file";
  224. this.btnCopyCSharp.Click += new System.EventHandler(this.btnCopyCSharp_Click);
  225. //
  226. // btnSaveLua
  227. //
  228. this.btnSaveLua.Image = global::excel2json.Properties.Resources.code;
  229. this.btnSaveLua.ImageTransparentColor = System.Drawing.Color.Magenta;
  230. this.btnSaveLua.Name = "btnSaveLua";
  231. this.btnSaveLua.Size = new System.Drawing.Size(88, 52);
  232. this.btnSaveLua.Text = "Save Lua";
  233. this.btnSaveLua.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  234. this.btnSaveLua.ToolTipText = "Save Lua file";
  235. this.btnSaveLua.Click += new System.EventHandler(this.btnSaveLua_Click);
  236. //
  237. // btnSaveCSharp
  238. //
  239. this.btnSaveCSharp.Image = global::excel2json.Properties.Resources.code;
  240. this.btnSaveCSharp.ImageTransparentColor = System.Drawing.Color.Magenta;
  241. this.btnSaveCSharp.Name = "btnSaveCSharp";
  242. this.btnSaveCSharp.Size = new System.Drawing.Size(81, 52);
  243. this.btnSaveCSharp.Text = "Save C#";
  244. this.btnSaveCSharp.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  245. this.btnSaveCSharp.ToolTipText = "Save JSON file";
  246. this.btnSaveCSharp.Click += new System.EventHandler(this.btnSaveCSharp_Click);
  247. //
  248. // toolStripSeparator2
  249. //
  250. this.toolStripSeparator2.Name = "toolStripSeparator2";
  251. this.toolStripSeparator2.Size = new System.Drawing.Size(6, 55);
  252. //
  253. // btnHelp
  254. //
  255. this.btnHelp.Enabled = false;
  256. this.btnHelp.Image = global::excel2json.Properties.Resources.about;
  257. this.btnHelp.ImageTransparentColor = System.Drawing.Color.Magenta;
  258. this.btnHelp.Name = "btnHelp";
  259. this.btnHelp.Size = new System.Drawing.Size(55, 52);
  260. this.btnHelp.Text = "Help";
  261. this.btnHelp.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
  262. this.btnHelp.ToolTipText = "Help Document on web";
  263. this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
  264. //
  265. // splitContainer1
  266. //
  267. this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  268. this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  269. this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
  270. this.splitContainer1.Location = new System.Drawing.Point(0, 55);
  271. this.splitContainer1.Margin = new System.Windows.Forms.Padding(4);
  272. this.splitContainer1.Name = "splitContainer1";
  273. //
  274. // splitContainer1.Panel1
  275. //
  276. this.splitContainer1.Panel1.Controls.Add(this.flowLayoutPanel1);
  277. //
  278. // splitContainer1.Panel2
  279. //
  280. this.splitContainer1.Panel2.Controls.Add(this.tabControlCode);
  281. this.splitContainer1.Size = new System.Drawing.Size(1176, 759);
  282. this.splitContainer1.SplitterDistance = 288;
  283. this.splitContainer1.SplitterWidth = 6;
  284. this.splitContainer1.TabIndex = 5;
  285. //
  286. // flowLayoutPanel1
  287. //
  288. this.flowLayoutPanel1.Controls.Add(this.panelExcelDropBox);
  289. this.flowLayoutPanel1.Controls.Add(this.groupBox1);
  290. this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  291. this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
  292. this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
  293. this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4);
  294. this.flowLayoutPanel1.Name = "flowLayoutPanel1";
  295. this.flowLayoutPanel1.Size = new System.Drawing.Size(286, 757);
  296. this.flowLayoutPanel1.TabIndex = 0;
  297. //
  298. // panelExcelDropBox
  299. //
  300. this.panelExcelDropBox.AllowDrop = true;
  301. this.panelExcelDropBox.BackColor = System.Drawing.SystemColors.ControlLight;
  302. this.panelExcelDropBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  303. this.panelExcelDropBox.Controls.Add(this.flowLayoutPanel2);
  304. this.panelExcelDropBox.Location = new System.Drawing.Point(12, 12);
  305. this.panelExcelDropBox.Margin = new System.Windows.Forms.Padding(12);
  306. this.panelExcelDropBox.Name = "panelExcelDropBox";
  307. this.panelExcelDropBox.Size = new System.Drawing.Size(404, 263);
  308. this.panelExcelDropBox.TabIndex = 1;
  309. this.panelExcelDropBox.DragDrop += new System.Windows.Forms.DragEventHandler(this.panelExcelDropBox_DragDrop);
  310. this.panelExcelDropBox.DragEnter += new System.Windows.Forms.DragEventHandler(this.panelExcelDropBox_DragEnter);
  311. //
  312. // flowLayoutPanel2
  313. //
  314. this.flowLayoutPanel2.Controls.Add(this.pictureBoxExcel);
  315. this.flowLayoutPanel2.Controls.Add(this.labelExcelFile);
  316. this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
  317. this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
  318. this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 0);
  319. this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4);
  320. this.flowLayoutPanel2.Name = "flowLayoutPanel2";
  321. this.flowLayoutPanel2.Size = new System.Drawing.Size(402, 261);
  322. this.flowLayoutPanel2.TabIndex = 0;
  323. //
  324. // pictureBoxExcel
  325. //
  326. this.pictureBoxExcel.Image = global::excel2json.Properties.Resources.excel_64;
  327. this.pictureBoxExcel.Location = new System.Drawing.Point(4, 4);
  328. this.pictureBoxExcel.Margin = new System.Windows.Forms.Padding(4);
  329. this.pictureBoxExcel.Name = "pictureBoxExcel";
  330. this.pictureBoxExcel.Size = new System.Drawing.Size(393, 195);
  331. this.pictureBoxExcel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
  332. this.pictureBoxExcel.TabIndex = 0;
  333. this.pictureBoxExcel.TabStop = false;
  334. //
  335. // labelExcelFile
  336. //
  337. this.labelExcelFile.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  338. this.labelExcelFile.Location = new System.Drawing.Point(4, 203);
  339. this.labelExcelFile.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  340. this.labelExcelFile.Name = "labelExcelFile";
  341. this.labelExcelFile.RightToLeft = System.Windows.Forms.RightToLeft.No;
  342. this.labelExcelFile.Size = new System.Drawing.Size(390, 52);
  343. this.labelExcelFile.TabIndex = 1;
  344. this.labelExcelFile.Text = "Drop you .xlsx file here!";
  345. this.labelExcelFile.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  346. //
  347. // groupBox1
  348. //
  349. this.groupBox1.Controls.Add(this.checkBoxCellJson);
  350. this.groupBox1.Controls.Add(this.textBoxExculdePrefix);
  351. this.groupBox1.Controls.Add(label7);
  352. this.groupBox1.Controls.Add(label6);
  353. this.groupBox1.Controls.Add(this.comboBoxSheetName);
  354. this.groupBox1.Controls.Add(label5);
  355. this.groupBox1.Controls.Add(this.comboBoxDateFormat);
  356. this.groupBox1.Controls.Add(this.btnReimport);
  357. this.groupBox1.Controls.Add(label4);
  358. this.groupBox1.Controls.Add(this.comboBoxLowcase);
  359. this.groupBox1.Controls.Add(label3);
  360. this.groupBox1.Controls.Add(this.comboBoxHeader);
  361. this.groupBox1.Controls.Add(label2);
  362. this.groupBox1.Controls.Add(label1);
  363. this.groupBox1.Controls.Add(this.comboBoxEncoding);
  364. this.groupBox1.Controls.Add(this.comboBoxType);
  365. this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
  366. this.groupBox1.Location = new System.Drawing.Point(12, 299);
  367. this.groupBox1.Margin = new System.Windows.Forms.Padding(12);
  368. this.groupBox1.Name = "groupBox1";
  369. this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
  370. this.groupBox1.Size = new System.Drawing.Size(404, 420);
  371. this.groupBox1.TabIndex = 3;
  372. this.groupBox1.TabStop = false;
  373. this.groupBox1.Text = "Options";
  374. //
  375. // checkBoxCellJson
  376. //
  377. this.checkBoxCellJson.AutoSize = true;
  378. this.checkBoxCellJson.Location = new System.Drawing.Point(81, 310);
  379. this.checkBoxCellJson.Margin = new System.Windows.Forms.Padding(4);
  380. this.checkBoxCellJson.Name = "checkBoxCellJson";
  381. this.checkBoxCellJson.Size = new System.Drawing.Size(277, 22);
  382. this.checkBoxCellJson.TabIndex = 15;
  383. this.checkBoxCellJson.Text = "Convert Json String in Cell";
  384. this.checkBoxCellJson.UseVisualStyleBackColor = true;
  385. //
  386. // textBoxExculdePrefix
  387. //
  388. this.textBoxExculdePrefix.Location = new System.Drawing.Point(171, 270);
  389. this.textBoxExculdePrefix.Margin = new System.Windows.Forms.Padding(4);
  390. this.textBoxExculdePrefix.Name = "textBoxExculdePrefix";
  391. this.textBoxExculdePrefix.Size = new System.Drawing.Size(223, 28);
  392. this.textBoxExculdePrefix.TabIndex = 14;
  393. this.textBoxExculdePrefix.Text = "#";
  394. //
  395. // comboBoxSheetName
  396. //
  397. this.comboBoxSheetName.DisplayMember = "0";
  398. this.comboBoxSheetName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  399. this.comboBoxSheetName.FormattingEnabled = true;
  400. this.comboBoxSheetName.Items.AddRange(new object[] {
  401. "Yes",
  402. "No"});
  403. this.comboBoxSheetName.Location = new System.Drawing.Point(171, 230);
  404. this.comboBoxSheetName.Margin = new System.Windows.Forms.Padding(4);
  405. this.comboBoxSheetName.Name = "comboBoxSheetName";
  406. this.comboBoxSheetName.Size = new System.Drawing.Size(223, 26);
  407. this.comboBoxSheetName.TabIndex = 10;
  408. this.comboBoxSheetName.ValueMember = "0";
  409. //
  410. // comboBoxDateFormat
  411. //
  412. this.comboBoxDateFormat.DisplayMember = "0";
  413. this.comboBoxDateFormat.FormattingEnabled = true;
  414. this.comboBoxDateFormat.Items.AddRange(new object[] {
  415. "yyyy/MM/dd",
  416. "yyyy/MM/dd hh:mm:ss"});
  417. this.comboBoxDateFormat.Location = new System.Drawing.Point(171, 190);
  418. this.comboBoxDateFormat.Margin = new System.Windows.Forms.Padding(4);
  419. this.comboBoxDateFormat.Name = "comboBoxDateFormat";
  420. this.comboBoxDateFormat.Size = new System.Drawing.Size(223, 26);
  421. this.comboBoxDateFormat.TabIndex = 8;
  422. this.comboBoxDateFormat.ValueMember = "0";
  423. //
  424. // btnReimport
  425. //
  426. this.btnReimport.Location = new System.Drawing.Point(128, 357);
  427. this.btnReimport.Margin = new System.Windows.Forms.Padding(4);
  428. this.btnReimport.Name = "btnReimport";
  429. this.btnReimport.Size = new System.Drawing.Size(112, 34);
  430. this.btnReimport.TabIndex = 7;
  431. this.btnReimport.Text = "Reimport";
  432. this.btnReimport.UseVisualStyleBackColor = true;
  433. this.btnReimport.Click += new System.EventHandler(this.btnReimport_Click);
  434. //
  435. // comboBoxLowcase
  436. //
  437. this.comboBoxLowcase.DisplayMember = "0";
  438. this.comboBoxLowcase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  439. this.comboBoxLowcase.FormattingEnabled = true;
  440. this.comboBoxLowcase.Items.AddRange(new object[] {
  441. "Yes",
  442. "No"});
  443. this.comboBoxLowcase.Location = new System.Drawing.Point(171, 112);
  444. this.comboBoxLowcase.Margin = new System.Windows.Forms.Padding(4);
  445. this.comboBoxLowcase.Name = "comboBoxLowcase";
  446. this.comboBoxLowcase.Size = new System.Drawing.Size(223, 26);
  447. this.comboBoxLowcase.TabIndex = 5;
  448. this.comboBoxLowcase.ValueMember = "0";
  449. //
  450. // comboBoxHeader
  451. //
  452. this.comboBoxHeader.DisplayMember = "0";
  453. this.comboBoxHeader.FormattingEnabled = true;
  454. this.comboBoxHeader.Items.AddRange(new object[] {
  455. "2",
  456. "3",
  457. "4",
  458. "5",
  459. "6"});
  460. this.comboBoxHeader.Location = new System.Drawing.Point(171, 152);
  461. this.comboBoxHeader.Margin = new System.Windows.Forms.Padding(4);
  462. this.comboBoxHeader.Name = "comboBoxHeader";
  463. this.comboBoxHeader.Size = new System.Drawing.Size(223, 26);
  464. this.comboBoxHeader.TabIndex = 3;
  465. this.comboBoxHeader.ValueMember = "0";
  466. //
  467. // comboBoxEncoding
  468. //
  469. this.comboBoxEncoding.DisplayMember = "0";
  470. this.comboBoxEncoding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  471. this.comboBoxEncoding.FormattingEnabled = true;
  472. this.comboBoxEncoding.Location = new System.Drawing.Point(171, 74);
  473. this.comboBoxEncoding.Margin = new System.Windows.Forms.Padding(4);
  474. this.comboBoxEncoding.Name = "comboBoxEncoding";
  475. this.comboBoxEncoding.Size = new System.Drawing.Size(223, 26);
  476. this.comboBoxEncoding.TabIndex = 0;
  477. this.comboBoxEncoding.ValueMember = "0";
  478. //
  479. // comboBoxType
  480. //
  481. this.comboBoxType.DisplayMember = "0";
  482. this.comboBoxType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  483. this.comboBoxType.FormattingEnabled = true;
  484. this.comboBoxType.Items.AddRange(new object[] {
  485. "Array",
  486. "Dict Object"});
  487. this.comboBoxType.Location = new System.Drawing.Point(171, 34);
  488. this.comboBoxType.Margin = new System.Windows.Forms.Padding(4);
  489. this.comboBoxType.Name = "comboBoxType";
  490. this.comboBoxType.Size = new System.Drawing.Size(223, 26);
  491. this.comboBoxType.TabIndex = 0;
  492. this.comboBoxType.ValueMember = "0";
  493. //
  494. // tabControlCode
  495. //
  496. this.tabControlCode.Controls.Add(this.tabPageJSON);
  497. this.tabControlCode.Controls.Add(this.tabCSharp);
  498. this.tabControlCode.Controls.Add(this.tabPageLua);
  499. this.tabControlCode.Dock = System.Windows.Forms.DockStyle.Fill;
  500. this.tabControlCode.Location = new System.Drawing.Point(0, 0);
  501. this.tabControlCode.Margin = new System.Windows.Forms.Padding(4);
  502. this.tabControlCode.Name = "tabControlCode";
  503. this.tabControlCode.SelectedIndex = 0;
  504. this.tabControlCode.Size = new System.Drawing.Size(880, 757);
  505. this.tabControlCode.TabIndex = 0;
  506. //
  507. // tabPageJSON
  508. //
  509. this.tabPageJSON.Location = new System.Drawing.Point(4, 28);
  510. this.tabPageJSON.Margin = new System.Windows.Forms.Padding(4);
  511. this.tabPageJSON.Name = "tabPageJSON";
  512. this.tabPageJSON.Padding = new System.Windows.Forms.Padding(4);
  513. this.tabPageJSON.Size = new System.Drawing.Size(872, 725);
  514. this.tabPageJSON.TabIndex = 0;
  515. this.tabPageJSON.Text = "JSON";
  516. this.tabPageJSON.UseVisualStyleBackColor = true;
  517. //
  518. // tabCSharp
  519. //
  520. this.tabCSharp.Location = new System.Drawing.Point(4, 28);
  521. this.tabCSharp.Margin = new System.Windows.Forms.Padding(4);
  522. this.tabCSharp.Name = "tabCSharp";
  523. this.tabCSharp.Padding = new System.Windows.Forms.Padding(4);
  524. this.tabCSharp.Size = new System.Drawing.Size(872, 725);
  525. this.tabCSharp.TabIndex = 1;
  526. this.tabCSharp.Text = "C#";
  527. this.tabCSharp.UseVisualStyleBackColor = true;
  528. //
  529. // tabPageLua
  530. //
  531. this.tabPageLua.Location = new System.Drawing.Point(4, 28);
  532. this.tabPageLua.Name = "tabPageLua";
  533. this.tabPageLua.Padding = new System.Windows.Forms.Padding(3);
  534. this.tabPageLua.Size = new System.Drawing.Size(872, 725);
  535. this.tabPageLua.TabIndex = 2;
  536. this.tabPageLua.Text = "Lua";
  537. this.tabPageLua.UseVisualStyleBackColor = true;
  538. //
  539. // backgroundWorker
  540. //
  541. this.backgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork);
  542. this.backgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted);
  543. //
  544. // statusLabel
  545. //
  546. this.statusLabel.IsLink = true;
  547. this.statusLabel.Name = "statusLabel";
  548. this.statusLabel.RightToLeft = System.Windows.Forms.RightToLeft.No;
  549. this.statusLabel.Size = new System.Drawing.Size(211, 24);
  550. this.statusLabel.Text = "";
  551. this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  552. this.statusLabel.Click += new System.EventHandler(this.statusLabel_Click);
  553. //
  554. // statusStrip
  555. //
  556. this.statusStrip.ImageScalingSize = new System.Drawing.Size(24, 24);
  557. this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  558. this.statusLabel});
  559. this.statusStrip.Location = new System.Drawing.Point(0, 814);
  560. this.statusStrip.Name = "statusStrip";
  561. this.statusStrip.Padding = new System.Windows.Forms.Padding(2, 0, 21, 0);
  562. this.statusStrip.Size = new System.Drawing.Size(1176, 29);
  563. this.statusStrip.TabIndex = 2;
  564. this.statusStrip.Text = "Ready";
  565. //
  566. // MainForm
  567. //
  568. this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
  569. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  570. this.ClientSize = new System.Drawing.Size(1176, 843);
  571. this.Controls.Add(this.splitContainer1);
  572. this.Controls.Add(this.toolStrip);
  573. this.Controls.Add(this.statusStrip);
  574. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  575. this.Margin = new System.Windows.Forms.Padding(4);
  576. this.MinimumSize = new System.Drawing.Size(1189, 872);
  577. this.Name = "MainForm";
  578. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  579. this.Text = "excel2json";
  580. this.toolStrip.ResumeLayout(false);
  581. this.toolStrip.PerformLayout();
  582. this.splitContainer1.Panel1.ResumeLayout(false);
  583. this.splitContainer1.Panel2.ResumeLayout(false);
  584. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
  585. this.splitContainer1.ResumeLayout(false);
  586. this.flowLayoutPanel1.ResumeLayout(false);
  587. this.panelExcelDropBox.ResumeLayout(false);
  588. this.flowLayoutPanel2.ResumeLayout(false);
  589. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxExcel)).EndInit();
  590. this.groupBox1.ResumeLayout(false);
  591. this.groupBox1.PerformLayout();
  592. this.tabControlCode.ResumeLayout(false);
  593. this.statusStrip.ResumeLayout(false);
  594. this.statusStrip.PerformLayout();
  595. this.ResumeLayout(false);
  596. this.PerformLayout();
  597. }
  598. #endregion
  599. private System.Windows.Forms.ToolStrip toolStrip;
  600. private System.Windows.Forms.ToolStripButton btnImportExcel;
  601. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  602. private System.Windows.Forms.ToolStripButton btnHelp;
  603. private System.Windows.Forms.SplitContainer splitContainer1;
  604. private System.Windows.Forms.ToolStripButton btnCopyJSON;
  605. private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
  606. private System.Windows.Forms.Panel panelExcelDropBox;
  607. private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
  608. private System.Windows.Forms.PictureBox pictureBoxExcel;
  609. private System.Windows.Forms.Label labelExcelFile;
  610. private System.Windows.Forms.GroupBox groupBox1;
  611. private System.Windows.Forms.ComboBox comboBoxEncoding;
  612. private System.Windows.Forms.ComboBox comboBoxType;
  613. private System.Windows.Forms.ComboBox comboBoxLowcase;
  614. private System.Windows.Forms.ComboBox comboBoxHeader;
  615. private System.ComponentModel.BackgroundWorker backgroundWorker;
  616. private System.Windows.Forms.ToolStripButton btnSaveJson;
  617. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  618. private System.Windows.Forms.Button btnReimport;
  619. private System.Windows.Forms.TabControl tabControlCode;
  620. private System.Windows.Forms.TabPage tabPageJSON;
  621. private System.Windows.Forms.ComboBox comboBoxDateFormat;
  622. private System.Windows.Forms.ComboBox comboBoxSheetName;
  623. private System.Windows.Forms.TabPage tabCSharp;
  624. private System.Windows.Forms.ToolStripButton btnCopyCSharp;
  625. private System.Windows.Forms.ToolStripButton btnSaveCSharp;
  626. private System.Windows.Forms.TextBox textBoxExculdePrefix;
  627. private System.Windows.Forms.CheckBox checkBoxCellJson;
  628. private System.Windows.Forms.TabPage tabPageLua;
  629. private System.Windows.Forms.ToolStripButton btnSaveLua;
  630. private System.Windows.Forms.ToolStripStatusLabel statusLabel;
  631. private System.Windows.Forms.StatusStrip statusStrip;
  632. }
  633. }