B70340 před 2 roky
revize
2b413135d1
42 změnil soubory, kde provedl 1623 přidání a 0 odebrání
  1. binární
      .vs/FTP-DGAC-SYS/FileContentIndex/6bdbe95f-078f-4a87-be84-c0a76132ed67.vsidx
  2. binární
      .vs/FTP-DGAC-SYS/FileContentIndex/9d9dfe0f-e6af-411f-9c9c-454de1cacd1b.vsidx
  3. 0
    0
      .vs/FTP-DGAC-SYS/FileContentIndex/read.lock
  4. binární
      .vs/FTP-DGAC-SYS/v17/.suo
  5. 25
    0
      FTP-DGAC-SYS.sln
  6. 6
    0
      FTP-DGAC-SYS/App.config
  7. 458
    0
      FTP-DGAC-SYS/FTP-DGAC-SYS.Designer.vb
  8. 221
    0
      FTP-DGAC-SYS/FTP-DGAC-SYS.resx
  9. 271
    0
      FTP-DGAC-SYS/FTP-DGAC-SYS.vb
  10. 136
    0
      FTP-DGAC-SYS/FTP-DGAC-SYS.vbproj
  11. 38
    0
      FTP-DGAC-SYS/My Project/Application.Designer.vb
  12. 11
    0
      FTP-DGAC-SYS/My Project/Application.myapp
  13. 35
    0
      FTP-DGAC-SYS/My Project/AssemblyInfo.vb
  14. 62
    0
      FTP-DGAC-SYS/My Project/Resources.Designer.vb
  15. 117
    0
      FTP-DGAC-SYS/My Project/Resources.resx
  16. 73
    0
      FTP-DGAC-SYS/My Project/Settings.Designer.vb
  17. 7
    0
      FTP-DGAC-SYS/My Project/Settings.settings
  18. 79
    0
      FTP-DGAC-SYS/app.manifest
  19. 1
    0
      FTP-DGAC-SYS/bin/Debug/DLNUD.CSV
  20. binární
      FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.exe
  21. 6
    0
      FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.exe.config
  22. binární
      FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.pdb
  23. 26
    0
      FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.xml
  24. 2
    0
      FTP-DGAC-SYS/bin/Debug/FTPDELETE.CSV
  25. 1
    0
      FTP-DGAC-SYS/bin/Debug/FTPLINE.CSV
  26. 1
    0
      FTP-DGAC-SYS/bin/Debug/OPAUTO.CSV
  27. binární
      FTP-DGAC-SYS/bitbug_favicon.ico
  28. 7
    0
      FTP-DGAC-SYS/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb
  29. binární
      FTP-DGAC-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  30. binární
      FTP-DGAC-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  31. binární
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.exe
  32. binární
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.pdb
  33. binární
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.AssemblyReference.cache
  34. 1
    0
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.CoreCompileInputs.cache
  35. 13
    0
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.FileListAbsolute.txt
  36. binární
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.GenerateResource.cache
  37. 0
    0
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.SuggestedBindingRedirects.cache
  38. 26
    0
      FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.xml
  39. binární
      FTP-DGAC-SYS/obj/Debug/FTP_DGAC_SYS.FTP_DGAC_SYS.resources
  40. binární
      FTP-DGAC-SYS/obj/Debug/FTP_DGAC_SYS.Resources.resources
  41. binární
      FTP-DGAC-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  42. binární
      FTP-DGAC-SYS/圖片/bitbug_favicon.ico

binární
.vs/FTP-DGAC-SYS/FileContentIndex/6bdbe95f-078f-4a87-be84-c0a76132ed67.vsidx Zobrazit soubor


binární
.vs/FTP-DGAC-SYS/FileContentIndex/9d9dfe0f-e6af-411f-9c9c-454de1cacd1b.vsidx Zobrazit soubor


+ 0
- 0
.vs/FTP-DGAC-SYS/FileContentIndex/read.lock Zobrazit soubor


binární
.vs/FTP-DGAC-SYS/v17/.suo Zobrazit soubor


+ 25
- 0
FTP-DGAC-SYS.sln Zobrazit soubor

