You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

690 lines
35 KiB

3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
  1. 
  2. namespace ExportDataToFile
  3. {
  4. partial class Form1
  5. {
  6. /// <summary>
  7. /// 設計工具所需的變數。
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// 清除任何使用中的資源。
  12. /// </summary>
  13. /// <param name="disposing">如果應該處置受控資源則為 true,否則為 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 設計工具產生的程式碼
  23. /// <summary>
  24. /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
  25. /// 這個方法的內容。
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  30. this.txtTargetID = new System.Windows.Forms.TextBox();
  31. this.label7 = new System.Windows.Forms.Label();
  32. this.txtTargetDBName = new System.Windows.Forms.TextBox();
  33. this.label8 = new System.Windows.Forms.Label();
  34. this.txtTargetIP = new System.Windows.Forms.TextBox();
  35. this.label9 = new System.Windows.Forms.Label();
  36. this.cbTargetClass = new System.Windows.Forms.ComboBox();
  37. this.label10 = new System.Windows.Forms.Label();
  38. this.txtSourceID = new System.Windows.Forms.TextBox();
  39. this.label4 = new System.Windows.Forms.Label();
  40. this.txtSourceDBName = new System.Windows.Forms.TextBox();
  41. this.label3 = new System.Windows.Forms.Label();
  42. this.txtSourceIP = new System.Windows.Forms.TextBox();
  43. this.label2 = new System.Windows.Forms.Label();
  44. this.cbSourceClass = new System.Windows.Forms.ComboBox();
  45. this.label1 = new System.Windows.Forms.Label();
  46. this.btnExport = new System.Windows.Forms.Button();
  47. this.label12 = new System.Windows.Forms.Label();
  48. this.btnTargetConnTest = new System.Windows.Forms.Button();
  49. this.txtTargetPWD = new System.Windows.Forms.TextBox();
  50. this.label6 = new System.Windows.Forms.Label();
  51. this.btnSourceConnTest = new System.Windows.Forms.Button();
  52. this.txtSourcePWD = new System.Windows.Forms.TextBox();
  53. this.label5 = new System.Windows.Forms.Label();
  54. this.dgvExportList = new System.Windows.Forms.DataGridView();
  55. this.label11 = new System.Windows.Forms.Label();
  56. this.dgvColumnMapping = new System.Windows.Forms.DataGridView();
  57. this.clExpColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  58. this.clClean = new System.Windows.Forms.DataGridViewButtonColumn();
  59. this.clSourceColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  60. this.clType = new System.Windows.Forms.DataGridViewTextBoxColumn();
  61. this.clTargetColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
  62. this.txtWhere = new System.Windows.Forms.TextBox();
  63. this.label13 = new System.Windows.Forms.Label();
  64. this.label14 = new System.Windows.Forms.Label();
  65. this.cbTargetTable = new System.Windows.Forms.ComboBox();
  66. this.btnMapping = new System.Windows.Forms.Button();
  67. this.sfPath = new System.Windows.Forms.SaveFileDialog();
  68. this.label15 = new System.Windows.Forms.Label();
  69. this.txtMaxCount = new System.Windows.Forms.TextBox();
  70. this.label16 = new System.Windows.Forms.Label();
  71. this.label17 = new System.Windows.Forms.Label();
  72. this.txtTargetPort = new System.Windows.Forms.TextBox();
  73. this.txtSourcePort = new System.Windows.Forms.TextBox();
  74. this.btnExportXML = new System.Windows.Forms.Button();
  75. this.btnImportXML = new System.Windows.Forms.Button();
  76. this.ofPath = new System.Windows.Forms.OpenFileDialog();
  77. this.btnClean = new System.Windows.Forms.Button();
  78. ((System.ComponentModel.ISupportInitialize)(this.dgvExportList)).BeginInit();
  79. ((System.ComponentModel.ISupportInitialize)(this.dgvColumnMapping)).BeginInit();
  80. this.SuspendLayout();
  81. //
  82. // txtTargetID
  83. //
  84. this.txtTargetID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  85. this.txtTargetID.Location = new System.Drawing.Point(1218, 48);
  86. this.txtTargetID.Name = "txtTargetID";
  87. this.txtTargetID.Size = new System.Drawing.Size(135, 29);
  88. this.txtTargetID.TabIndex = 11;
  89. this.txtTargetID.Text = "postgres";
  90. //
  91. // label7
  92. //
  93. this.label7.AutoSize = true;
  94. this.label7.ForeColor = System.Drawing.SystemColors.ControlLight;
  95. this.label7.Location = new System.Drawing.Point(1091, 51);
  96. this.label7.Name = "label7";
  97. this.label7.Size = new System.Drawing.Size(121, 20);
  98. this.label7.TabIndex = 33;
  99. this.label7.Text = "來源資料庫帳號";
  100. //
  101. // txtTargetDBName
  102. //
  103. this.txtTargetDBName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  104. this.txtTargetDBName.Location = new System.Drawing.Point(928, 49);
  105. this.txtTargetDBName.Name = "txtTargetDBName";
  106. this.txtTargetDBName.Size = new System.Drawing.Size(135, 29);
  107. this.txtTargetDBName.TabIndex = 10;
  108. this.txtTargetDBName.Text = "EURO";
  109. //
  110. // label8
  111. //
  112. this.label8.AutoSize = true;
  113. this.label8.ForeColor = System.Drawing.SystemColors.ControlLight;
  114. this.label8.Location = new System.Drawing.Point(801, 53);
  115. this.label8.Name = "label8";
  116. this.label8.Size = new System.Drawing.Size(121, 20);
  117. this.label8.TabIndex = 31;
  118. this.label8.Text = "目標資料庫名稱";
  119. //
  120. // txtTargetIP
  121. //
  122. this.txtTargetIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  123. this.txtTargetIP.Location = new System.Drawing.Point(444, 48);
  124. this.txtTargetIP.Name = "txtTargetIP";
  125. this.txtTargetIP.Size = new System.Drawing.Size(135, 29);
  126. this.txtTargetIP.TabIndex = 8;
  127. this.txtTargetIP.Text = "localhost";
  128. //
  129. // label9
  130. //
  131. this.label9.AutoSize = true;
  132. this.label9.ForeColor = System.Drawing.SystemColors.ControlLight;
  133. this.label9.Location = new System.Drawing.Point(334, 52);
  134. this.label9.Name = "label9";
  135. this.label9.Size = new System.Drawing.Size(104, 20);
  136. this.label9.TabIndex = 29;
  137. this.label9.Text = "目標資料庫IP";
  138. //
  139. // cbTargetClass
  140. //
  141. this.cbTargetClass.FormattingEnabled = true;
  142. this.cbTargetClass.Items.AddRange(new object[] {
  143. "",
  144. "MS-SQL",
  145. "MySQL",
  146. "Oracle",
  147. "PostgreSQL"});
  148. this.cbTargetClass.Location = new System.Drawing.Point(142, 47);
  149. this.cbTargetClass.Name = "cbTargetClass";
  150. this.cbTargetClass.Size = new System.Drawing.Size(163, 28);
  151. this.cbTargetClass.TabIndex = 7;
  152. this.cbTargetClass.SelectedValueChanged += new System.EventHandler(this.cbTargetClass_SelectedValueChanged);
  153. //
  154. // label10
  155. //
  156. this.label10.AutoSize = true;
  157. this.label10.ForeColor = System.Drawing.SystemColors.ControlLight;
  158. this.label10.Location = new System.Drawing.Point(14, 50);
  159. this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  160. this.label10.Name = "label10";
  161. this.label10.Size = new System.Drawing.Size(121, 20);
  162. this.label10.TabIndex = 27;
  163. this.label10.Text = "目標資料庫類型";
  164. //
  165. // txtSourceID
  166. //
  167. this.txtSourceID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  168. this.txtSourceID.Location = new System.Drawing.Point(1218, 13);
  169. this.txtSourceID.Name = "txtSourceID";
  170. this.txtSourceID.Size = new System.Drawing.Size(135, 29);
  171. this.txtSourceID.TabIndex = 5;
  172. this.txtSourceID.Text = "sa";
  173. //
  174. // label4
  175. //
  176. this.label4.AutoSize = true;
  177. this.label4.ForeColor = System.Drawing.SystemColors.ControlLight;
  178. this.label4.Location = new System.Drawing.Point(1091, 16);
  179. this.label4.Name = "label4";
  180. this.label4.Size = new System.Drawing.Size(121, 20);
  181. this.label4.TabIndex = 25;
  182. this.label4.Text = "來源資料庫帳號";
  183. //
  184. // txtSourceDBName
  185. //
  186. this.txtSourceDBName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  187. this.txtSourceDBName.Location = new System.Drawing.Point(928, 14);
  188. this.txtSourceDBName.Name = "txtSourceDBName";
  189. this.txtSourceDBName.Size = new System.Drawing.Size(135, 29);
  190. this.txtSourceDBName.TabIndex = 4;
  191. this.txtSourceDBName.Text = "EURO_Data";
  192. //
  193. // label3
  194. //
  195. this.label3.AutoSize = true;
  196. this.label3.ForeColor = System.Drawing.SystemColors.ControlLight;
  197. this.label3.Location = new System.Drawing.Point(801, 18);
  198. this.label3.Name = "label3";
  199. this.label3.Size = new System.Drawing.Size(121, 20);
  200. this.label3.TabIndex = 23;
  201. this.label3.Text = "來源資料庫名稱";
  202. //
  203. // txtSourceIP
  204. //
  205. this.txtSourceIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  206. this.txtSourceIP.Location = new System.Drawing.Point(444, 13);
  207. this.txtSourceIP.Name = "txtSourceIP";
  208. this.txtSourceIP.Size = new System.Drawing.Size(135, 29);
  209. this.txtSourceIP.TabIndex = 2;
  210. this.txtSourceIP.Text = "localhost";
  211. //
  212. // label2
  213. //
  214. this.label2.AutoSize = true;
  215. this.label2.ForeColor = System.Drawing.SystemColors.ControlLight;
  216. this.label2.Location = new System.Drawing.Point(334, 17);
  217. this.label2.Name = "label2";
  218. this.label2.Size = new System.Drawing.Size(104, 20);
  219. this.label2.TabIndex = 21;
  220. this.label2.Text = "來源資料庫IP";
  221. //
  222. // cbSourceClass
  223. //
  224. this.cbSourceClass.FormattingEnabled = true;
  225. this.cbSourceClass.Items.AddRange(new object[] {
  226. "",
  227. "MS-SQL",
  228. "MySQL",
  229. "Oracle",
  230. "PostgreSQL"});
  231. this.cbSourceClass.Location = new System.Drawing.Point(142, 12);
  232. this.cbSourceClass.Name = "cbSourceClass";
  233. this.cbSourceClass.Size = new System.Drawing.Size(163, 28);
  234. this.cbSourceClass.TabIndex = 1;
  235. this.cbSourceClass.SelectedValueChanged += new System.EventHandler(this.cbSourceClass_SelectedValueChanged);
  236. //
  237. // label1
  238. //
  239. this.label1.AutoSize = true;
  240. this.label1.ForeColor = System.Drawing.SystemColors.ButtonFace;
  241. this.label1.Location = new System.Drawing.Point(14, 15);
  242. this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  243. this.label1.Name = "label1";
  244. this.label1.Size = new System.Drawing.Size(121, 20);
  245. this.label1.TabIndex = 19;
  246. this.label1.Text = "來源資料庫類型";
  247. //
  248. // btnExport
  249. //
  250. this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  251. this.btnExport.Enabled = false;
  252. this.btnExport.Location = new System.Drawing.Point(1649, 1014);
  253. this.btnExport.Name = "btnExport";
  254. this.btnExport.Size = new System.Drawing.Size(135, 30);
  255. this.btnExport.TabIndex = 16;
  256. this.btnExport.Text = "資料匯出";
  257. this.btnExport.UseVisualStyleBackColor = true;
  258. this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
  259. //
  260. // label12
  261. //
  262. this.label12.AutoSize = true;
  263. this.label12.ForeColor = System.Drawing.SystemColors.ControlLight;
  264. this.label12.Location = new System.Drawing.Point(1224, 160);
  265. this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  266. this.label12.Name = "label12";
  267. this.label12.Size = new System.Drawing.Size(73, 20);
  268. this.label12.TabIndex = 41;
  269. this.label12.Text = "欄位對應";
  270. //
  271. // btnTargetConnTest
  272. //
  273. this.btnTargetConnTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  274. this.btnTargetConnTest.Location = new System.Drawing.Point(1649, 45);
  275. this.btnTargetConnTest.Name = "btnTargetConnTest";
  276. this.btnTargetConnTest.Size = new System.Drawing.Size(135, 30);
  277. this.btnTargetConnTest.TabIndex = 14;
  278. this.btnTargetConnTest.Text = "建立目標連線";
  279. this.btnTargetConnTest.UseVisualStyleBackColor = true;
  280. this.btnTargetConnTest.Click += new System.EventHandler(this.btnTargetConnTest_Click);
  281. //
  282. // txtTargetPWD
  283. //
  284. this.txtTargetPWD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  285. this.txtTargetPWD.Location = new System.Drawing.Point(1508, 46);
  286. this.txtTargetPWD.Name = "txtTargetPWD";
  287. this.txtTargetPWD.PasswordChar = '*';
  288. this.txtTargetPWD.Size = new System.Drawing.Size(135, 29);
  289. this.txtTargetPWD.TabIndex = 12;
  290. this.txtTargetPWD.Text = "i\'mnelson";
  291. //
  292. // label6
  293. //
  294. this.label6.AutoSize = true;
  295. this.label6.ForeColor = System.Drawing.SystemColors.ControlLight;
  296. this.label6.Location = new System.Drawing.Point(1381, 50);
  297. this.label6.Name = "label6";
  298. this.label6.Size = new System.Drawing.Size(121, 20);
  299. this.label6.TabIndex = 38;
  300. this.label6.Text = "來源資料庫密碼";
  301. //
  302. // btnSourceConnTest
  303. //
  304. this.btnSourceConnTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  305. this.btnSourceConnTest.Location = new System.Drawing.Point(1649, 12);
  306. this.btnSourceConnTest.Name = "btnSourceConnTest";
  307. this.btnSourceConnTest.Size = new System.Drawing.Size(135, 30);
  308. this.btnSourceConnTest.TabIndex = 13;
  309. this.btnSourceConnTest.Text = "建立來源連線";
  310. this.btnSourceConnTest.UseVisualStyleBackColor = true;
  311. this.btnSourceConnTest.Click += new System.EventHandler(this.btnSourceConnTest_Click);
  312. //
  313. // txtSourcePWD
  314. //
  315. this.txtSourcePWD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  316. this.txtSourcePWD.Location = new System.Drawing.Point(1508, 13);
  317. this.txtSourcePWD.Name = "txtSourcePWD";
  318. this.txtSourcePWD.PasswordChar = '*';
  319. this.txtSourcePWD.Size = new System.Drawing.Size(135, 29);
  320. this.txtSourcePWD.TabIndex = 6;
  321. this.txtSourcePWD.Text = "i\'mnelson";
  322. //
  323. // label5
  324. //
  325. this.label5.AutoSize = true;
  326. this.label5.ForeColor = System.Drawing.SystemColors.ControlLight;
  327. this.label5.Location = new System.Drawing.Point(1381, 15);
  328. this.label5.Name = "label5";
  329. this.label5.Size = new System.Drawing.Size(121, 20);
  330. this.label5.TabIndex = 35;
  331. this.label5.Text = "來源資料庫密碼";
  332. //
  333. // dgvExportList
  334. //
  335. this.dgvExportList.AllowUserToAddRows = false;
  336. this.dgvExportList.AllowUserToDeleteRows = false;
  337. this.dgvExportList.AllowUserToOrderColumns = true;
  338. this.dgvExportList.AllowUserToResizeRows = false;
  339. this.dgvExportList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  340. | System.Windows.Forms.AnchorStyles.Left)));
  341. this.dgvExportList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  342. this.dgvExportList.Location = new System.Drawing.Point(18, 125);
  343. this.dgvExportList.Name = "dgvExportList";
  344. this.dgvExportList.RowTemplate.Height = 25;
  345. this.dgvExportList.Size = new System.Drawing.Size(1204, 920);
  346. this.dgvExportList.TabIndex = 17;
  347. this.dgvExportList.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExportList_CellClick);
  348. this.dgvExportList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExportList_CellContentClick);
  349. //
  350. // label11
  351. //
  352. this.label11.AutoSize = true;
  353. this.label11.ForeColor = System.Drawing.SystemColors.ControlLight;
  354. this.label11.Location = new System.Drawing.Point(18, 102);
  355. this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  356. this.label11.Name = "label11";
  357. this.label11.Size = new System.Drawing.Size(121, 20);
  358. this.label11.TabIndex = 43;
  359. this.label11.Text = "匯出資料表列表";
  360. //
  361. // dgvColumnMapping
  362. //
  363. this.dgvColumnMapping.AllowUserToAddRows = false;
  364. this.dgvColumnMapping.AllowUserToDeleteRows = false;
  365. this.dgvColumnMapping.AllowUserToOrderColumns = true;
  366. this.dgvColumnMapping.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  367. | System.Windows.Forms.AnchorStyles.Right)));
  368. this.dgvColumnMapping.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  369. this.dgvColumnMapping.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  370. this.clExpColumn,
  371. this.clClean,
  372. this.clSourceColumn,
  373. this.clType,
  374. this.clTargetColumn});
  375. this.dgvColumnMapping.Location = new System.Drawing.Point(1228, 183);
  376. this.dgvColumnMapping.Name = "dgvColumnMapping";
  377. this.dgvColumnMapping.RowTemplate.Height = 25;
  378. this.dgvColumnMapping.Size = new System.Drawing.Size(556, 342);
  379. this.dgvColumnMapping.TabIndex = 19;
  380. this.dgvColumnMapping.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvColumnMapping_CellContentClick);
  381. //
  382. // clExpColumn
  383. //
  384. this.clExpColumn.HeaderText = "匯出";
  385. this.clExpColumn.Name = "clExpColumn";
  386. this.clExpColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  387. this.clExpColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  388. this.clExpColumn.Width = 65;
  389. //
  390. // clClean
  391. //
  392. this.clClean.HeaderText = "清除";
  393. this.clClean.Name = "clClean";
  394. this.clClean.Width = 50;
  395. //
  396. // clSourceColumn
  397. //
  398. this.clSourceColumn.DataPropertyName = "COLUMN_NAME";
  399. this.clSourceColumn.HeaderText = "來源欄位";
  400. this.clSourceColumn.Name = "clSourceColumn";
  401. this.clSourceColumn.ReadOnly = true;
  402. this.clSourceColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  403. this.clSourceColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
  404. this.clSourceColumn.Width = 200;
  405. //
  406. // clType
  407. //
  408. this.clType.DataPropertyName = "DATA_TYPE";
  409. this.clType.HeaderText = "型態";
  410. this.clType.Name = "clType";
  411. this.clType.Width = 80;
  412. //
  413. // clTargetColumn
  414. //
  415. this.clTargetColumn.HeaderText = "目標欄位";
  416. this.clTargetColumn.Name = "clTargetColumn";
  417. this.clTargetColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  418. this.clTargetColumn.Width = 200;
  419. //
  420. // txtWhere
  421. //
  422. this.txtWhere.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  423. | System.Windows.Forms.AnchorStyles.Left)
  424. | System.Windows.Forms.AnchorStyles.Right)));
  425. this.txtWhere.Location = new System.Drawing.Point(1228, 554);
  426. this.txtWhere.Multiline = true;
  427. this.txtWhere.Name = "txtWhere";
  428. this.txtWhere.Size = new System.Drawing.Size(556, 453);
  429. this.txtWhere.TabIndex = 20;
  430. //
  431. // label13
  432. //
  433. this.label13.AutoSize = true;
  434. this.label13.ForeColor = System.Drawing.SystemColors.ControlLight;
  435. this.label13.Location = new System.Drawing.Point(1228, 531);
  436. this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  437. this.label13.Name = "label13";
  438. this.label13.Size = new System.Drawing.Size(73, 20);
  439. this.label13.TabIndex = 46;
  440. this.label13.Text = "過濾條件";
  441. //
  442. // label14
  443. //
  444. this.label14.AutoSize = true;
  445. this.label14.ForeColor = System.Drawing.SystemColors.ControlLight;
  446. this.label14.Location = new System.Drawing.Point(1224, 128);
  447. this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  448. this.label14.Name = "label14";
  449. this.label14.Size = new System.Drawing.Size(89, 20);
  450. this.label14.TabIndex = 48;
  451. this.label14.Text = "目標資料表";
  452. //
  453. // cbTargetTable
  454. //
  455. this.cbTargetTable.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  456. | System.Windows.Forms.AnchorStyles.Right)));
  457. this.cbTargetTable.DisplayMember = "TableName";
  458. this.cbTargetTable.Enabled = false;
  459. this.cbTargetTable.FormattingEnabled = true;
  460. this.cbTargetTable.Location = new System.Drawing.Point(1320, 125);
  461. this.cbTargetTable.Name = "cbTargetTable";
  462. this.cbTargetTable.Size = new System.Drawing.Size(464, 28);
  463. this.cbTargetTable.TabIndex = 18;
  464. this.cbTargetTable.ValueMember = "TableName";
  465. this.cbTargetTable.SelectedIndexChanged += new System.EventHandler(this.cbTargetTable_SelectedIndexChanged);
  466. //
  467. // btnMapping
  468. //
  469. this.btnMapping.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  470. this.btnMapping.Enabled = false;
  471. this.btnMapping.Location = new System.Drawing.Point(1508, 1013);
  472. this.btnMapping.Name = "btnMapping";
  473. this.btnMapping.Size = new System.Drawing.Size(135, 32);
  474. this.btnMapping.TabIndex = 23;
  475. this.btnMapping.Text = "設定匯出條件";
  476. this.btnMapping.UseVisualStyleBackColor = true;
  477. this.btnMapping.Click += new System.EventHandler(this.btnMapping_Click);
  478. //
  479. // label15
  480. //
  481. this.label15.AutoSize = true;
  482. this.label15.ForeColor = System.Drawing.SystemColors.ControlLight;
  483. this.label15.Location = new System.Drawing.Point(1365, 84);
  484. this.label15.Name = "label15";
  485. this.label15.Size = new System.Drawing.Size(137, 20);
  486. this.label15.TabIndex = 51;
  487. this.label15.Text = "檔案匯出上限筆數";
  488. //
  489. // txtMaxCount
  490. //
  491. this.txtMaxCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  492. this.txtMaxCount.Location = new System.Drawing.Point(1508, 80);
  493. this.txtMaxCount.Name = "txtMaxCount";
  494. this.txtMaxCount.Size = new System.Drawing.Size(135, 29);
  495. this.txtMaxCount.TabIndex = 15;
  496. this.txtMaxCount.Text = "0";
  497. //
  498. // label16
  499. //
  500. this.label16.AutoSize = true;
  501. this.label16.ForeColor = System.Drawing.SystemColors.ControlLight;
  502. this.label16.Location = new System.Drawing.Point(600, 51);
  503. this.label16.Name = "label16";
  504. this.label16.Size = new System.Drawing.Size(73, 20);
  505. this.label16.TabIndex = 54;
  506. this.label16.Text = "目標Port";
  507. //
  508. // label17
  509. //
  510. this.label17.AutoSize = true;
  511. this.label17.ForeColor = System.Drawing.SystemColors.ControlLight;
  512. this.label17.Location = new System.Drawing.Point(600, 16);
  513. this.label17.Name = "label17";
  514. this.label17.Size = new System.Drawing.Size(73, 20);
  515. this.label17.TabIndex = 53;
  516. this.label17.Text = "來源Port";
  517. //
  518. // txtTargetPort
  519. //
  520. this.txtTargetPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  521. this.txtTargetPort.Location = new System.Drawing.Point(674, 48);
  522. this.txtTargetPort.Name = "txtTargetPort";
  523. this.txtTargetPort.Size = new System.Drawing.Size(100, 29);
  524. this.txtTargetPort.TabIndex = 9;
  525. //
  526. // txtSourcePort
  527. //
  528. this.txtSourcePort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  529. this.txtSourcePort.Location = new System.Drawing.Point(674, 13);
  530. this.txtSourcePort.Name = "txtSourcePort";
  531. this.txtSourcePort.Size = new System.Drawing.Size(100, 29);
  532. this.txtSourcePort.TabIndex = 3;
  533. //
  534. // btnExportXML
  535. //
  536. this.btnExportXML.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  537. this.btnExportXML.Enabled = false;
  538. this.btnExportXML.Location = new System.Drawing.Point(1228, 1013);
  539. this.btnExportXML.Name = "btnExportXML";
  540. this.btnExportXML.Size = new System.Drawing.Size(135, 32);
  541. this.btnExportXML.TabIndex = 21;
  542. this.btnExportXML.Text = "匯出XML";
  543. this.btnExportXML.UseVisualStyleBackColor = true;
  544. this.btnExportXML.Click += new System.EventHandler(this.btnExportXML_Click);
  545. //
  546. // btnImportXML
  547. //
  548. this.btnImportXML.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  549. this.btnImportXML.Location = new System.Drawing.Point(1367, 1013);
  550. this.btnImportXML.Name = "btnImportXML";
  551. this.btnImportXML.Size = new System.Drawing.Size(135, 32);
  552. this.btnImportXML.TabIndex = 22;
  553. this.btnImportXML.Text = "匯入XML";
  554. this.btnImportXML.UseVisualStyleBackColor = true;
  555. this.btnImportXML.Click += new System.EventHandler(this.btnImportXML_Click);
  556. //
  557. // ofPath
  558. //
  559. this.ofPath.FileName = "file.xml";
  560. //
  561. // btnClean
  562. //
  563. this.btnClean.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  564. this.btnClean.Location = new System.Drawing.Point(1649, 81);
  565. this.btnClean.Name = "btnClean";
  566. this.btnClean.Size = new System.Drawing.Size(135, 28);
  567. this.btnClean.TabIndex = 55;
  568. this.btnClean.Text = "清除";
  569. this.btnClean.UseVisualStyleBackColor = true;
  570. this.btnClean.Click += new System.EventHandler(this.btnClean_Click);
  571. //
  572. // Form1
  573. //
  574. this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
  575. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  576. this.BackColor = System.Drawing.SystemColors.ControlDarkDark;
  577. this.ClientSize = new System.Drawing.Size(1796, 1057);
  578. this.Controls.Add(this.btnClean);
  579. this.Controls.Add(this.btnImportXML);
  580. this.Controls.Add(this.btnExportXML);
  581. this.Controls.Add(this.txtTargetPort);
  582. this.Controls.Add(this.txtSourcePort);
  583. this.Controls.Add(this.label16);
  584. this.Controls.Add(this.label17);
  585. this.Controls.Add(this.txtMaxCount);
  586. this.Controls.Add(this.label15);
  587. this.Controls.Add(this.btnMapping);
  588. this.Controls.Add(this.cbTargetTable);
  589. this.Controls.Add(this.label14);
  590. this.Controls.Add(this.txtWhere);
  591. this.Controls.Add(this.label13);
  592. this.Controls.Add(this.dgvColumnMapping);
  593. this.Controls.Add(this.dgvExportList);
  594. this.Controls.Add(this.label11);
  595. this.Controls.Add(this.btnExport);
  596. this.Controls.Add(this.label12);
  597. this.Controls.Add(this.btnTargetConnTest);
  598. this.Controls.Add(this.txtTargetPWD);
  599. this.Controls.Add(this.label6);
  600. this.Controls.Add(this.btnSourceConnTest);
  601. this.Controls.Add(this.txtSourcePWD);
  602. this.Controls.Add(this.label5);
  603. this.Controls.Add(this.txtTargetID);
  604. this.Controls.Add(this.label7);
  605. this.Controls.Add(this.txtTargetDBName);
  606. this.Controls.Add(this.label8);
  607. this.Controls.Add(this.txtTargetIP);
  608. this.Controls.Add(this.label9);
  609. this.Controls.Add(this.cbTargetClass);
  610. this.Controls.Add(this.label10);
  611. this.Controls.Add(this.txtSourceID);
  612. this.Controls.Add(this.label4);
  613. this.Controls.Add(this.txtSourceDBName);
  614. this.Controls.Add(this.label3);
  615. this.Controls.Add(this.txtSourceIP);
  616. this.Controls.Add(this.label2);
  617. this.Controls.Add(this.cbSourceClass);
  618. this.Controls.Add(this.label1);
  619. this.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  620. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  621. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  622. this.Margin = new System.Windows.Forms.Padding(5);
  623. this.Name = "Form1";
  624. this.Text = "資料匯出程式";
  625. this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
  626. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
  627. this.Load += new System.EventHandler(this.Form1_Load);
  628. ((System.ComponentModel.ISupportInitialize)(this.dgvExportList)).EndInit();
  629. ((System.ComponentModel.ISupportInitialize)(this.dgvColumnMapping)).EndInit();
  630. this.ResumeLayout(false);
  631. this.PerformLayout();
  632. }
  633. #endregion
  634. private System.Windows.Forms.TextBox txtTargetID;
  635. private System.Windows.Forms.Label label7;
  636. private System.Windows.Forms.TextBox txtTargetDBName;
  637. private System.Windows.Forms.Label label8;
  638. private System.Windows.Forms.TextBox txtTargetIP;
  639. private System.Windows.Forms.Label label9;
  640. private System.Windows.Forms.ComboBox cbTargetClass;
  641. private System.Windows.Forms.Label label10;
  642. private System.Windows.Forms.TextBox txtSourceID;
  643. private System.Windows.Forms.Label label4;
  644. private System.Windows.Forms.TextBox txtSourceDBName;
  645. private System.Windows.Forms.Label label3;
  646. private System.Windows.Forms.TextBox txtSourceIP;
  647. private System.Windows.Forms.Label label2;
  648. private System.Windows.Forms.ComboBox cbSourceClass;
  649. private System.Windows.Forms.Label label1;
  650. private System.Windows.Forms.Button btnExport;
  651. private System.Windows.Forms.Label label12;
  652. private System.Windows.Forms.Button btnTargetConnTest;
  653. private System.Windows.Forms.TextBox txtTargetPWD;
  654. private System.Windows.Forms.Label label6;
  655. private System.Windows.Forms.Button btnSourceConnTest;
  656. private System.Windows.Forms.TextBox txtSourcePWD;
  657. private System.Windows.Forms.Label label5;
  658. private System.Windows.Forms.DataGridView dgvExportList;
  659. private System.Windows.Forms.Label label11;
  660. private System.Windows.Forms.DataGridView dgvColumnMapping;
  661. private System.Windows.Forms.TextBox txtWhere;
  662. private System.Windows.Forms.Label label13;
  663. private System.Windows.Forms.Label label14;
  664. private System.Windows.Forms.ComboBox cbTargetTable;
  665. private System.Windows.Forms.Button btnMapping;
  666. private System.Windows.Forms.SaveFileDialog sfPath;
  667. private System.Windows.Forms.Label label15;
  668. private System.Windows.Forms.TextBox txtMaxCount;
  669. private System.Windows.Forms.Label label16;
  670. private System.Windows.Forms.Label label17;
  671. private System.Windows.Forms.TextBox txtTargetPort;
  672. private System.Windows.Forms.TextBox txtSourcePort;
  673. private System.Windows.Forms.Button btnExportXML;
  674. private System.Windows.Forms.Button btnImportXML;
  675. private System.Windows.Forms.OpenFileDialog ofPath;
  676. private System.Windows.Forms.Button btnClean;
  677. private System.Windows.Forms.DataGridViewCheckBoxColumn clExpColumn;
  678. private System.Windows.Forms.DataGridViewButtonColumn clClean;
  679. private System.Windows.Forms.DataGridViewTextBoxColumn clSourceColumn;
  680. private System.Windows.Forms.DataGridViewTextBoxColumn clType;
  681. private System.Windows.Forms.DataGridViewComboBoxColumn clTargetColumn;
  682. }
  683. }