CsvConnectionEditor.Designer.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. using FastReport.Controls;
  2. namespace FastReport.Data.ConnectionEditors
  3. {
  4. partial class CsvConnectionEditor
  5. {
  6. /// <summary>
  7. /// Required designer variable.
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// Clean up any resources being used.
  12. /// </summary>
  13. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows Form Designer generated code
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.tbCsvFile = new FastReport.Controls.TextBoxButton();
  30. this.gbSelectDatabase = new System.Windows.Forms.GroupBox();
  31. this.tabControl1 = new System.Windows.Forms.TabControl();
  32. this.tabFilePreview = new System.Windows.Forms.TabPage();
  33. this.tbFilePreview = new System.Windows.Forms.TextBox();
  34. this.tabDataPreview = new System.Windows.Forms.TabPage();
  35. this.dgvTablePreview = new System.Windows.Forms.DataGridView();
  36. this.cbxDateTimeFormat = new System.Windows.Forms.ComboBox();
  37. this.cbxCurrencyFormat = new System.Windows.Forms.ComboBox();
  38. this.cbxNumberFormat = new System.Windows.Forms.ComboBox();
  39. this.lblDateTimeFormat = new System.Windows.Forms.Label();
  40. this.lblCurrencyFormat = new System.Windows.Forms.Label();
  41. this.lblNumberFormat = new System.Windows.Forms.Label();
  42. this.cbxTryConvertTypes = new System.Windows.Forms.CheckBox();
  43. this.cbxSeparator = new System.Windows.Forms.ComboBox();
  44. this.cbxFieldNames = new System.Windows.Forms.CheckBox();
  45. this.cbxRemoveQuotes = new System.Windows.Forms.CheckBox();
  46. this.cbxCodepage = new System.Windows.Forms.ComboBox();
  47. this.labelCodepage = new System.Windows.Forms.Label();
  48. this.tbSeparator = new System.Windows.Forms.TextBox();
  49. this.labelSeparator = new System.Windows.Forms.Label();
  50. this.labelSelectCsvFile = new System.Windows.Forms.Label();
  51. this.gbSelectDatabase.SuspendLayout();
  52. this.tabControl1.SuspendLayout();
  53. this.tabFilePreview.SuspendLayout();
  54. this.tabDataPreview.SuspendLayout();
  55. ((System.ComponentModel.ISupportInitialize)(this.dgvTablePreview)).BeginInit();
  56. this.SuspendLayout();
  57. //
  58. // tbCsvFile
  59. //
  60. this.tbCsvFile.ButtonText = "";
  61. this.tbCsvFile.Image = null;
  62. this.tbCsvFile.Location = new System.Drawing.Point(12, 40);
  63. this.tbCsvFile.Name = "tbCsvFile";
  64. this.tbCsvFile.Size = new System.Drawing.Size(296, 21);
  65. this.tbCsvFile.TabIndex = 0;
  66. this.tbCsvFile.ButtonClick += new System.EventHandler(this.tbCsvFile_ButtonClick);
  67. //
  68. // gbSelectDatabase
  69. //
  70. this.gbSelectDatabase.Controls.Add(this.tabControl1);
  71. this.gbSelectDatabase.Controls.Add(this.cbxDateTimeFormat);
  72. this.gbSelectDatabase.Controls.Add(this.cbxCurrencyFormat);
  73. this.gbSelectDatabase.Controls.Add(this.cbxNumberFormat);
  74. this.gbSelectDatabase.Controls.Add(this.lblDateTimeFormat);
  75. this.gbSelectDatabase.Controls.Add(this.lblCurrencyFormat);
  76. this.gbSelectDatabase.Controls.Add(this.lblNumberFormat);
  77. this.gbSelectDatabase.Controls.Add(this.cbxTryConvertTypes);
  78. this.gbSelectDatabase.Controls.Add(this.cbxSeparator);
  79. this.gbSelectDatabase.Controls.Add(this.cbxFieldNames);
  80. this.gbSelectDatabase.Controls.Add(this.cbxRemoveQuotes);
  81. this.gbSelectDatabase.Controls.Add(this.cbxCodepage);
  82. this.gbSelectDatabase.Controls.Add(this.labelCodepage);
  83. this.gbSelectDatabase.Controls.Add(this.tbSeparator);
  84. this.gbSelectDatabase.Controls.Add(this.labelSeparator);
  85. this.gbSelectDatabase.Controls.Add(this.labelSelectCsvFile);
  86. this.gbSelectDatabase.Controls.Add(this.tbCsvFile);
  87. this.gbSelectDatabase.Location = new System.Drawing.Point(8, 4);
  88. this.gbSelectDatabase.Name = "gbSelectDatabase";
  89. this.gbSelectDatabase.Size = new System.Drawing.Size(320, 432);
  90. this.gbSelectDatabase.TabIndex = 4;
  91. this.gbSelectDatabase.TabStop = false;
  92. this.gbSelectDatabase.Text = "Configure database";
  93. //
  94. // tabControl1
  95. //
  96. this.tabControl1.Controls.Add(this.tabFilePreview);
  97. this.tabControl1.Controls.Add(this.tabDataPreview);
  98. this.tabControl1.Location = new System.Drawing.Point(12, 282);
  99. this.tabControl1.Name = "tabControl1";
  100. this.tabControl1.SelectedIndex = 0;
  101. this.tabControl1.Size = new System.Drawing.Size(296, 138);
  102. this.tabControl1.TabIndex = 10;
  103. //
  104. // tabFilePreview
  105. //
  106. this.tabFilePreview.Controls.Add(this.tbFilePreview);
  107. this.tabFilePreview.Location = new System.Drawing.Point(4, 22);
  108. this.tabFilePreview.Name = "tabFilePreview";
  109. this.tabFilePreview.Padding = new System.Windows.Forms.Padding(3);
  110. this.tabFilePreview.Size = new System.Drawing.Size(288, 112);
  111. this.tabFilePreview.TabIndex = 0;
  112. this.tabFilePreview.Text = "File preview";
  113. this.tabFilePreview.UseVisualStyleBackColor = true;
  114. //
  115. // tbFilePreview
  116. //
  117. this.tbFilePreview.Dock = System.Windows.Forms.DockStyle.Fill;
  118. this.tbFilePreview.Location = new System.Drawing.Point(3, 3);
  119. this.tbFilePreview.Multiline = true;
  120. this.tbFilePreview.Name = "tbFilePreview";
  121. this.tbFilePreview.ReadOnly = true;
  122. this.tbFilePreview.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal;
  123. this.tbFilePreview.Size = new System.Drawing.Size(282, 106);
  124. this.tbFilePreview.TabIndex = 0;
  125. //
  126. // tabDataPreview
  127. //
  128. this.tabDataPreview.Controls.Add(this.dgvTablePreview);
  129. this.tabDataPreview.Location = new System.Drawing.Point(4, 22);
  130. this.tabDataPreview.Name = "tabDataPreview";
  131. this.tabDataPreview.Padding = new System.Windows.Forms.Padding(3);
  132. this.tabDataPreview.Size = new System.Drawing.Size(288, 112);
  133. this.tabDataPreview.TabIndex = 1;
  134. this.tabDataPreview.Text = "Data preview";
  135. this.tabDataPreview.UseVisualStyleBackColor = true;
  136. //
  137. // dgvTablePreview
  138. //
  139. this.dgvTablePreview.AllowUserToAddRows = false;
  140. this.dgvTablePreview.AllowUserToDeleteRows = false;
  141. this.dgvTablePreview.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  142. this.dgvTablePreview.Dock = System.Windows.Forms.DockStyle.Fill;
  143. this.dgvTablePreview.Location = new System.Drawing.Point(3, 3);
  144. this.dgvTablePreview.Name = "dgvTablePreview";
  145. this.dgvTablePreview.ReadOnly = true;
  146. this.dgvTablePreview.RowHeadersVisible = false;
  147. this.dgvTablePreview.Size = new System.Drawing.Size(282, 106);
  148. this.dgvTablePreview.TabIndex = 13;
  149. //
  150. // cbxDateTimeFormat
  151. //
  152. this.cbxDateTimeFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
  153. this.cbxDateTimeFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  154. this.cbxDateTimeFormat.DropDownWidth = 400;
  155. this.cbxDateTimeFormat.FormattingEnabled = true;
  156. this.cbxDateTimeFormat.Location = new System.Drawing.Point(168, 248);
  157. this.cbxDateTimeFormat.Name = "cbxDateTimeFormat";
  158. this.cbxDateTimeFormat.Size = new System.Drawing.Size(140, 21);
  159. this.cbxDateTimeFormat.TabIndex = 9;
  160. this.cbxDateTimeFormat.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cbxDateTimeFormat_DrawItem);
  161. this.cbxDateTimeFormat.SelectedIndexChanged += new System.EventHandler(this.cbxNumberLocale_SelectedIndexChanged);
  162. //
  163. // cbxCurrencyFormat
  164. //
  165. this.cbxCurrencyFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
  166. this.cbxCurrencyFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  167. this.cbxCurrencyFormat.DropDownWidth = 400;
  168. this.cbxCurrencyFormat.FormattingEnabled = true;
  169. this.cbxCurrencyFormat.Location = new System.Drawing.Point(168, 218);
  170. this.cbxCurrencyFormat.Name = "cbxCurrencyFormat";
  171. this.cbxCurrencyFormat.Size = new System.Drawing.Size(140, 21);
  172. this.cbxCurrencyFormat.TabIndex = 8;
  173. this.cbxCurrencyFormat.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cbxCurrencyFormat_DrawItem);
  174. this.cbxCurrencyFormat.SelectedIndexChanged += new System.EventHandler(this.cbxNumberLocale_SelectedIndexChanged);
  175. //
  176. // cbxNumberFormat
  177. //
  178. this.cbxNumberFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
  179. this.cbxNumberFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  180. this.cbxNumberFormat.DropDownWidth = 400;
  181. this.cbxNumberFormat.FormattingEnabled = true;
  182. this.cbxNumberFormat.Location = new System.Drawing.Point(168, 191);
  183. this.cbxNumberFormat.Name = "cbxNumberFormat";
  184. this.cbxNumberFormat.Size = new System.Drawing.Size(140, 21);
  185. this.cbxNumberFormat.TabIndex = 7;
  186. this.cbxNumberFormat.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cbxNumberFormat_DrawItem);
  187. this.cbxNumberFormat.SelectedIndexChanged += new System.EventHandler(this.cbxNumberLocale_SelectedIndexChanged);
  188. //
  189. // lblDateTimeFormat
  190. //
  191. this.lblDateTimeFormat.AutoSize = true;
  192. this.lblDateTimeFormat.Location = new System.Drawing.Point(12, 248);
  193. this.lblDateTimeFormat.Name = "lblDateTimeFormat";
  194. this.lblDateTimeFormat.Size = new System.Drawing.Size(93, 13);
  195. this.lblDateTimeFormat.TabIndex = 16;
  196. this.lblDateTimeFormat.Text = "Date/Time format:";
  197. //
  198. // lblCurrencyFormat
  199. //
  200. this.lblCurrencyFormat.AutoSize = true;
  201. this.lblCurrencyFormat.Location = new System.Drawing.Point(12, 221);
  202. this.lblCurrencyFormat.Name = "lblCurrencyFormat";
  203. this.lblCurrencyFormat.Size = new System.Drawing.Size(84, 13);
  204. this.lblCurrencyFormat.TabIndex = 16;
  205. this.lblCurrencyFormat.Text = "Currency format:";
  206. //
  207. // lblNumberFormat
  208. //
  209. this.lblNumberFormat.AutoSize = true;
  210. this.lblNumberFormat.Location = new System.Drawing.Point(12, 194);
  211. this.lblNumberFormat.Name = "lblNumberFormat";
  212. this.lblNumberFormat.Size = new System.Drawing.Size(79, 13);
  213. this.lblNumberFormat.TabIndex = 16;
  214. this.lblNumberFormat.Text = "Number format:";
  215. //
  216. // cbxTryConvertTypes
  217. //
  218. this.cbxTryConvertTypes.AutoSize = true;
  219. this.cbxTryConvertTypes.Location = new System.Drawing.Point(15, 168);
  220. this.cbxTryConvertTypes.Name = "cbxTryConvertTypes";
  221. this.cbxTryConvertTypes.Size = new System.Drawing.Size(142, 17);
  222. this.cbxTryConvertTypes.TabIndex = 6;
  223. this.cbxTryConvertTypes.Text = "Try to convert field types";
  224. this.cbxTryConvertTypes.UseVisualStyleBackColor = true;
  225. this.cbxTryConvertTypes.CheckedChanged += new System.EventHandler(this.cbxTryConvertTypes_CheckedChanged);
  226. //
  227. // cbxSeparator
  228. //
  229. this.cbxSeparator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  230. this.cbxSeparator.FormattingEnabled = true;
  231. this.cbxSeparator.Location = new System.Drawing.Point(168, 94);
  232. this.cbxSeparator.Name = "cbxSeparator";
  233. this.cbxSeparator.Size = new System.Drawing.Size(94, 21);
  234. this.cbxSeparator.TabIndex = 2;
  235. this.cbxSeparator.SelectedIndexChanged += new System.EventHandler(this.cbxSeparator_SelectedIndexChanged);
  236. //
  237. // cbxFieldNames
  238. //
  239. this.cbxFieldNames.AutoSize = true;
  240. this.cbxFieldNames.Location = new System.Drawing.Point(15, 122);
  241. this.cbxFieldNames.Name = "cbxFieldNames";
  242. this.cbxFieldNames.Size = new System.Drawing.Size(140, 17);
  243. this.cbxFieldNames.TabIndex = 4;
  244. this.cbxFieldNames.Text = "Field names in first string";
  245. this.cbxFieldNames.UseVisualStyleBackColor = true;
  246. this.cbxFieldNames.CheckedChanged += new System.EventHandler(this.cbxFieldNames_CheckedChanged);
  247. //
  248. // cbxRemoveQuotes
  249. //
  250. this.cbxRemoveQuotes.AutoSize = true;
  251. this.cbxRemoveQuotes.Location = new System.Drawing.Point(15, 145);
  252. this.cbxRemoveQuotes.Name = "cbxRemoveQuotes";
  253. this.cbxRemoveQuotes.Size = new System.Drawing.Size(144, 17);
  254. this.cbxRemoveQuotes.TabIndex = 5;
  255. this.cbxRemoveQuotes.Text = "Remove quotation marks";
  256. this.cbxRemoveQuotes.UseVisualStyleBackColor = true;
  257. this.cbxRemoveQuotes.CheckedChanged += new System.EventHandler(this.cbxRemoveQuotes_CheckedChanged);
  258. //
  259. // cbxCodepage
  260. //
  261. this.cbxCodepage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  262. this.cbxCodepage.FormattingEnabled = true;
  263. this.cbxCodepage.Location = new System.Drawing.Point(168, 67);
  264. this.cbxCodepage.Name = "cbxCodepage";
  265. this.cbxCodepage.Size = new System.Drawing.Size(140, 21);
  266. this.cbxCodepage.TabIndex = 1;
  267. this.cbxCodepage.SelectedIndexChanged += new System.EventHandler(this.cbxEncoding_SelectedIndexChanged);
  268. //
  269. // labelCodepage
  270. //
  271. this.labelCodepage.AutoSize = true;
  272. this.labelCodepage.Location = new System.Drawing.Point(12, 70);
  273. this.labelCodepage.Name = "labelCodepage";
  274. this.labelCodepage.Size = new System.Drawing.Size(59, 13);
  275. this.labelCodepage.TabIndex = 7;
  276. this.labelCodepage.Text = "Codepage:";
  277. //
  278. // tbSeparator
  279. //
  280. this.tbSeparator.Enabled = false;
  281. this.tbSeparator.Location = new System.Drawing.Point(268, 94);
  282. this.tbSeparator.Name = "tbSeparator";
  283. this.tbSeparator.Size = new System.Drawing.Size(40, 20);
  284. this.tbSeparator.TabIndex = 3;
  285. this.tbSeparator.Text = ";";
  286. this.tbSeparator.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  287. this.tbSeparator.TextChanged += new System.EventHandler(this.tbSeparator_TextChanged);
  288. //
  289. // labelSeparator
  290. //
  291. this.labelSeparator.AutoSize = true;
  292. this.labelSeparator.Location = new System.Drawing.Point(12, 97);
  293. this.labelSeparator.Name = "labelSeparator";
  294. this.labelSeparator.Size = new System.Drawing.Size(56, 13);
  295. this.labelSeparator.TabIndex = 5;
  296. this.labelSeparator.Text = "Separator:";
  297. //
  298. // labelSelectCsvFile
  299. //
  300. this.labelSelectCsvFile.AutoSize = true;
  301. this.labelSelectCsvFile.Location = new System.Drawing.Point(12, 20);
  302. this.labelSelectCsvFile.Name = "labelSelectCsvFile";
  303. this.labelSelectCsvFile.Size = new System.Drawing.Size(79, 13);
  304. this.labelSelectCsvFile.TabIndex = 4;
  305. this.labelSelectCsvFile.Text = "Select .csv file:";
  306. //
  307. // CsvConnectionEditor
  308. //
  309. this.Controls.Add(this.gbSelectDatabase);
  310. this.Name = "CsvConnectionEditor";
  311. this.Size = new System.Drawing.Size(336, 443);
  312. this.gbSelectDatabase.ResumeLayout(false);
  313. this.gbSelectDatabase.PerformLayout();
  314. this.tabControl1.ResumeLayout(false);
  315. this.tabFilePreview.ResumeLayout(false);
  316. this.tabFilePreview.PerformLayout();
  317. this.tabDataPreview.ResumeLayout(false);
  318. ((System.ComponentModel.ISupportInitialize)(this.dgvTablePreview)).EndInit();
  319. this.ResumeLayout(false);
  320. }
  321. #endregion
  322. private FastReport.Controls.TextBoxButton tbCsvFile;
  323. private System.Windows.Forms.GroupBox gbSelectDatabase;
  324. private System.Windows.Forms.Label labelSelectCsvFile;
  325. private System.Windows.Forms.Label labelSeparator;
  326. private System.Windows.Forms.TextBox tbSeparator;
  327. private System.Windows.Forms.ComboBox cbxCodepage;
  328. private System.Windows.Forms.Label labelCodepage;
  329. private System.Windows.Forms.TextBox tbFilePreview;
  330. private System.Windows.Forms.DataGridView dgvTablePreview;
  331. private System.Windows.Forms.ComboBox cbxSeparator;
  332. private System.Windows.Forms.CheckBox cbxRemoveQuotes;
  333. private System.Windows.Forms.CheckBox cbxFieldNames;
  334. private System.Windows.Forms.CheckBox cbxTryConvertTypes;
  335. private System.Windows.Forms.ComboBox cbxDateTimeFormat;
  336. private System.Windows.Forms.ComboBox cbxCurrencyFormat;
  337. private System.Windows.Forms.ComboBox cbxNumberFormat;
  338. private System.Windows.Forms.Label lblDateTimeFormat;
  339. private System.Windows.Forms.Label lblCurrencyFormat;
  340. private System.Windows.Forms.Label lblNumberFormat;
  341. private System.Windows.Forms.TabControl tabControl1;
  342. private System.Windows.Forms.TabPage tabFilePreview;
  343. private System.Windows.Forms.TabPage tabDataPreview;
  344. }
  345. }