@@ -0,0 +1,25 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio Version 17
4
+VisualStudioVersion = 17.2.32630.192
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "FTP-DGAC-SYS", "FTP-DGAC-SYS\FTP-DGAC-SYS.vbproj", "{41BA1A26-BAFE-43DA-886C-132DC14A8B99}"
7
+EndProject
8
+Global
9
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+		Debug|Any CPU = Debug|Any CPU
11
+		Release|Any CPU = Release|Any CPU
12
+	EndGlobalSection
13
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+		{41BA1A26-BAFE-43DA-886C-132DC14A8B99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+		{41BA1A26-BAFE-43DA-886C-132DC14A8B99}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+		{41BA1A26-BAFE-43DA-886C-132DC14A8B99}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+		{41BA1A26-BAFE-43DA-886C-132DC14A8B99}.Release|Any CPU.Build.0 = Release|Any CPU
18
+	EndGlobalSection
19
+	GlobalSection(SolutionProperties) = preSolution
20
+		HideSolutionNode = FALSE
21
+	EndGlobalSection
22
+	GlobalSection(ExtensibilityGlobals) = postSolution
23
+		SolutionGuid = {7C6ED058-0543-4B6F-931D-C17449DE1F11}
24
+	EndGlobalSection
25
+EndGlobal

+ 6
- 0
FTP-DGAC-SYS/App.config Zobrazit soubor

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup>
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
5
+    </startup>
6
+</configuration>

+ 458
- 0
FTP-DGAC-SYS/FTP-DGAC-SYS.Designer.vb Zobrazit soubor

@@ -0,0 +1,458 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class FTP_DGAC_SYS
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Me.components = New System.ComponentModel.Container()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(FTP_DGAC_SYS))
33
+        Me.捷徑_dgv = New System.Windows.Forms.DataGridView()
34
+        Me.Column2 = New System.Windows.Forms.DataGridViewTextBoxColumn()
35
+        Me.計算分流1 = New System.Windows.Forms.Timer(Me.components)
36
+        Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog()
37
+        Me.Label1 = New System.Windows.Forms.Label()
38
+        Me.FTP主要位置_tb = New System.Windows.Forms.TextBox()
39
+        Me.路徑暫存1_cb = New System.Windows.Forms.ComboBox()
40
+        Me.路徑暫存2_cb = New System.Windows.Forms.ComboBox()
41
+        Me.路徑暫存3_cb = New System.Windows.Forms.ComboBox()
42
+        Me.路徑暫存4_cb = New System.Windows.Forms.ComboBox()
43
+        Me.路徑暫存5_cb = New System.Windows.Forms.ComboBox()
44
+        Me.路徑暫存6_cb = New System.Windows.Forms.ComboBox()
45
+        Me.Panel1 = New System.Windows.Forms.Panel()
46
+        Me.剔除清單_cb = New System.Windows.Forms.ComboBox()
47
+        Me.讀取料夾路徑_bt = New System.Windows.Forms.Button()
48
+        Me.剔除清單_dgv = New System.Windows.Forms.DataGridView()
49
+        Me.DataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
50
+        Me.加入剔除檔案_bt = New System.Windows.Forms.Button()
51
+        Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
52
+        Me.計算分流2 = New System.Windows.Forms.Timer(Me.components)
53
+        Me.刪除剔除檔案_bt = New System.Windows.Forms.Button()
54
+        Me.運行自動刪除_bt = New System.Windows.Forms.Button()
55
+        Me.自動循環_ch = New System.Windows.Forms.CheckBox()
56
+        Me.Label2 = New System.Windows.Forms.Label()
57
+        Me.計數_nud = New System.Windows.Forms.NumericUpDown()
58
+        Me.計數歸零_bt = New System.Windows.Forms.Button()
59
+        Me.Label3 = New System.Windows.Forms.Label()
60
+        Me.通知_lb = New System.Windows.Forms.Label()
61
+        Me.自動運行 = New System.Windows.Forms.Timer(Me.components)
62
+        Me.停頓1 = New System.Windows.Forms.Timer(Me.components)
63
+        CType(Me.捷徑_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
64
+        Me.Panel1.SuspendLayout()
65
+        CType(Me.剔除清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
66
+        CType(Me.計數_nud, System.ComponentModel.ISupportInitialize).BeginInit()
67
+        Me.SuspendLayout()
68
+        '
69
+        '捷徑_dgv
70
+        '
71
+        Me.捷徑_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
72
+            Or System.Windows.Forms.AnchorStyles.Left) _
73
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
74
+        Me.捷徑_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
75
+        Me.捷徑_dgv.BackgroundColor = System.Drawing.Color.White
76
+        Me.捷徑_dgv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
77
+        DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
78
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.White
79
+        DataGridViewCellStyle1.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
80
+        DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText
81
+        DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
82
+        DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
83
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
84
+        Me.捷徑_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
85
+        Me.捷徑_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
86
+        Me.捷徑_dgv.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Column2})
87
+        DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
88
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.White
89
+        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
90
+        DataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText
91
+        DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
92
+        DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
93
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
94
+        Me.捷徑_dgv.DefaultCellStyle = DataGridViewCellStyle2
95
+        Me.捷徑_dgv.GridColor = System.Drawing.Color.LightGray
96
+        Me.捷徑_dgv.Location = New System.Drawing.Point(6, 27)
97
+        Me.捷徑_dgv.Margin = New System.Windows.Forms.Padding(4)
98
+        Me.捷徑_dgv.Name = "捷徑_dgv"
99
+        DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
100
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.White
101
+        DataGridViewCellStyle3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
102
+        DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText
103
+        DataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight
104
+        DataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText
105
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
106
+        Me.捷徑_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle3
107
+        Me.捷徑_dgv.RowHeadersWidth = 5
108
+        Me.捷徑_dgv.RowTemplate.Height = 24
109
+        Me.捷徑_dgv.Size = New System.Drawing.Size(458, 299)
110
+        Me.捷徑_dgv.TabIndex = 664
111
+        '
112
+        'Column2
113
+        '
114
+        Me.Column2.FillWeight = 127.1574!
115
+        Me.Column2.HeaderText = "位置"
116
+        Me.Column2.Name = "Column2"
117
+        '
118
+        '計算分流1
119
+        '
120
+        '
121
+        'FolderBrowserDialog1
122
+        '
123
+        Me.FolderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer
124
+        Me.FolderBrowserDialog1.SelectedPath = "C:\Users\USER\Desktop"
125
+        '
126
+        'Label1
127
+        '
128
+        Me.Label1.AutoSize = True
129
+        Me.Label1.Location = New System.Drawing.Point(8, 6)
130
+        Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
131
+        Me.Label1.Name = "Label1"
132
+        Me.Label1.Size = New System.Drawing.Size(75, 16)
133
+        Me.Label1.TabIndex = 665
134
+        Me.Label1.Text = "FTP主要位置"
135
+        '
136
+        'FTP主要位置_tb
137
+        '
138
+        Me.FTP主要位置_tb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
139
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
140
+        Me.FTP主要位置_tb.Location = New System.Drawing.Point(85, 3)
141
+        Me.FTP主要位置_tb.Name = "FTP主要位置_tb"
142
+        Me.FTP主要位置_tb.Size = New System.Drawing.Size(276, 23)
143
+        Me.FTP主要位置_tb.TabIndex = 666
144
+        '
145
+        '路徑暫存1_cb
146
+        '
147
+        Me.路徑暫存1_cb.FormattingEnabled = True
148
+        Me.路徑暫存1_cb.Location = New System.Drawing.Point(3, 3)
149
+        Me.路徑暫存1_cb.Name = "路徑暫存1_cb"
150
+        Me.路徑暫存1_cb.Size = New System.Drawing.Size(137, 24)
151
+        Me.路徑暫存1_cb.TabIndex = 667
152
+        '
153
+        '路徑暫存2_cb
154
+        '
155
+        Me.路徑暫存2_cb.FormattingEnabled = True
156
+        Me.路徑暫存2_cb.Location = New System.Drawing.Point(3, 28)
157
+        Me.路徑暫存2_cb.Name = "路徑暫存2_cb"
158
+        Me.路徑暫存2_cb.Size = New System.Drawing.Size(137, 24)
159
+        Me.路徑暫存2_cb.TabIndex = 668
160
+        '
161
+        '路徑暫存3_cb
162
+        '
163
+        Me.路徑暫存3_cb.FormattingEnabled = True
164
+        Me.路徑暫存3_cb.Location = New System.Drawing.Point(3, 53)
165
+        Me.路徑暫存3_cb.Name = "路徑暫存3_cb"
166
+        Me.路徑暫存3_cb.Size = New System.Drawing.Size(137, 24)
167
+        Me.路徑暫存3_cb.TabIndex = 669
168
+        '
169
+        '路徑暫存4_cb
170
+        '
171
+        Me.路徑暫存4_cb.FormattingEnabled = True
172
+        Me.路徑暫存4_cb.Location = New System.Drawing.Point(3, 78)
173
+        Me.路徑暫存4_cb.Name = "路徑暫存4_cb"
174
+        Me.路徑暫存4_cb.Size = New System.Drawing.Size(137, 24)
175
+        Me.路徑暫存4_cb.TabIndex = 670
176
+        '
177
+        '路徑暫存5_cb
178
+        '
179
+        Me.路徑暫存5_cb.FormattingEnabled = True
180
+        Me.路徑暫存5_cb.Location = New System.Drawing.Point(3, 103)
181
+        Me.路徑暫存5_cb.Name = "路徑暫存5_cb"
182
+        Me.路徑暫存5_cb.Size = New System.Drawing.Size(137, 24)
183
+        Me.路徑暫存5_cb.TabIndex = 671
184
+        '
185
+        '路徑暫存6_cb
186
+        '
187
+        Me.路徑暫存6_cb.FormattingEnabled = True
188
+        Me.路徑暫存6_cb.Location = New System.Drawing.Point(3, 128)
189
+        Me.路徑暫存6_cb.Name = "路徑暫存6_cb"
190
+        Me.路徑暫存6_cb.Size = New System.Drawing.Size(137, 24)
191
+        Me.路徑暫存6_cb.TabIndex = 672
192
+        '
193
+        'Panel1
194
+        '
195
+        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
196
+        Me.Panel1.Controls.Add(Me.剔除清單_cb)
197
+        Me.Panel1.Controls.Add(Me.路徑暫存1_cb)
198
+        Me.Panel1.Controls.Add(Me.路徑暫存6_cb)
199
+        Me.Panel1.Controls.Add(Me.路徑暫存2_cb)
200
+        Me.Panel1.Controls.Add(Me.路徑暫存5_cb)
201
+        Me.Panel1.Controls.Add(Me.路徑暫存3_cb)
202
+        Me.Panel1.Controls.Add(Me.路徑暫存4_cb)
203
+        Me.Panel1.Location = New System.Drawing.Point(161, 107)
204
+        Me.Panel1.Name = "Panel1"
205
+        Me.Panel1.Size = New System.Drawing.Size(146, 198)
206
+        Me.Panel1.TabIndex = 673
207
+        '
208
+        '剔除清單_cb
209
+        '
210
+        Me.剔除清單_cb.FormattingEnabled = True
211
+        Me.剔除清單_cb.Location = New System.Drawing.Point(3, 154)
212
+        Me.剔除清單_cb.Name = "剔除清單_cb"
213
+        Me.剔除清單_cb.Size = New System.Drawing.Size(137, 24)
214
+        Me.剔除清單_cb.TabIndex = 673
215
+        '
216
+        '讀取料夾路徑_bt
217
+        '
218
+        Me.讀取料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
219
+        Me.讀取料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
220
+        Me.讀取料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
221
+        Me.讀取料夾路徑_bt.Location = New System.Drawing.Point(367, 2)
222
+        Me.讀取料夾路徑_bt.Name = "讀取料夾路徑_bt"
223
+        Me.讀取料夾路徑_bt.Size = New System.Drawing.Size(97, 24)
224
+        Me.讀取料夾路徑_bt.TabIndex = 674
225
+        Me.讀取料夾路徑_bt.Text = "讀取料夾路徑"
226
+        Me.讀取料夾路徑_bt.UseVisualStyleBackColor = True
227
+        '
228
+        '剔除清單_dgv
229
+        '
230
+        Me.剔除清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
231
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
232
+        Me.剔除清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
233
+        Me.剔除清單_dgv.BackgroundColor = System.Drawing.Color.White
234
+        Me.剔除清單_dgv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
235
+        DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
236
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.White
237
+        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
238
+        DataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText
239
+        DataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight
240
+        DataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText
241
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
242
+        Me.剔除清單_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle4
243
+        Me.剔除清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
244
+        Me.剔除清單_dgv.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.DataGridViewTextBoxColumn1})
245
+        DataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
246
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.White
247
+        DataGridViewCellStyle5.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
248
+        DataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText
249
+        DataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight
250
+        DataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText
251
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
252
+        Me.剔除清單_dgv.DefaultCellStyle = DataGridViewCellStyle5
253
+        Me.剔除清單_dgv.GridColor = System.Drawing.Color.LightGray
254
+        Me.剔除清單_dgv.Location = New System.Drawing.Point(6, 328)
255
+        Me.剔除清單_dgv.Margin = New System.Windows.Forms.Padding(4)
256
+        Me.剔除清單_dgv.Name = "剔除清單_dgv"
257
+        DataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
258
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.White
259
+        DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
260
+        DataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText
261
+        DataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight
262
+        DataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText
263
+        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
264
+        Me.剔除清單_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle6
265
+        Me.剔除清單_dgv.RowHeadersWidth = 5
266
+        Me.剔除清單_dgv.RowTemplate.Height = 24
267
+        Me.剔除清單_dgv.Size = New System.Drawing.Size(316, 113)
268
+        Me.剔除清單_dgv.TabIndex = 675
269
+        '
270
+        'DataGridViewTextBoxColumn1
271
+        '
272
+        Me.DataGridViewTextBoxColumn1.FillWeight = 127.1574!
273
+        Me.DataGridViewTextBoxColumn1.HeaderText = "檔案"
274
+        Me.DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1"
275
+        '
276
+        '加入剔除檔案_bt
277
+        '
278
+        Me.加入剔除檔案_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
279
+        Me.加入剔除檔案_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
280
+        Me.加入剔除檔案_bt.ForeColor = System.Drawing.Color.Blue
281
+        Me.加入剔除檔案_bt.Location = New System.Drawing.Point(325, 329)
282
+        Me.加入剔除檔案_bt.Name = "加入剔除檔案_bt"
283
+        Me.加入剔除檔案_bt.Size = New System.Drawing.Size(139, 38)
284
+        Me.加入剔除檔案_bt.TabIndex = 676
285
+        Me.加入剔除檔案_bt.Text = "加入剔除檔案"
286
+        Me.加入剔除檔案_bt.UseVisualStyleBackColor = True
287
+        '
288
+        'OpenFileDialog1
289
+        '
290
+        Me.OpenFileDialog1.FileName = "OpenFileDialog1"
291
+        '
292
+        '計算分流2
293
+        '
294
+        '
295
+        '刪除剔除檔案_bt
296
+        '
297
+        Me.刪除剔除檔案_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
298
+        Me.刪除剔除檔案_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
299
+        Me.刪除剔除檔案_bt.ForeColor = System.Drawing.Color.Red
300
+        Me.刪除剔除檔案_bt.Location = New System.Drawing.Point(325, 367)
301
+        Me.刪除剔除檔案_bt.Name = "刪除剔除檔案_bt"
302
+        Me.刪除剔除檔案_bt.Size = New System.Drawing.Size(139, 38)
303
+        Me.刪除剔除檔案_bt.TabIndex = 677
304
+        Me.刪除剔除檔案_bt.Text = "刪除剔除檔案"
305
+        Me.刪除剔除檔案_bt.UseVisualStyleBackColor = True
306
+        '
307
+        '運行自動刪除_bt
308
+        '
309
+        Me.運行自動刪除_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
310
+        Me.運行自動刪除_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
311
+        Me.運行自動刪除_bt.ForeColor = System.Drawing.Color.Green
312
+        Me.運行自動刪除_bt.Location = New System.Drawing.Point(325, 432)
313
+        Me.運行自動刪除_bt.Name = "運行自動刪除_bt"
314
+        Me.運行自動刪除_bt.Size = New System.Drawing.Size(139, 38)
315
+        Me.運行自動刪除_bt.TabIndex = 678
316
+        Me.運行自動刪除_bt.Text = "運行自動刪除"
317
+        Me.運行自動刪除_bt.UseVisualStyleBackColor = True
318
+        '
319
+        '自動循環_ch
320
+        '
321
+        Me.自動循環_ch.AutoSize = True
322
+        Me.自動循環_ch.Location = New System.Drawing.Point(329, 411)
323
+        Me.自動循環_ch.Name = "自動循環_ch"
324
+        Me.自動循環_ch.Size = New System.Drawing.Size(129, 20)
325
+        Me.自動循環_ch.TabIndex = 679
326
+        Me.自動循環_ch.Text = "開啟3小時自動循環"
327
+        Me.自動循環_ch.UseVisualStyleBackColor = True
328
+        '
329
+        'Label2
330
+        '
331
+        Me.Label2.AutoSize = True
332
+        Me.Label2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
333
+        Me.Label2.Location = New System.Drawing.Point(10, 447)
334
+        Me.Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
335
+        Me.Label2.Name = "Label2"
336
+        Me.Label2.Size = New System.Drawing.Size(139, 16)
337
+        Me.Label2.TabIndex = 680
338
+        Me.Label2.Text = "已累計刪除可疑檔案數量"
339
+        '
340
+        '計數_nud
341
+        '
342
+        Me.計數_nud.Enabled = False
343
+        Me.計數_nud.Location = New System.Drawing.Point(156, 444)
344
+        Me.計數_nud.Maximum = New Decimal(New Integer() {1000000000, 0, 0, 0})
345
+        Me.計數_nud.Name = "計數_nud"
346
+        Me.計數_nud.Size = New System.Drawing.Size(90, 23)
347
+        Me.計數_nud.TabIndex = 681
348
+        Me.計數_nud.ThousandsSeparator = True
349
+        '
350
+        '計數歸零_bt
351
+        '
352
+        Me.計數歸零_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
353
+        Me.計數歸零_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
354
+        Me.計數歸零_bt.ForeColor = System.Drawing.Color.Blue
355
+        Me.計數歸零_bt.Location = New System.Drawing.Point(252, 443)
356
+        Me.計數歸零_bt.Name = "計數歸零_bt"
357
+        Me.計數歸零_bt.Size = New System.Drawing.Size(69, 24)
358
+        Me.計數歸零_bt.TabIndex = 682
359
+        Me.計數歸零_bt.Text = "計數歸零"
360
+        Me.計數歸零_bt.UseVisualStyleBackColor = True
361
+        '
362
+        'Label3
363
+        '
364
+        Me.Label3.AutoSize = True
365
+        Me.Label3.Location = New System.Drawing.Point(2, 457)
366
+        Me.Label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
367
+        Me.Label3.Name = "Label3"
368
+        Me.Label3.Size = New System.Drawing.Size(467, 16)
369
+        Me.Label3.TabIndex = 683
370
+        Me.Label3.Text = "_________________________________________________________________________________" &
371
+    "___________"
372
+        '
373
+        '通知_lb
374
+        '
375
+        Me.通知_lb.AutoEllipsis = True
376
+        Me.通知_lb.ForeColor = System.Drawing.Color.Red
377
+        Me.通知_lb.Location = New System.Drawing.Point(5, 474)
378
+        Me.通知_lb.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
379
+        Me.通知_lb.Name = "通知_lb"
380
+        Me.通知_lb.Size = New System.Drawing.Size(464, 22)
381
+        Me.通知_lb.TabIndex = 684
382
+        Me.通知_lb.Text = "☆☆☆☆☆☆☆☆☆☆   未自動運行   ☆☆☆☆☆☆☆☆☆☆"
383
+        Me.通知_lb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
384
+        '
385
+        '自動運行
386
+        '
387
+        Me.自動運行.Interval = 10800000
388
+        '
389
+        '停頓1
390
+        '
391
+        Me.停頓1.Interval = 1200
392
+        '
393
+        'FTP_DGAC_SYS
394
+        '
395
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
396
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
397
+        Me.ClientSize = New System.Drawing.Size(469, 496)
398
+        Me.Controls.Add(Me.通知_lb)
399
+        Me.Controls.Add(Me.計數歸零_bt)
400
+        Me.Controls.Add(Me.計數_nud)
401
+        Me.Controls.Add(Me.Label2)
402
+        Me.Controls.Add(Me.自動循環_ch)
403
+        Me.Controls.Add(Me.運行自動刪除_bt)
404
+        Me.Controls.Add(Me.刪除剔除檔案_bt)
405
+        Me.Controls.Add(Me.加入剔除檔案_bt)
406
+        Me.Controls.Add(Me.剔除清單_dgv)
407
+        Me.Controls.Add(Me.讀取料夾路徑_bt)
408
+        Me.Controls.Add(Me.Panel1)
409
+        Me.Controls.Add(Me.FTP主要位置_tb)
410
+        Me.Controls.Add(Me.Label1)
411
+        Me.Controls.Add(Me.捷徑_dgv)
412
+        Me.Controls.Add(Me.Label3)
413
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
414
+        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
415
+        Me.Margin = New System.Windows.Forms.Padding(4)
416
+        Me.Name = "FTP_DGAC_SYS"
417
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
418
+        Me.Text = "FTP-DGAC-SYS"
419
+        CType(Me.捷徑_dgv, System.ComponentModel.ISupportInitialize).EndInit()
420
+        Me.Panel1.ResumeLayout(False)
421
+        CType(Me.剔除清單_dgv, System.ComponentModel.ISupportInitialize).EndInit()
422
+        CType(Me.計數_nud, System.ComponentModel.ISupportInitialize).EndInit()
423
+        Me.ResumeLayout(False)
424
+        Me.PerformLayout()
425
+
426
+    End Sub
427
+
428
+    Friend WithEvents 捷徑_dgv As DataGridView
429
+    Friend WithEvents Column2 As DataGridViewTextBoxColumn
430
+    Friend WithEvents 計算分流1 As Timer
431
+    Friend WithEvents FolderBrowserDialog1 As FolderBrowserDialog
432
+    Friend WithEvents Label1 As Label
433
+    Friend WithEvents FTP主要位置_tb As TextBox
434
+    Friend WithEvents 路徑暫存1_cb As ComboBox
435
+    Friend WithEvents 路徑暫存2_cb As ComboBox
436
+    Friend WithEvents 路徑暫存3_cb As ComboBox
437
+    Friend WithEvents 路徑暫存4_cb As ComboBox
438
+    Friend WithEvents 路徑暫存5_cb As ComboBox
439
+    Friend WithEvents 路徑暫存6_cb As ComboBox
440
+    Friend WithEvents Panel1 As Panel
441
+    Friend WithEvents 讀取料夾路徑_bt As Button
442
+    Friend WithEvents 剔除清單_dgv As DataGridView
443
+    Friend WithEvents DataGridViewTextBoxColumn1 As DataGridViewTextBoxColumn
444
+    Friend WithEvents 加入剔除檔案_bt As Button
445
+    Friend WithEvents OpenFileDialog1 As OpenFileDialog
446
+    Friend WithEvents 計算分流2 As Timer
447
+    Friend WithEvents 剔除清單_cb As ComboBox
448
+    Friend WithEvents 刪除剔除檔案_bt As Button
449
+    Friend WithEvents 運行自動刪除_bt As Button
450
+    Friend WithEvents 自動循環_ch As CheckBox
451
+    Friend WithEvents Label2 As Label
452
+    Friend WithEvents 計數_nud As NumericUpDown
453
+    Friend WithEvents 計數歸零_bt As Button
454
+    Friend WithEvents Label3 As Label
455
+    Friend WithEvents 通知_lb As Label
456
+    Friend WithEvents 自動運行 As Timer
457
+    Friend WithEvents 停頓1 As Timer
458
+End Class

+ 221
- 0
FTP-DGAC-SYS/FTP-DGAC-SYS.resx Zobrazit soubor

@@ -0,0 +1,221 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
+    <xsd:element name="root" msdata:IsDataSet="true">
65
+      <xsd:complexType>
66
+        <xsd:choice maxOccurs="unbounded">
67
+          <xsd:element name="metadata">
68
+            <xsd:complexType>
69
+              <xsd:sequence>
70
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
+              </xsd:sequence>
72
+              <xsd:attribute name="name" use="required" type="xsd:string" />
73
+              <xsd:attribute name="type" type="xsd:string" />
74
+              <xsd:attribute name="mimetype" type="xsd:string" />
75
+              <xsd:attribute ref="xml:space" />
76
+            </xsd:complexType>
77
+          </xsd:element>
78
+          <xsd:element name="assembly">
79
+            <xsd:complexType>
80
+              <xsd:attribute name="alias" type="xsd:string" />
81
+              <xsd:attribute name="name" type="xsd:string" />
82
+            </xsd:complexType>
83
+          </xsd:element>
84
+          <xsd:element name="data">
85
+            <xsd:complexType>
86
+              <xsd:sequence>
87
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
+              </xsd:sequence>
90
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+              <xsd:attribute ref="xml:space" />
94
+            </xsd:complexType>
95
+          </xsd:element>
96
+          <xsd:element name="resheader">
97
+            <xsd:complexType>
98
+              <xsd:sequence>
99
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
+              </xsd:sequence>
101
+              <xsd:attribute name="name" type="xsd:string" use="required" />
102
+            </xsd:complexType>
103
+          </xsd:element>
104
+        </xsd:choice>
105
+      </xsd:complexType>
106
+    </xsd:element>
107
+  </xsd:schema>
108
+  <resheader name="resmimetype">
109
+    <value>text/microsoft-resx</value>
110
+  </resheader>
111
+  <resheader name="version">
112
+    <value>2.0</value>
113
+  </resheader>
114
+  <resheader name="reader">
115
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+  <resheader name="writer">
118
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
+  </resheader>
120
+  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
121
+    <value>True</value>
122
+  </metadata>
123
+  <metadata name="計算分流1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124
+    <value>15, 7</value>
125
+  </metadata>
126
+  <metadata name="FolderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
127
+    <value>210, 8</value>
128
+  </metadata>
129
+  <metadata name="DataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
130
+    <value>True</value>
131
+  </metadata>
132
+  <metadata name="OpenFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
133
+    <value>391, 8</value>
134
+  </metadata>
135
+  <metadata name="計算分流2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
136
+    <value>112, 7</value>
137
+  </metadata>
138
+  <metadata name="自動運行.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
139
+    <value>540, 8</value>
140
+  </metadata>
141
+  <metadata name="停頓1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
142
+    <value>632, 8</value>
143
+  </metadata>
144
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
145
+  <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
146
+    <value>
147
+        AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAMMOAADDDgAAAAAAAAAA
148
+        AAAkG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
149
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
150
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQc6/8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7P8mHu7/JBzv/yQb
151
+        7v8mHu7/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8lHOz/Jh3u/yUd7v8kG+3/JBzs/yce
152
+        7/8mHvD/Jh3u/yUb7f8kG+3/JBvt/yQb7f8kG+3/Ixvw/ycf7f8nHez/JBvt/yQc7P8kG+3/JBzv/xgO
153
+        6P8aEuP/IRfj/xcN5v8hHPD/JRvt/yQb7P8kG+3/JRzt/yce7f8kG+3/JBzt/yUd7/8aFOf/Hxbn/yMd
154
+        7v8hGe//FQzj/xUL3/8dEuf/Ixrv/yQc7P8kG+3/JBvt/yMb7v8gFOf/GQzm/x4U8P8nHu//Jh3t/yUd
155
+        6v8hGef/gobQ/9zb7P/i4fP/pJvY/y8h2P8hGvD/JRzs/yUc7f8fFez/GA/v/ycf7/8mHe3/Ewvq/4WH
156
+        4v+MgNf/Fgrr/0A93P+xs9P/urfW/6Se3v8wIt//Ixvv/yQc7P8lHO7/Hhfq/5CV2P+ZkNz/Qzjc/xkQ
157
+        4P8bEu//Ixvx/yQg5P9ubM//lpHq/4+Q5v/x+e3/kYfS/xkP6f8nH+7/HhTu/0NB6v9uadL/Fgrd/yEc
158
+        7f9APN3/mZ7a//Pt5v8tIdv/PTzd/4WA1v+pq+j/+/vw/0c60/8cFfD/JBzt/yQc7P8iHuT/g4Xh/9/d
159
+        6//w8+7/trDc/1xO1P8hGeD/JB7v/xYO7f8VDOr/BADj/5We6P/Mydr/HBPd/ykf8f8VDOv/bnLw/+7u
160
+        3/9eU8n/c3Tk/+bl4P9NTrD/6Ozx/29k1P8XD+7/EATq/zs85//s8u3/RjrS/x0V8f8kG+7/JBvt/yUc
161
+        7v8XDuz/GBbV/7/D3P/t7u//7O7m/5yUv/8fEt3/JyDw/ysj7f8WD+r/gIbq/9fT1f8rHtr/Jh3w/xcP
162
+        6/9jaOv////6/9fY4P/a3uf/7uzj/zMot/+9yOz/m47J/wkA5P8QBuf/PTvo//D17v9HO9P/HRTx/yQb
163
+        7f8kG+3/JBzt/yUd8f8aGeP/v8PT/5qN4f82MNr/amHS/yEY6f8nHfL/KB/u/xsR8f9YXM//3dvX/zMi
164
+        0P8kHfL/FQzp/25y9P/c3NL/IRG6/z4+4P/m6+D/NSm8/5Wb3//e2N7/i4fW/4+L3f+iotz/8fDq/0c7
165
+        0/8dFfD/JBvt/yQb7f8lHO3/JBvw/xoY4f+/xNX/p5jn/w4C7P8aFur/HhTk/xwR4/8cE+P/DgLh/1VZ
166
+        5v/m5dz/QDHW/yAb8f8XDOr/bXP0/9jX0f8MAMv/MjLw/+ju3/8zJr//e4Pi/+3s4f+0s9v/u7ni/8PG
167
+        4//y8ev/RjvT/x0W8P8kG+3/JBvt/yUc7f8kG/D/Ghjh/77E1v+omeb/DgPn/19j3v/ExOv/xcTu/8/N
168
+        6//Jye3/2Njv//j37v9DN9z/Ihnu/xgO6f9rcPH/5+fb/3Vt0/+Nj+//6+7g/y8fvP9+je7/r6q8/wAA
169
+        zf8AAOb/MS/g//D17/9GO9L/HBXx/yQb7f8kG+3/JRzs/yMb8P8aGOL/vsTW/6iZ5v8NBOn/PDzf//D1
170
+        8P/Py+L/oKHq/62q7f+ppu7/nJbg/zgs3f8kGvD/GA/q/2Vp7P////n/19Xj/9rc6v/x7uH/LiG9/36G
171
+        6v/Tz9P/cWff/3Nx7v+Ljez/8fPt/0g70f8eFe//JBvt/yQb7f8kHO3/Jh3v/x0c3/+/xNb/p5nn/xkR
172
+        6f8aFOH/rrfl/7Sry/8NANr/Fg3p/xUM5/8ZD+j/Ihvt/yYf7f8WC+v/bXP0/9zb0/8ZCb7/Njnf/+jt
173
+        3f8xJb//dHzm////+P/2+fT//f73//r++v/08+r/RTrU/x4V8P8kG+3/JBvt/yYd7f8eEO7/BwXe/7vB
174
+        0/+ajeT/BQDj/xMK7/9gZuX/+fjm/z40zv8dFPf/JBvy/yIa8v8hGfD/Jx/s/xYM6f9tcvX/09XN/woA
175
+        yf8yL/H/5+ze/y0hvf99i+v/vrfE/yMX0v8nH+j/UFHk//D17/9GO9H/HRXx/yQb7f8mHO3/HRXr/1td
176
+        5P+QiuL/3ODm/9HM7P+JgeH/SEDf/zk8xf/s8+z/jYDI/y8l0P85M9P/ODDR/zIp3P8mHu3/FQzr/21w
177
+        8f/08ub/hn7Z/52c8v/x8+P/LSG8/4KK7//DvMT/LiPM/zUu3v9ZV9v/8/bv/0c80v8dFPH/JBvt/ycd
178
+        7v8ZEOr/g4fm/9jY6v+/v+v/xcfr/8vI6f+PkM//2t/i/+vs8f/s6+r/39/f/+Hj5P/m5dr/e264/yMY
179
+        7P8fFuv/UlHf/7a72f+7vdv/vL3c/6yryf8tIcr/cnbe//Dy5v/b3N7/4uHi/+Hi5P/i4d//QzrR/x8V
180
+        8P8kG+3/JBvt/yUb7v8gFuf/GxLe/xwU4f8dE+H/GQ7j/ywj5P9BOdv/OzHa/zYt3/86MeD/OzHh/zwx
181
+        3v8vJeL/HRXy/yIW8v8dE+3/FAvf/xMI4v8TCOP/GQ7i/yIa7f8qJt3/NC/T/zgu2f86L9b/OC/X/zYs
182
+        0v8mH+b/Ixvt/yQb7f8kG+3/JBvt/yQc7v8lHPD/JR3v/yUc8P8mHe//Ixnv/x0U8P8gGuz/MCrb/zEq
183
+        2/8xKdv/MCnd/zMr2/85Mtj/NzHa/zcx2f84Mtz/OjHc/zky3f86MNv/KB/p/yEZ8P8hGPH/IBfx/yAX
184
+        8f8gF/H/IRfy/yMb7/8kHOz/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8mHez/IBfv/zk5
185
+        1//r8un///71//z79P/8/PP//fz0//Hx8v/v8O7/+/vz//v78//6+fL////5/9vU0/86LNH/Hxnw/ycd
186
+        6/8lHOz/JRzs/yUc7P8lHOz/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yUc
187
+        7f8iGO7/Lynm/3Fr6/90bvD/c27u/3Vv8/9kY+T/wMTY/8e/1f9wZez/dW7w/3Nu7v92b/D/aGPn/ygh
188
+        5f8kGu7/JBzt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
189
+        7f8kG+3/JBvt/yUb7v8jGe7/Fg3s/xYN6/8XDev/GRDw/wIA2P+jqsj/rp/M/w0B5/8YDuv/FQ3r/xYM
190
+        6/8YEOz/Ixru/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
191
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8nHu3/Jx7t/yge7f8qIvH/FRDb/6iuy/+0ps7/HhPp/ykg
192
+        7v8nH+3/Jx7t/yYe7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
193
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvs/yge8v8RDdv/p63L/7Ol
194
+        zf8bEOn/Jh3t/yUb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
195
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+z/Jx7y/xEN
196
+        2/+nrcv/s6XN/xsQ6f8mHe3/JRvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
197
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
198
+        7P8nHvL/EQ3b/6ety/+zpc3/GxDp/yYd7f8lG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
199
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yUc
200
+        7f8mHe3/Jx3s/ykg8v8UD9v/p63L/7Slzv8dEun/KB/t/ycd7f8mHe3/JRzt/yQb7f8kG+3/JBvt/yQb
201
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
202
+        7f8mHO3/IBXt/xkR7f8bEe3/HhTz/wgC2/+kqsr/sKHN/xEH6P8dEu7/HBHt/xkR7f8iFu7/JRzu/yQb
203
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
204
+        7f8kG+3/JRzt/yAY7v89OuT/VE/i/1BK5f9VTuj/QD3U/7O40P+8sc3/TUPc/1RM5f9SS+X/VE/j/zww
205
+        5f8hF+7/Jhzt/yUb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
206
+        7f8kG+3/JBvt/yQb7f8nHu7/Fw7q/5ed5P/+/+//7/Du//Lz7//w8+7/7e7q/+zr6P/y8e7/8/Pu/+/w
207
+        7v////D/lIfd/xkO6P8nHu7/JRvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
208
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yUb7P8hGu//MC3b/0I5z/89NtD/PTbQ/z420P8/N9D/PjfQ/z03
209
+        z/8+Ns//PTbR/0A4y/83LNz/IRrv/yQc6/8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
210
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yYb7f8gGe7/HRbw/x4W7/8eFu//Hhbv/x8W
211
+        7/8fF+//Hhbv/x4X7/8eFu//Hhbw/x4Z7v8lHOz/JRvt/yMb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
212
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBzs/yQc7P8kHez/JB3s/yQd
213
+        7P8kHez/JB3s/yQd7P8kHez/JB3s/yQd7P8lHev/JBzt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
214
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvs/yQb
215
+        7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb7f8kG+3/JBvt/yQb
216
+        7f8kG+3/JBvt/yQb7f8kG+3/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
217
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
218
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
219
+</value>
220
+  </data>
221
+</root>

+ 271
- 0
FTP-DGAC-SYS/FTP-DGAC-SYS.vb Zobrazit soubor

@@ -0,0 +1,271 @@
1
+Imports System.IO
2
+Imports System.Text
3
+Public Class FTP_DGAC_SYS
4
+    Dim FTP位置, file_name, strDirName As String
5
+    Dim 刪除數, 位置1, 總數, N1, N2, N3, N4, N5, N6, N7 As Integer
6
+    Dim Strs As String = Application.StartupPath
7
+    Dim Str As String = Application.StartupPath
8
+    Private Sub FTP_DGAC_SYS_Load(sender As Object, e As EventArgs) Handles MyBase.Load
9
+        Panel1.SendToBack() : 位置1 = -1
10
+        捷徑_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 7.6)
11
+        捷徑_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
12
+        捷徑_dgv.ColumnHeadersHeight = 25 : 捷徑_dgv.AllowUserToAddRows = False
13
+        捷徑_dgv.RowTemplate.Height = 20 : 捷徑_dgv.Columns(0).FillWeight = 30
14
+        捷徑_dgv.Columns(0).ReadOnly = True
15
+
16
+        剔除清單_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 7.6)
17
+        剔除清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
18
+        剔除清單_dgv.ColumnHeadersHeight = 25 : 剔除清單_dgv.AllowUserToAddRows = False
19
+        剔除清單_dgv.RowTemplate.Height = 20 : 剔除清單_dgv.Columns(0).FillWeight = 30
20
+        剔除清單_dgv.Columns(0).ReadOnly = True
21
+    End Sub
22
+    Private Sub FTP_DGAC_SYS_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
23
+        '--------------自動循環---------------------------------------------------------------------
24
+        If File.Exists(Strs & "\OPAUTO.CSV") Then : 自動循環_ch.Checked = True : Else : 自動循環_ch.Checked = False : End If
25
+        '--------------類計數量---------------------------------------------------------------------
26
+        If File.Exists(Str + "\DLNUD.CSV") Then
27
+            Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\DLNUD.CSV", System.Text.Encoding.Default)
28
+            Dim Text As String = "" : Dim line As String = filereader.ReadLine()
29
+            While Not (line Is Nothing) : Text = Text & line & vbCrLf : line = filereader.ReadLine() : End While : filereader.Close()
30
+            計數_nud.Value = Text
31
+        Else
32
+            計數_nud.Value = 0
33
+        End If
34
+        '--------------FTP位置---------------------------------------------------------------------
35
+        If File.Exists(Str + "\FTPLINE.CSV") Then
36
+            Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\FTPLINE.CSV", System.Text.Encoding.Default)
37
+            Dim Text As String = "" : Dim line As String = filereader.ReadLine()
38
+            While Not (line Is Nothing) : Text = Text & line & vbCrLf : line = filereader.ReadLine() : End While : filereader.Close()
39
+            計算分流1.Enabled = True : 計算分流2.Enabled = True : 停頓1.Enabled = True
40
+        Else
41
+            If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
42
+                FTP位置 = FolderBrowserDialog1.SelectedPath
43
+                Dim strDirName As String
44
+                If File.Exists(Strs & "\FTPLINE.CSV") Then : File.Delete(Strs & "\FTPLINE.CSV") : End If
45
+                strDirName = Strs & "\FTPLINE.CSV"
46
+                Try
47
+                    Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
48
+                        Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
49
+                            Dim strd As String = FTP位置
50
+                            sw.WriteLine(strd)   '插入一整行
51
+                            sw.Flush()
52
+                        End Using
53
+                    End Using
54
+                Catch ex As Exception
55
+                End Try
56
+                計算分流1.Enabled = True : 計算分流2.Enabled = True : 停頓1.Enabled = True
57
+            Else
58
+                MsgBox("請先選擇資料夾路徑!!")
59
+            End If
60
+        End If
61
+    End Sub
62
+    Private Sub FTP_DGAC_SYS_Closing(sender As Object, e As EventArgs) Handles MyBase.Closing
63
+        If File.Exists(Strs & "\DLNUD.CSV") Then : File.Delete(Strs & "\DLNUD.CSV") : End If
64
+        strDirName = Strs & "\DLNUD.CSV"
65
+        Try
66
+            Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
67
+                Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
68
+                    Dim str As String
69
+                    str = 計數_nud.Value : sw.WriteLine(str) : sw.Flush()
70
+                End Using
71
+            End Using
72
+        Catch ex As Exception
73
+        End Try
74
+    End Sub
75
+    Private Sub 自動運行_Tick(sender As Object, e As EventArgs) Handles 自動運行.Tick
76
+        運行自動刪除()
77
+    End Sub
78
+    Private Sub 停頓1_Tick(sender As Object, e As EventArgs) Handles 停頓1.Tick
79
+        If 自動循環_ch.Checked = True Then : 運行自動刪除() : 自動運行.Enabled = True : End If
80
+        停頓1.Enabled = False
81
+    End Sub
82
+    Private Sub 計算分流1_Tick(sender As Object, e As EventArgs) Handles 計算分流1.Tick
83
+        計算分流1.Enabled = False
84
+        If File.Exists(Str + "\FTPLINE.CSV") Then
85
+            Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\FTPLINE.CSV", System.Text.Encoding.Default)
86
+            Dim line As String = filereader.ReadLine()
87
+            While Not (line Is Nothing) : FTP位置 = line : line = filereader.ReadLine() : End While
88
+            filereader.Close()
89
+        End If
90
+        FTP主要位置_tb.Text = FTP位置 : N1 = 0 : N2 = 0 : N3 = 0 : N4 = 0 : N5 = 0 : N6 = 0
91
+        路徑暫存1_cb.Items.Clear() : 路徑暫存2_cb.Items.Clear() : 路徑暫存3_cb.Items.Clear()
92
+        路徑暫存4_cb.Items.Clear() : 路徑暫存5_cb.Items.Clear() : 路徑暫存6_cb.Items.Clear()
93
+        For Each foundFile As String In My.Computer.FileSystem.GetDirectories(FTP位置)
94
+            路徑暫存1_cb.Items.Add(foundFile) : N1 += 1
95
+        Next
96
+        For i = 1 To N1 : For Each foundFile As String In My.Computer.FileSystem.GetDirectories(路徑暫存1_cb.Items(i - 1).ToString)
97
+                路徑暫存2_cb.Items.Add(foundFile) : N2 += 1 : Next
98
+        Next
99
+        For i = 1 To N2 : For Each foundFile As String In My.Computer.FileSystem.GetDirectories(路徑暫存2_cb.Items(i - 1).ToString)
100
+                路徑暫存3_cb.Items.Add(foundFile) : N3 += 1 : Next
101
+        Next
102
+        For i = 1 To N3 : For Each foundFile As String In My.Computer.FileSystem.GetDirectories(路徑暫存3_cb.Items(i - 1).ToString)
103
+                路徑暫存4_cb.Items.Add(foundFile) : N4 += 1 : Next
104
+        Next
105
+        For i = 1 To N4 : For Each foundFile As String In My.Computer.FileSystem.GetDirectories(路徑暫存4_cb.Items(i - 1).ToString)
106
+                路徑暫存5_cb.Items.Add(foundFile) : N5 += 1 : Next
107
+        Next
108
+        For i = 1 To N5 : For Each foundFile As String In My.Computer.FileSystem.GetDirectories(路徑暫存5_cb.Items(i - 1).ToString)
109
+                路徑暫存6_cb.Items.Add(foundFile) : N6 += 1 : Next
110
+        Next
111
+        總數 = N1 + N2 + N3 + N4 + N5 + N6
112
+        If N6 > 0 Then : MsgBox("子資料夾可能不只有四級,層級不足!!") : End If
113
+
114
+        For i As Integer = 0 To 捷徑_dgv.Rows.Count - 1 : 捷徑_dgv.Rows.RemoveAt(0) : Next
115
+        For i As Integer = 0 To 總數 - 1 : 捷徑_dgv.Rows.Insert(0) : Next
116
+        For i As Integer = 0 To N1 - 1
117
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存1_cb.Items(i).ToString
118
+        Next
119
+        For i As Integer = N1 To N1 + N2 - 1
120
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存2_cb.Items(i - N1).ToString
121
+        Next
122
+        For i As Integer = N1 + N2 To N1 + N2 + N3 - 1
123
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存3_cb.Items(i - (N1 + N2)).ToString
124
+        Next
125
+        For i As Integer = N1 + N2 + N3 To N1 + N2 + N3 + N4 - 1
126
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存4_cb.Items(i - (N1 + N2 + N3)).ToString
127
+        Next
128
+        For i As Integer = N1 + N2 + N3 + N4 To N1 + N2 + N3 + N4 + N5 - 1
129
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存5_cb.Items(i - (N1 + N2 + N3 + N4)).ToString
130
+        Next
131
+        For i As Integer = N1 + N2 + N3 + N4 + N5 To N1 + N2 + N3 + N4 + N5 + N6 - 1
132
+            捷徑_dgv.Rows(i).Cells(0).Value = 路徑暫存6_cb.Items(i - (N1 + N2 + N3 + N4 + N5)).ToString
133
+        Next
134
+    End Sub
135
+    Private Sub 計算分流2_Tick(sender As Object, e As EventArgs) Handles 計算分流2.Tick
136
+        計算分流2.Enabled = False
137
+        N7 = 0
138
+        If File.Exists(Str + "\FTPDELETE.CSV") Then
139
+            Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\FTPDELETE.CSV", System.Text.Encoding.Default)
140
+            Dim line As String = filereader.ReadLine()
141
+            While Not (line Is Nothing)
142
+                line = filereader.ReadLine()
143
+                If line Is Nothing Then : Else : 剔除清單_cb.Items.Add(line.ToString) : N7 += 1 : End If
144
+            End While
145
+            filereader.Close()
146
+        End If
147
+        If 剔除清單_dgv.Rows.Count > 1 Then
148
+            For i As Integer = 0 To 剔除清單_dgv.Rows.Count - 1 : 剔除清單_dgv.Rows.RemoveAt(0) : Next
149
+        End If
150
+        If N7 > 1 Then
151
+            For i As Integer = 0 To N7 - 1 : 剔除清單_dgv.Rows.Insert(0) : Next
152
+        End If
153
+        For i As Integer = 0 To N7 - 1
154
+            剔除清單_dgv.Rows(i).Cells(0).Value = 剔除清單_cb.Items(i).ToString
155
+        Next
156
+    End Sub
157
+    Private Sub 剔除清單_dgv_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles 剔除清單_dgv.CellClick
158
+        If e.RowIndex = -1 Then : Else
159
+            位置1 = e.RowIndex
160
+        End If
161
+    End Sub
162
+    Private Sub 讀取料夾路徑_bt_Click(sender As Object, e As EventArgs) Handles 讀取料夾路徑_bt.Click
163
+        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
164
+            FTP位置 = FolderBrowserDialog1.SelectedPath
165
+            If File.Exists(Strs & "\FTPLINE.CSV") Then : File.Delete(Strs & "\FTPLINE.CSV") : End If
166
+            strDirName = Strs & "\FTPLINE.CSV"
167
+            Try
168
+                Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
169
+                    Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
170
+                        Dim strd As String = FTP位置
171
+                        sw.WriteLine(strd)   '插入一整行
172
+                        sw.Flush()
173
+                    End Using
174
+                End Using
175
+            Catch ex As Exception
176
+            End Try
177
+            計算分流1.Enabled = True
178
+        Else
179
+            MsgBox("請先選擇資料夾路徑!!")
180
+        End If
181
+    End Sub
182
+    Private Sub 加入剔除檔案_bt_Click(sender As Object, e As EventArgs) Handles 加入剔除檔案_bt.Click
183
+        If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
184
+            file_name = OpenFileDialog1.SafeFileName
185
+        Else : file_name = "" : End If
186
+        If file_name <> "" Then
187
+            剔除清單_dgv.Rows.Insert(0) : 剔除清單_dgv.Rows(0).Cells(0).Value = file_name
188
+            Dim SELE As Boolean = False
189
+            If 剔除清單_dgv.Rows.Count - 1 > 0 Then
190
+                SELE = True
191
+            End If
192
+            If SELE = True Then
193
+                剔除檔案存檔()
194
+            End If
195
+        Else : End If
196
+    End Sub
197
+    Private Sub 刪除剔除檔案_bt_Click(sender As Object, e As EventArgs) Handles 刪除剔除檔案_bt.Click
198
+        If 位置1 <> -1 And 位置1 > 剔除清單_dgv.Rows.Count Then : MsgBox("沒有選擇剃除檔案!!")
199
+        Else : 剔除清單_dgv.Rows.Insert(位置1) : 位置1 = -1
200
+            剔除檔案存檔()
201
+        End If
202
+    End Sub
203
+    Private Sub 剔除檔案存檔()
204
+        If File.Exists(Strs & "\FTPDELETE.CSV") Then : File.Delete(Strs & "\FTPDELETE.CSV") : End If
205
+        strDirName = Strs & "\FTPDELETE.CSV"
206
+        Try
207
+            Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
208
+                Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
209
+                    Dim str As String
210
+                    str = "******************" : sw.WriteLine(str)
211
+                    For I As Integer = 0 To 剔除清單_dgv.Rows.Count - 1
212
+                        str = 剔除清單_dgv.Rows(I).Cells(0).Value : sw.WriteLine(str)   '插入一整行
213
+                    Next : sw.Flush()
214
+                End Using
215
+            End Using
216
+        Catch ex As Exception
217
+        End Try ': 計算分流2.Enabled = True
218
+    End Sub
219
+    Private Sub 自動循環_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 自動循環_ch.Click
220
+
221
+        If 自動循環_ch.Checked = False Then
222
+            If File.Exists(Strs & "\OPAUTO.CSV") Then : File.Delete(Strs & "\OPAUTO.CSV") : End If
223
+        Else
224
+            If File.Exists(Strs & "\OPAUTO.CSV") Then : File.Delete(Strs & "\OPAUTO.CSV") : End If
225
+            strDirName = Strs & "\OPAUTO.CSV"
226
+            Try
227
+                Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
228
+                    Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
229
+                        Dim str As String
230
+                        str = "******************" : sw.WriteLine(str) : sw.Flush()
231
+                    End Using
232
+                End Using
233
+            Catch ex As Exception
234
+            End Try
235
+        End If
236
+    End Sub
237
+    Private Sub 運行自動刪除()
238
+        If 捷徑_dgv.Rows.Count > 0 And 剔除清單_dgv.Rows.Count > 0 And FTP主要位置_tb.Text <> "" Then
239
+            For ii As Integer = 0 To 剔除清單_dgv.Rows.Count - 1
240
+                If File.Exists(FTP主要位置_tb.Text & "\" & 剔除清單_dgv.Rows(ii).Cells(0).Value.ToString) Then
241
+                    File.Delete(FTP主要位置_tb.Text & "\" & 剔除清單_dgv.Rows(ii).Cells(0).Value.ToString) : 刪除數 += 1
242
+                End If
243
+            Next
244
+            For i As Integer = 0 To 捷徑_dgv.Rows.Count - 1
245
+                For ii As Integer = 0 To 剔除清單_dgv.Rows.Count - 1
246
+                    If File.Exists(捷徑_dgv.Rows(i).Cells(0).Value.ToString & "\" & 剔除清單_dgv.Rows(ii).Cells(0).Value.ToString) Then
247
+                        File.Delete(捷徑_dgv.Rows(i).Cells(0).Value.ToString & "\" & 剔除清單_dgv.Rows(ii).Cells(0).Value.ToString) : 刪除數 += 1
248
+                    End If
249
+                Next
250
+            Next
251
+            計數_nud.Value += 刪除數
252
+        Else
253
+            MsgBox("系統基礎設定尚未完成!!")
254
+        End If
255
+        If 自動循環_ch.Checked = True Then
256
+            通知_lb.Text = "☆☆☆☆☆☆☆☆☆☆   已自動運行   ☆☆☆☆☆☆☆☆☆☆" : 通知_lb.ForeColor = Color.Green
257
+        Else
258
+            通知_lb.Text = "☆☆☆☆☆☆☆☆☆☆   未自動運行   ☆☆☆☆☆☆☆☆☆☆" : 通知_lb.ForeColor = Color.Red
259
+        End If
260
+    End Sub
261
+    Private Sub 運行自動刪除_bt_Click(sender As Object, e As EventArgs) Handles 運行自動刪除_bt.Click
262
+        If 自動循環_ch.Checked = True Then
263
+            運行自動刪除() : 自動運行.Enabled = True
264
+        Else
265
+            運行自動刪除() : MsgBox("可疑檔案刪除完成!!")
266
+        End If
267
+    End Sub
268
+    Private Sub 計數歸零_bt_Click(sender As Object, e As EventArgs) Handles 計數歸零_bt.Click
269
+        計數_nud.Value = 0
270
+    End Sub
271
+End Class

+ 136
- 0
FTP-DGAC-SYS/FTP-DGAC-SYS.vbproj Zobrazit soubor

@@ -0,0 +1,136 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+  <PropertyGroup>
5
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+    <ProjectGuid>{41BA1A26-BAFE-43DA-886C-132DC14A8B99}</ProjectGuid>
8
+    <OutputType>WinExe</OutputType>
9
+    <StartupObject>FTP_DGAC_SYS.My.MyApplication</StartupObject>
10
+    <RootNamespace>FTP_DGAC_SYS</RootNamespace>
11
+    <AssemblyName>FTP-DGAC-SYS</AssemblyName>
12
+    <FileAlignment>512</FileAlignment>
13
+    <MyType>WindowsForms</MyType>
14
+    <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
15
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
16
+    <Deterministic>true</Deterministic>
17
+  </PropertyGroup>
18
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19
+    <PlatformTarget>AnyCPU</PlatformTarget>
20
+    <DebugSymbols>true</DebugSymbols>
21
+    <DebugType>full</DebugType>
22
+    <DefineDebug>true</DefineDebug>
23
+    <DefineTrace>true</DefineTrace>
24
+    <OutputPath>bin\Debug\</OutputPath>
25
+    <DocumentationFile>FTP-DGAC-SYS.xml</DocumentationFile>
26
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
27
+  </PropertyGroup>
28
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29
+    <PlatformTarget>AnyCPU</PlatformTarget>
30
+    <DebugType>pdbonly</DebugType>
31
+    <DefineDebug>false</DefineDebug>
32
+    <DefineTrace>true</DefineTrace>
33
+    <Optimize>true</Optimize>
34
+    <OutputPath>bin\Release\</OutputPath>
35
+    <DocumentationFile>FTP-DGAC-SYS.xml</DocumentationFile>
36
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
37
+  </PropertyGroup>
38
+  <PropertyGroup>
39
+    <OptionExplicit>On</OptionExplicit>
40
+  </PropertyGroup>
41
+  <PropertyGroup>
42
+    <OptionCompare>Binary</OptionCompare>
43
+  </PropertyGroup>
44
+  <PropertyGroup>
45
+    <OptionStrict>Off</OptionStrict>
46
+  </PropertyGroup>
47
+  <PropertyGroup>
48
+    <OptionInfer>On</OptionInfer>
49
+  </PropertyGroup>
50
+  <PropertyGroup>
51
+    <ApplicationIcon>bitbug_favicon.ico</ApplicationIcon>
52
+  </PropertyGroup>
53
+  <PropertyGroup>
54
+    <ApplicationManifest>app.manifest</ApplicationManifest>
55
+  </PropertyGroup>
56
+  <ItemGroup>
57
+    <Reference Include="System" />
58
+    <Reference Include="System.Data" />
59
+    <Reference Include="System.Deployment" />
60
+    <Reference Include="System.Drawing" />
61
+    <Reference Include="System.Windows.Forms" />
62
+    <Reference Include="System.Xml" />
63
+    <Reference Include="System.Core" />
64
+    <Reference Include="System.Xml.Linq" />
65
+    <Reference Include="System.Data.DataSetExtensions" />
66
+    <Reference Include="System.Net.Http" />
67
+  </ItemGroup>
68
+  <ItemGroup>
69
+    <Import Include="Microsoft.VisualBasic" />
70
+    <Import Include="System" />
71
+    <Import Include="System.Collections" />
72
+    <Import Include="System.Collections.Generic" />
73
+    <Import Include="System.Data" />
74
+    <Import Include="System.Drawing" />
75
+    <Import Include="System.Diagnostics" />
76
+    <Import Include="System.Windows.Forms" />
77
+    <Import Include="System.Linq" />
78
+    <Import Include="System.Xml.Linq" />
79
+    <Import Include="System.Threading.Tasks" />
80
+  </ItemGroup>
81
+  <ItemGroup>
82
+    <Compile Include="FTP-DGAC-SYS.vb">
83
+      <SubType>Form</SubType>
84
+    </Compile>
85
+    <Compile Include="FTP-DGAC-SYS.Designer.vb">
86
+      <DependentUpon>FTP-DGAC-SYS.vb</DependentUpon>
87
+      <SubType>Form</SubType>
88
+    </Compile>
89
+    <Compile Include="My Project\AssemblyInfo.vb" />
90
+    <Compile Include="My Project\Application.Designer.vb">
91
+      <AutoGen>True</AutoGen>
92
+      <DependentUpon>Application.myapp</DependentUpon>
93
+    </Compile>
94
+    <Compile Include="My Project\Resources.Designer.vb">
95
+      <AutoGen>True</AutoGen>
96
+      <DesignTime>True</DesignTime>
97
+      <DependentUpon>Resources.resx</DependentUpon>
98
+    </Compile>
99
+    <Compile Include="My Project\Settings.Designer.vb">
100
+      <AutoGen>True</AutoGen>
101
+      <DependentUpon>Settings.settings</DependentUpon>
102
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
103
+    </Compile>
104
+  </ItemGroup>
105
+  <ItemGroup>
106
+    <EmbeddedResource Include="FTP-DGAC-SYS.resx">
107
+      <DependentUpon>FTP-DGAC-SYS.vb</DependentUpon>
108
+    </EmbeddedResource>
109
+    <EmbeddedResource Include="My Project\Resources.resx">
110
+      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
111
+      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
112
+      <CustomToolNamespace>My.Resources</CustomToolNamespace>
113
+      <SubType>Designer</SubType>
114
+    </EmbeddedResource>
115
+  </ItemGroup>
116
+  <ItemGroup>
117
+    <None Include="app.manifest" />
118
+    <None Include="My Project\Application.myapp">
119
+      <Generator>MyApplicationCodeGenerator</Generator>
120
+      <LastGenOutput>Application.Designer.vb</LastGenOutput>
121
+    </None>
122
+    <None Include="My Project\Settings.settings">
123
+      <Generator>SettingsSingleFileGenerator</Generator>
124
+      <CustomToolNamespace>My</CustomToolNamespace>
125
+      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
126
+    </None>
127
+    <None Include="App.config" />
128
+  </ItemGroup>
129
+  <ItemGroup>
130
+    <Content Include="bitbug_favicon.ico" />
131
+  </ItemGroup>
132
+  <ItemGroup>
133
+    <Folder Include="圖片\" />
134
+  </ItemGroup>
135
+  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
136
+</Project>

+ 38
- 0
FTP-DGAC-SYS/My Project/Application.Designer.vb Zobrazit soubor

@@ -0,0 +1,38 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+
17
+    'NOTE: This file is auto-generated; do not modify it directly.  To make changes,
18
+    ' or if you encounter build errors in this file, go to the Project Designer
19
+    ' (go to Project Properties or double-click the My Project node in
20
+    ' Solution Explorer), and make changes on the Application tab.
21
+    '
22
+    Partial Friend Class MyApplication
23
+
24
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
25
+        Public Sub New()
26
+            MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27
+            Me.IsSingleInstance = false
28
+            Me.EnableVisualStyles = true
29
+            Me.SaveMySettingsOnExit = true
30
+            Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31
+        End Sub
32
+
33
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
34
+        Protected Overrides Sub OnCreateMainForm()
35
+            Me.MainForm = Global.FTP_DGAC_SYS.FTP_DGAC_SYS
36
+        End Sub
37
+    End Class
38
+End Namespace

+ 11
- 0
FTP-DGAC-SYS/My Project/Application.myapp Zobrazit soubor

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+  <MySubMain>true</MySubMain>
4
+  <MainForm>Form1</MainForm>
5
+  <SingleInstance>false</SingleInstance>
6
+  <ShutdownMode>0</ShutdownMode>
7
+  <EnableVisualStyles>true</EnableVisualStyles>
8
+  <AuthenticationMode>0</AuthenticationMode>
9
+  <ApplicationType>0</ApplicationType>
10
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
11
+</MyApplicationData>

+ 35
- 0
FTP-DGAC-SYS/My Project/AssemblyInfo.vb Zobrazit soubor

@@ -0,0 +1,35 @@
1
+Imports System
2
+Imports System.Reflection
3
+Imports System.Runtime.InteropServices
4
+
5
+' 組件的一般資訊是由下列的屬性集控制。
6
+' 變更這些屬性的值即可修改組件的相關
7
+' 資訊。
8
+
9
+' 檢閱組件屬性的值
10
+
11
+<Assembly: AssemblyTitle("FTP-DGAC-SYS")>
12
+<Assembly: AssemblyDescription("")>
13
+<Assembly: AssemblyCompany("")>
14
+<Assembly: AssemblyProduct("FTP-DGAC-SYS")>
15
+<Assembly: AssemblyCopyright("Copyright ©  2023")>
16
+<Assembly: AssemblyTrademark("")>
17
+
18
+<Assembly: ComVisible(False)>
19
+
20
+'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
21
+<Assembly: Guid("fb46710f-5d85-4463-9aa6-93668895b0c9")>
22
+
23
+' 組件的版本資訊由下列四個值所組成: 
24
+'
25
+'      主要版本
26
+'      次要版本
27
+'      組建編號
28
+'      修訂編號
29
+'
30
+' 您可以指定所有的值,也可以使用 '*' 將組建和修訂編號
31
+' 設為預設,如下所示:
32
+' <Assembly: AssemblyVersion("1.0.*")>
33
+
34
+<Assembly: AssemblyVersion("1.0.0.0")>
35
+<Assembly: AssemblyFileVersion("1.0.0.0")>

+ 62
- 0
FTP-DGAC-SYS/My Project/Resources.Designer.vb Zobrazit soubor

@@ -0,0 +1,62 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My.Resources
16
+
17
+    'This class was auto-generated by the StronglyTypedResourceBuilder
18
+    'class via a tool like ResGen or Visual Studio.
19
+    'To add or remove a member, edit your .ResX file then rerun ResGen
20
+    'with the /str option, or rebuild your VS project.
21
+    '''<summary>
22
+    '''  A strongly-typed resource class, for looking up localized strings, etc.
23
+    '''</summary>
24
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
25
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
26
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
27
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
28
+    Friend Module Resources
29
+
30
+        Private resourceMan As Global.System.Resources.ResourceManager
31
+
32
+        Private resourceCulture As Global.System.Globalization.CultureInfo
33
+
34
+        '''<summary>
35
+        '''  Returns the cached ResourceManager instance used by this class.
36
+        '''</summary>
37
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
38
+        Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
39
+            Get
40
+                If Object.ReferenceEquals(resourceMan, Nothing) Then
41
+                    Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("FTP_DGAC_SYS.Resources", GetType(Resources).Assembly)
42
+                    resourceMan = temp
43
+                End If
44
+                Return resourceMan
45
+            End Get
46
+        End Property
47
+
48
+        '''<summary>
49
+        '''  Overrides the current thread's CurrentUICulture property for all
50
+        '''  resource lookups using this strongly typed resource class.
51
+        '''</summary>
52
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
53
+        Friend Property Culture() As Global.System.Globalization.CultureInfo
54
+            Get
55
+                Return resourceCulture
56
+            End Get
57
+            Set(ByVal value As Global.System.Globalization.CultureInfo)
58
+                resourceCulture = value
59
+            End Set
60
+        End Property
61
+    End Module
62
+End Namespace

+ 117
- 0
FTP-DGAC-SYS/My Project/Resources.resx Zobrazit soubor

@@ -0,0 +1,117 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:element name="root" msdata:IsDataSet="true">
64
+      <xsd:complexType>
65
+        <xsd:choice maxOccurs="unbounded">
66
+          <xsd:element name="metadata">
67
+            <xsd:complexType>
68
+              <xsd:sequence>
69
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
70
+              </xsd:sequence>
71
+              <xsd:attribute name="name" type="xsd:string" />
72
+              <xsd:attribute name="type" type="xsd:string" />
73
+              <xsd:attribute name="mimetype" type="xsd:string" />
74
+            </xsd:complexType>
75
+          </xsd:element>
76
+          <xsd:element name="assembly">
77
+            <xsd:complexType>
78
+              <xsd:attribute name="alias" type="xsd:string" />
79
+              <xsd:attribute name="name" type="xsd:string" />
80
+            </xsd:complexType>
81
+          </xsd:element>
82
+          <xsd:element name="data">
83
+            <xsd:complexType>
84
+              <xsd:sequence>
85
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87
+              </xsd:sequence>
88
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91
+            </xsd:complexType>
92
+          </xsd:element>
93
+          <xsd:element name="resheader">
94
+            <xsd:complexType>
95
+              <xsd:sequence>
96
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97
+              </xsd:sequence>
98
+              <xsd:attribute name="name" type="xsd:string" use="required" />
99
+            </xsd:complexType>
100
+          </xsd:element>
101
+        </xsd:choice>
102
+      </xsd:complexType>
103
+    </xsd:element>
104
+  </xsd:schema>
105
+  <resheader name="resmimetype">
106
+    <value>text/microsoft-resx</value>
107
+  </resheader>
108
+  <resheader name="version">
109
+    <value>2.0</value>
110
+  </resheader>
111
+  <resheader name="reader">
112
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113
+  </resheader>
114
+  <resheader name="writer">
115
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+</root>

+ 73
- 0
FTP-DGAC-SYS/My Project/Settings.Designer.vb Zobrazit soubor

@@ -0,0 +1,73 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+
17
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
19
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
20
+    Partial Friend NotInheritable Class MySettings
21
+        Inherits Global.System.Configuration.ApplicationSettingsBase
22
+
23
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
24
+
25
+#Region "My.Settings Auto-Save Functionality"
26
+#If _MyType = "WindowsForms" Then
27
+        Private Shared addedHandler As Boolean
28
+
29
+        Private Shared addedHandlerLockObject As New Object
30
+
31
+        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
+        Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33
+            If My.Application.SaveMySettingsOnExit Then
34
+                My.Settings.Save()
35
+            End If
36
+        End Sub
37
+#End If
38
+#End Region
39
+
40
+        Public Shared ReadOnly Property [Default]() As MySettings
41
+            Get
42
+
43
+#If _MyType = "WindowsForms" Then
44
+                   If Not addedHandler Then
45
+                        SyncLock addedHandlerLockObject
46
+                            If Not addedHandler Then
47
+                                AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
+                                addedHandler = True
49
+                            End If
50
+                        End SyncLock
51
+                    End If
52
+#End If
53
+                Return defaultInstance
54
+            End Get
55
+        End Property
56
+    End Class
57
+End Namespace
58
+
59
+Namespace My
60
+
61
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
62
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
64
+    Friend Module MySettingsProperty
65
+
66
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
67
+        Friend ReadOnly Property Settings() As Global.FTP_DGAC_SYS.My.MySettings
68
+            Get
69
+                Return Global.FTP_DGAC_SYS.My.MySettings.Default
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 7
- 0
FTP-DGAC-SYS/My Project/Settings.settings Zobrazit soubor

@@ -0,0 +1,7 @@
1
+<?xml version='1.0' encoding='utf-8'?>
2
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
3
+  <Profiles>
4
+    <Profile Name="(Default)" />
5
+  </Profiles>
6
+  <Settings />
7
+</SettingsFile>

+ 79
- 0
FTP-DGAC-SYS/app.manifest Zobrazit soubor

@@ -0,0 +1,79 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3
+  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
4
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5
+    <security>
6
+      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7
+        <!-- UAC 資訊清單選項
8
+             如果要變更 Windows 使用者帳戶控制層級,請將 
9
+             requestedExecutionLevel 節點以下列其中之一取代。
10
+
11
+        <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
12
+        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
13
+        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />
14
+
15
+            指定 requestedExecutionLevel 項目會停用檔案及登錄虛擬化。
16
+            如果您的應用程式需要針對回溯相容性進行這項虛擬化,請移除這個
17
+            項目。
18
+        -->
19
+        <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
20
+      </requestedPrivileges>
21
+    </security>
22
+  </trustInfo>
23
+
24
+  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
25
+    <application>
26
+      <!-- 此應用程式已通過測試,並設計要搭配使用的
27
+           應用程式版本清單。請取消註解適當元素,
28
+           Windows 就會自動選取最相容的環境。 -->
29
+
30
+      <!-- Windows Vista -->
31
+      <!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
32
+
33
+      <!-- Windows 7 -->
34
+      <!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
35
+
36
+      <!-- Windows 8 -->
37
+      <!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
38
+
39
+      <!-- Windows 8.1 -->
40
+      <!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
41
+
42
+      <!-- Windows 10 -->
43
+      <!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
44
+
45
+    </application>
46
+  </compatibility>
47
+
48
+  <!-- 表示應用程式為 DPI 感知,Windows 不會在 DPI 變高時自動
49
+       縮放。Windows Presentation Foundation (WPF) 應用程式會自動感知 DPI,因此不需要
50
+       加入。以 .NET Framework 4.6 為目標的 Windows Form 應用程式若加入這項設定,也
51
+       應該在其 app.config 中將 'EnableWindowsFormsHighDpiAutoResizing' 設定為 'true'。
52
+       
53
+       將應用程式設定為感知長路徑。請參閱 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation-->
54
+  <!--
55
+  <application xmlns="urn:schemas-microsoft-com:asm.v3">
56
+    <windowsSettings>
57
+      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
58
+      <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
59
+    </windowsSettings>
60
+  </application>
61
+  -->
62
+
63
+  <!-- 啟用 Windows 通用控制項和對話方塊的佈景主題 (Windows XP 以後版本) -->
64
+  <!--
65
+  <dependency>
66
+    <dependentAssembly>
67
+      <assemblyIdentity
68
+          type="win32"
69
+          name="Microsoft.Windows.Common-Controls"
70
+          version="6.0.0.0"
71
+          processorArchitecture="*"
72
+          publicKeyToken="6595b64144ccf1df"
73
+          language="*"
74
+        />
75
+    </dependentAssembly>
76
+  </dependency>
77
+  -->
78
+
79
+</assembly>

+ 1
- 0
FTP-DGAC-SYS/bin/Debug/DLNUD.CSV Zobrazit soubor

@@ -0,0 +1 @@
1
+8

binární
FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.exe Zobrazit soubor


+ 6
- 0
FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.exe.config Zobrazit soubor

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup>
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
5
+    </startup>
6
+</configuration>

binární
FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.pdb Zobrazit soubor


+ 26
- 0
FTP-DGAC-SYS/bin/Debug/FTP-DGAC-SYS.xml Zobrazit soubor

@@ -0,0 +1,26 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+FTP-DGAC-SYS
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:FTP_DGAC_SYS.My.Resources.Resources">
10
+<summary>
11
+  A strongly-typed resource class, for looking up localized strings, etc.
12
+</summary>
13
+</member>
14
+<member name="P:FTP_DGAC_SYS.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  Returns the cached ResourceManager instance used by this class.
17
+</summary>
18
+</member>
19
+<member name="P:FTP_DGAC_SYS.My.Resources.Resources.Culture">
20
+<summary>
21
+  Overrides the current thread's CurrentUICulture property for all
22
+  resource lookups using this strongly typed resource class.
23
+</summary>
24
+</member>
25
+</members>
26
+</doc>

+ 2
- 0
FTP-DGAC-SYS/bin/Debug/FTPDELETE.CSV Zobrazit soubor

@@ -0,0 +1,2 @@
1
+******************
2
+info.zip

+ 1
- 0
FTP-DGAC-SYS/bin/Debug/FTPLINE.CSV Zobrazit soubor

@@ -0,0 +1 @@
1
+D:\、u・ゥゥ纊FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS

+ 1
- 0
FTP-DGAC-SYS/bin/Debug/OPAUTO.CSV Zobrazit soubor

@@ -0,0 +1 @@
1
+******************

binární
FTP-DGAC-SYS/bitbug_favicon.ico Zobrazit soubor


+ 7
- 0
FTP-DGAC-SYS/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb Zobrazit soubor

@@ -0,0 +1,7 @@
1
+' <autogenerated/>
2
+            Option Strict Off
3
+            Option Explicit On
4
+
5
+            Imports System
6
+            Imports System.Reflection
7
+            <Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName:=".NET Framework 4.8")>

binární
FTP-DGAC-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.exe Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.pdb Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.AssemblyReference.cache Zobrazit soubor


+ 1
- 0
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.CoreCompileInputs.cache Zobrazit soubor

@@ -0,0 +1 @@
1
+582bd72780a1d0d024ac59cb74d7add377325b91

+ 13
- 0
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.FileListAbsolute.txt Zobrazit soubor

@@ -0,0 +1,13 @@
1
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.vbproj.AssemblyReference.cache
2
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.vbproj.SuggestedBindingRedirects.cache
3
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP_DGAC_SYS.FTP_DGAC_SYS.resources
4
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP_DGAC_SYS.Resources.resources
5
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.vbproj.GenerateResource.cache
6
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.vbproj.CoreCompileInputs.cache
7
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\bin\Debug\FTP-DGAC-SYS.exe.config
8
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\bin\Debug\FTP-DGAC-SYS.exe
9
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\bin\Debug\FTP-DGAC-SYS.pdb
10
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\bin\Debug\FTP-DGAC-SYS.xml
11
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.exe
12
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.xml
13
+D:\工巧明\FTP-DGAC\FTP-DGAC-SYS\FTP-DGAC-SYS\obj\Debug\FTP-DGAC-SYS.pdb

binární
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.GenerateResource.cache Zobrazit soubor


+ 0
- 0
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.vbproj.SuggestedBindingRedirects.cache Zobrazit soubor


+ 26
- 0
FTP-DGAC-SYS/obj/Debug/FTP-DGAC-SYS.xml Zobrazit soubor

@@ -0,0 +1,26 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+FTP-DGAC-SYS
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:FTP_DGAC_SYS.My.Resources.Resources">
10
+<summary>
11
+  A strongly-typed resource class, for looking up localized strings, etc.
12
+</summary>
13
+</member>
14
+<member name="P:FTP_DGAC_SYS.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  Returns the cached ResourceManager instance used by this class.
17
+</summary>
18
+</member>
19
+<member name="P:FTP_DGAC_SYS.My.Resources.Resources.Culture">
20
+<summary>
21
+  Overrides the current thread's CurrentUICulture property for all
22
+  resource lookups using this strongly typed resource class.
23
+</summary>
24
+</member>
25
+</members>
26
+</doc>

binární
FTP-DGAC-SYS/obj/Debug/FTP_DGAC_SYS.FTP_DGAC_SYS.resources Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/FTP_DGAC_SYS.Resources.resources Zobrazit soubor


binární
FTP-DGAC-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll Zobrazit soubor


binární
FTP-DGAC-SYS/圖片/bitbug_favicon.ico Zobrazit soubor


Loading…
Zrušit
Uložit