B70340 3 anos atrás
pai
commit
b1f8b156e7
22 arquivos alterados com 1059 adições e 1229 exclusões
  1. BIN
      .vs/TENDEN-MES-SYS/v16/.suo
  2. 74
    28
      TENDEN-MES-SYS/Module/SQL_圖片資料庫管理.vb
  3. 2
    2
      TENDEN-MES-SYS/Module/SQL_樣品訂單管理.vb
  4. 1
    1
      TENDEN-MES-SYS/Module/全域變數.vb
  5. BIN
      TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.exe
  6. BIN
      TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.pdb
  7. BIN
      TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.exe
  8. BIN
      TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.pdb
  9. BIN
      TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.GenerateResource.cache
  10. BIN
      TENDEN-MES-SYS/obj/Debug/天盾系統.vbprojAssemblyReference.cache
  11. 2
    1
      TENDEN-MES-SYS/圖片資料庫管理/楦頭圖片系統/楦頭圖片導入資料庫.vb
  12. 2
    1
      TENDEN-MES-SYS/圖片資料庫管理/楦頭圖片系統/楦頭圖片資料庫.vb
  13. 225
    112
      TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片導入資料庫.Designer.vb
  14. 144
    235
      TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片導入資料庫.vb
  15. 157
    132
      TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片資料庫.Designer.vb
  16. 74
    156
      TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片資料庫.vb
  17. 2
    6
      TENDEN-MES-SYS/圖片資料庫管理/驗貨報告系統/驗貨報告圖片導入資料庫.vb
  18. 2
    1
      TENDEN-MES-SYS/圖片資料庫管理/驗貨報告系統/驗貨報告資料庫.vb
  19. 20
    20
      TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.Designer.vb
  20. 304
    510
      TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.vb
  21. 36
    21
      TENDEN-MES-SYS/製鞋技術資料管理/STYLE_資料管理.Designer.vb
  22. 14
    3
      TENDEN-MES-SYS/製鞋技術資料管理/STYLE_資料管理.vb

BIN
.vs/TENDEN-MES-SYS/v16/.suo Ver arquivo


+ 74
- 28
TENDEN-MES-SYS/Module/SQL_圖片資料庫管理.vb Ver arquivo

@@ -33,14 +33,14 @@
33 33
         SQL1 = "SELECT TOP (1) 驗貨報告編號 FROM 驗貨報告圖庫 ORDER BY 驗貨報告編號 DESC"
34 34
         CmdSet_For_dr()
35 35
     End Sub
36
-    Friend Sub SQL_新增驗貨報告編號()
36
+    Friend Sub SQL_新增驗貨報告編號_測試()
37 37
         ConnOpen()
38 38
         SQL1 = "INSERT INTO 驗貨報告圖庫 (客戶訂單號, 型體名稱, 驗貨報告編號, 操作人, 驗貨報告) 
39 39
                         SELECT '" & 驗貨報告圖片導入資料庫.客戶訂單號_tb.Text & "','" & 驗貨報告圖片導入資料庫.型體名稱_tb.Text & "','" & 驗貨報告圖片導入資料庫.TextBox3.Text & "','" & gUserName & "', 
40
-                        BULKCOLUMN FROM OPENROWSET ( BULK 'C:\FTP\TENDENZA\0004\" & 驗貨報告圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
40
+                        BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0004\" & 驗貨報告圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
41 41
         CmdSet_For_dr()
42 42
     End Sub
43
-    Friend Sub SQL_新增驗貨報告圖庫()
43
+    Friend Sub SQL_新增驗貨報告圖庫_正式()
44 44
         ConnOpen()
45 45
         SQL1 = "INSERT INTO 驗貨報告圖庫 (客戶訂單號, 型體名稱, 驗貨報告編號, 操作人, 驗貨報告) 
46 46
                         SELECT '" & 驗貨報告圖片導入資料庫.客戶訂單號_tb.Text & "','" & 驗貨報告圖片導入資料庫.型體名稱_tb.Text & "','" & 驗貨報告圖片導入資料庫.TextBox3.Text & "','" & gUserName & "', 
@@ -79,7 +79,13 @@
79 79
         SQL1 = "SELECT 驗貨報告 FROM 驗貨報告圖庫 WHERE 驗貨報告編號 LIKE '" & 驗貨報告資料庫.驗貨報告編號_tb.Text & "'"
80 80
         CmdSet_For_DGV()
81 81
     End Sub
82
-    Friend Sub SQL_修改驗貨報告圖庫1()
82
+    Friend Sub SQL_修改驗貨報告圖庫1_測試()
83
+        ConnOpen()
84
+        SQL1 = "UPDATE 驗貨報告圖庫 SET  驗貨報告 = BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0004\" & 驗貨報告資料庫.TextBox6.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
85
+                        WHERE (驗貨報告編號 = '" & 驗貨報告資料庫.驗貨報告編號_tb.Text & "')"
86
+        CmdSet_For_dr()
87
+    End Sub
88
+    Friend Sub SQL_修改驗貨報告圖庫1_正式()
83 89
         ConnOpen()
84 90
         SQL1 = "UPDATE 驗貨報告圖庫 SET  驗貨報告 = BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0004\" & 驗貨報告資料庫.TextBox6.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
85 91
                         WHERE (驗貨報告編號 = '" & 驗貨報告資料庫.驗貨報告編號_tb.Text & "')"
@@ -106,6 +112,12 @@
106 112
         CmdSet_For_dr()
107 113
     End Sub
108 114
     '----------------------鞋型圖片導入資料庫---------------------------------------------------
115
+    Friend Sub SQL_季節清單()
116
+        SQL1 = "SELECT  年份季度  FROM  訂單控制表年份季度清單  ORDER BY  年份季度"
117
+    End Sub
118
+    Friend Sub SQL_季節清單1()
119
+        SQL1 = "SELECT  年份季度  FROM  訂單控制表年份季度清單  WHERE 年份季度 LIKE '%" & PA & "%'  ORDER BY  年份季度"
120
+    End Sub
109 121
     Friend Sub SQL_訂單控制表清單()
110 122
         SQL1 = "SELECT 訂單控制表形體號清單.形體號 AS 形體名稱, STYLELIST.ItemNumber, STYLELIST.Style AS 形體號碼  
111 123
                 FROM   訂單控制表形體號清單 FULL OUTER JOIN STYLELIST ON 訂單控制表形體號清單.形體號 = STYLELIST.ProductName ORDER BY   形體名稱"
@@ -142,7 +154,7 @@
142 154
     Friend Sub SQL_查詢圖片編號()
143 155
         ConnOpen()
144 156
         SQL1 = "SELECT 圖片編號 FROM 圖片庫一 WHERE 形體名 LIKE '" & 鞋型圖片導入資料庫.Style_tb.Text & "' AND 形體號 LIKE '" & 鞋型圖片導入資料庫.TVW_tb.Text & "' AND 
145
-                           顏色 LIKE '" & 鞋型圖片導入資料庫.Color_tb.Text & "' AND 類型 LIKE '" & 鞋型圖片導入資料庫.Category_cb.Text & "'"
157
+                           顏色 LIKE '" & 鞋型圖片導入資料庫.Color_tb.Text & "' AND 類型 LIKE '" & 鞋型圖片導入資料庫.Category_cb.Text & "' AND 季節  LIKE '" & 鞋型圖片導入資料庫.季節_tb.Text & "'"
146 158
         CmdSet_For_dr()
147 159
     End Sub
148 160
     Friend Sub SQL_查詢最後一筆圖片編號()
@@ -150,21 +162,34 @@
150 162
         SQL1 = "SELECT TOP (1) 圖片編號 FROM 圖片庫一 ORDER BY 圖片編號 DESC"
151 163
         CmdSet_For_dr()
152 164
     End Sub
153
-    Friend Sub SQL_新增圖片庫一()
154
-        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 圖片) 
165
+    Friend Sub SQL_新增圖片庫一_測試()
166
+        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 季節, 圖片) 
155 167
                             SELECT '" & 鞋型圖片導入資料庫.Style_tb.Text & "','" & 鞋型圖片導入資料庫.TVW_tb.Text & "','" & 鞋型圖片導入資料庫.Color_tb.Text & "',
156
-                                   '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "', 
168
+                                   '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "','" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
169
+                            BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0002\" & 鞋型圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
170
+    End Sub
171
+
172
+    Friend Sub SQL_新增圖片庫一_正式()
173
+        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 季節, 圖片) 
174
+                            SELECT '" & 鞋型圖片導入資料庫.Style_tb.Text & "','" & 鞋型圖片導入資料庫.TVW_tb.Text & "','" & 鞋型圖片導入資料庫.Color_tb.Text & "',
175
+                                   '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "','" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
157 176
                             BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0002\" & 鞋型圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
158 177
     End Sub
159
-    Friend Sub SQL_新增圖片庫一1()
160
-        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 圖片) 
161
-                                SELECT '" & 鞋型圖片導入資料庫.TextBox2.Text & "','" & 鞋型圖片導入資料庫.TVW_tb.Text & "','" & 鞋型圖片導入資料庫.Color_tb.Text & "',
162
-                                       '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "', 
178
+    Friend Sub SQL_新增圖片庫一1_測試()
179
+        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 季節, 圖片) 
180
+                                SELECT '" & 鞋型圖片導入資料庫.中底_其他LOGO_tb.Text & "','" & 鞋型圖片導入資料庫.TVW_tb.Text & "','" & 鞋型圖片導入資料庫.Color_tb.Text & "',
181
+                                       '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "','" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
182
+                                BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0002\" & 鞋型圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
183
+    End Sub
184
+    Friend Sub SQL_新增圖片庫一1_正式()
185
+        SQL1 = "INSERT INTO 圖片庫一 (形體名, 形體號, 顏色, 類型, 圖片編號, 季節, 圖片) 
186
+                                SELECT '" & 鞋型圖片導入資料庫.中底_其他LOGO_tb.Text & "','" & 鞋型圖片導入資料庫.TVW_tb.Text & "','" & 鞋型圖片導入資料庫.Color_tb.Text & "',
187
+                                       '" & 鞋型圖片導入資料庫.Category_cb.Text & "','" & 鞋型圖片導入資料庫.TextBox1.Text & "','" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
163 188
                                 BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0002\" & 鞋型圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
164 189
     End Sub
165 190
     '------------------------------鞋型圖片資料庫-------------------------------------------------------------------------------
166 191
     Friend Sub SQL_圖片庫一清單()
167
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 ORDER BY   類型, 形體名, 形體號, 顏色"
192
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 ORDER BY   類型, 形體名, 形體號, 顏色"
168 193
     End Sub
169 194
     Friend Sub SQL_指定圖片庫一()
170 195
         ConnOpen()
@@ -173,12 +198,21 @@
173 198
     End Sub
174 199
     Friend Sub SQL_修改圖片庫一()
175 200
         SQL1 = "UPDATE 圖片庫一 SET 形體名 = '" & 鞋型圖片資料庫.Style_tb.Text & "', 形體號 = '" & 鞋型圖片資料庫.TVW_tb.Text & "', 
176
-                                    顏色 = '" & 鞋型圖片資料庫.Color_tb.Text & "', 類型 = '" & 鞋型圖片資料庫.Category_cb.Text & "' 
201
+                                    顏色 = '" & 鞋型圖片資料庫.Color_tb.Text & "', 類型 = '" & 鞋型圖片資料庫.Category_cb.Text & "', 
202
+                                    季節 = '" & 鞋型圖片導入資料庫.季節_tb.Text & "'
177 203
                     WHERE (圖片編號 = '" & 鞋型圖片資料庫.TextBox1.Text & "')"
178 204
     End Sub
179
-    Friend Sub SQL_修改圖片庫一1()
205
+    Friend Sub SQL_修改圖片庫一1_測試()
206
+        SQL1 = "UPDATE 圖片庫一 SET 形體名 = '" & 鞋型圖片資料庫.Style_tb.Text & "', 形體號 = '" & 鞋型圖片資料庫.TVW_tb.Text & "', 
207
+                                    顏色 = '" & 鞋型圖片資料庫.Color_tb.Text & "', 類型 = '" & 鞋型圖片資料庫.Category_cb.Text & "', 
208
+                                    季節 = '" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
209
+                                    圖片 = BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0002\" & 鞋型圖片資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
210
+                WHERE (圖片編號 = '" & 鞋型圖片資料庫.TextBox1.Text & "')"
211
+    End Sub
212
+    Friend Sub SQL_修改圖片庫一1_正式()
180 213
         SQL1 = "UPDATE 圖片庫一 SET 形體名 = '" & 鞋型圖片資料庫.Style_tb.Text & "', 形體號 = '" & 鞋型圖片資料庫.TVW_tb.Text & "', 
181 214
                                     顏色 = '" & 鞋型圖片資料庫.Color_tb.Text & "', 類型 = '" & 鞋型圖片資料庫.Category_cb.Text & "', 
215
+                                    季節 = '" & 鞋型圖片導入資料庫.季節_tb.Text & "', 
182 216
                                     圖片 = BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0002\" & 鞋型圖片資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
183 217
                 WHERE (圖片編號 = '" & 鞋型圖片資料庫.TextBox1.Text & "')"
184 218
     End Sub
@@ -188,38 +222,38 @@
188 222
         CmdSet_For_dr()
189 223
     End Sub
190 224
     Friend Sub SQL_查詢圖片庫一()
191
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 形體名 LIKE '%" & PA & "%' OR 形體號 LIKE '%" & PA & "%' OR 
225
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 形體名 LIKE '%" & PA & "%' OR 形體號 LIKE '%" & PA & "%' OR 
192 226
                        顏色 LIKE '%" & PA & "%' OR 類型 LIKE '%" & PA & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
193 227
     End Sub
194 228
     Friend Sub SQL_查詢圖片庫一BW()
195
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_BW_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
229
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_BW_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
196 230
     End Sub
197 231
     Friend Sub SQL_查詢圖片庫一ILR()
198
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_ILR_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
232
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_ILR_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
199 233
     End Sub
200 234
     Friend Sub SQL_查詢圖片庫一FLR()
201
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_FLR_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
235
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_FLR_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
202 236
     End Sub
203 237
     Friend Sub SQL_查詢圖片庫一SMS()
204
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_SMS_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
238
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_SMS_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
205 239
     End Sub
206 240
     Friend Sub SQL_查詢圖片庫一SMU()
207
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_SMU_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
241
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.開發_SMU_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
208 242
     End Sub
209 243
     Friend Sub SQL_確定圖片庫一BW()
210
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_BW_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
244
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_BW_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
211 245
     End Sub
212 246
     Friend Sub SQL_確定圖片庫一彩圖()
213
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_彩圖_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
247
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_彩圖_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
214 248
     End Sub
215 249
     Friend Sub SQL_確定圖片庫一產地標()
216
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_產地標_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
250
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.確認_產地標_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
217 251
     End Sub
218 252
     Friend Sub SQL_確定圖片庫一中底LOGO()
219
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.中底LOGO_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
253
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.中底LOGO_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
220 254
     End Sub
221 255
     Friend Sub SQL_確定圖片庫一其他LOGO()
222
-        SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.其他LOGO_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
256
+        SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 LIKE '%" & 鞋型圖片資料庫.其他LOGO_ch.Text & "%' ORDER BY   類型, 形體名, 形體號, 顏色"
223 257
     End Sub
224 258
     Friend Sub SQL_圖片庫一圖片編號()
225 259
         ConnOpen()
@@ -243,7 +277,13 @@
243 277
         SQL1 = "SELECT 楦頭圖片 FROM 楦頭圖片庫 WHERE 楦頭編號 LIKE '" & 楦頭圖片資料庫.楦頭編號_tb.Text & "'"
244 278
         CmdSet_For_DGV()
245 279
     End Sub
246
-    Friend Sub SQL_修改楦頭圖片庫()
280
+    Friend Sub SQL_修改楦頭圖片庫_測試()
281
+        ConnOpen()
282
+        SQL1 = "UPDATE 楦頭圖片庫 SET  楦頭圖片 = BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0003\" & 楦頭圖片資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
283
+                WHERE (楦頭圖片編號 = '" & 楦頭圖片資料庫.楦頭圖片編號_tb.Text & "') AND (楦頭編號 = '" & 楦頭圖片資料庫.楦頭編號_tb.Text & "')"
284
+        CmdSet_For_dr()
285
+    End Sub
286
+    Friend Sub SQL_修改楦頭圖片庫_正式()
247 287
         ConnOpen()
248 288
         SQL1 = "UPDATE 楦頭圖片庫 SET  楦頭圖片 = BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0003\" & 楦頭圖片資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
249 289
                 WHERE (楦頭圖片編號 = '" & 楦頭圖片資料庫.楦頭圖片編號_tb.Text & "') AND (楦頭編號 = '" & 楦頭圖片資料庫.楦頭編號_tb.Text & "')"
@@ -268,7 +308,13 @@
268 308
         SQL1 = "SELECT TOP (1) 楦頭圖片編號 FROM 楦頭圖片庫 ORDER BY 楦頭圖片編號 DESC"
269 309
         CmdSet_For_dr()
270 310
     End Sub
271
-    Friend Sub SQL_新增楦頭圖片庫()
311
+    Friend Sub SQL_新增楦頭圖片庫_測試()
312
+        ConnOpen()
313
+        SQL1 = "INSERT INTO 楦頭圖片庫 (楦頭編號, 楦頭圖片編號, 楦頭圖片) SELECT '" & 楦頭圖片導入資料庫.楦頭編號_tb.Text & "','" & 楦頭圖片導入資料庫.楦頭圖片編號_tb.Text & "', 
314
+                    BULKCOLUMN FROM OPENROWSET ( BULK 'D:\FTP\TENDENZA\0003\" & 楦頭圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
315
+        CmdSet_For_dr()
316
+    End Sub
317
+    Friend Sub SQL_新增楦頭圖片庫_正式()
272 318
         ConnOpen()
273 319
         SQL1 = "INSERT INTO 楦頭圖片庫 (楦頭編號, 楦頭圖片編號, 楦頭圖片) SELECT '" & 楦頭圖片導入資料庫.楦頭編號_tb.Text & "','" & 楦頭圖片導入資料庫.楦頭圖片編號_tb.Text & "', 
274 320
                     BULKCOLUMN FROM OPENROWSET ( BULK 'E:\TENDENZA\0003\" & 楦頭圖片導入資料庫.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"

+ 2
- 2
TENDEN-MES-SYS/Module/SQL_樣品訂單管理.vb Ver arquivo

@@ -145,9 +145,9 @@
145 145
     End Sub
146 146
     Friend Sub SQL_設計圖清單()
147 147
         If 開發部門 = False And 確認部門 = True Then
148
-            SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 NOT LIKE '%產地標' AND 類型 LIKE '確認%' ORDER BY   類型, 形體名, 形體號, 顏色"
148
+            SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 NOT LIKE '%產地標' AND 類型 LIKE '確認%' ORDER BY   類型, 形體名, 形體號, 顏色"
149 149
         ElseIf 開發部門 = True And 確認部門 = False Then
150
-            SQL1 = "SELECT 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 NOT LIKE '%產地標' AND 類型 LIKE '開發%' ORDER BY   類型, 形體名, 形體號, 顏色"
150
+            SQL1 = "SELECT 季節, 形體名, 形體號, 顏色, 類型, 圖片編號 FROM 圖片庫一 WHERE 類型 NOT LIKE '%產地標' AND 類型 LIKE '開發%' ORDER BY   類型, 形體名, 形體號, 顏色"
151 151
         End If
152 152
     End Sub
153 153
     Friend Sub SQL_中底LOGO()

+ 1
- 1
TENDEN-MES-SYS/Module/全域變數.vb Ver arquivo

@@ -4,7 +4,7 @@
4 4
     Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public 登入人IP As String
5 5
     Public CC(99) As Boolean : Public AA(99) As String : Public 登入判斷 As Boolean
6 6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7
-    Public 版本 As String = "2022032801"
7
+    Public 版本 As String = "2022050401"
8 8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9 9
     Public 匯率 As Double
10 10
 

BIN
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.exe Ver arquivo


BIN
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.pdb Ver arquivo


BIN
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.exe Ver arquivo


BIN
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.pdb Ver arquivo


BIN
TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.GenerateResource.cache Ver arquivo


BIN
TENDEN-MES-SYS/obj/Debug/天盾系統.vbprojAssemblyReference.cache Ver arquivo


+ 2
- 1
TENDEN-MES-SYS/圖片資料庫管理/楦頭圖片系統/楦頭圖片導入資料庫.vb Ver arquivo

@@ -99,7 +99,8 @@ Public Class 楦頭圖片導入資料庫
99 99
                 ElseIf NUM1 > 999999 And NUM1 < 1000000 Then : 楦頭圖片編號_tb.Text = "SP" & "0" & NUM1
100 100
                 ElseIf NUM1 > 9999999 Then : 楦頭圖片編號_tb.Text = "SP" & NUM1
101 101
                 End If
102
-                SQL_新增楦頭圖片庫() : conn.Close()
102
+                If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_新增楦頭圖片庫_測試()
103
+                Else : SQL_新增楦頭圖片庫_正式() : End If : conn.Close()
103 104
 
104 105
                 '---FTP方式刪除檔案----------------------------------------------------------------------------------------------------------------------------------------------------------------------
105 106
                 Dim frq As FtpWebRequest, frp As FtpWebResponse, fcr As NetworkCredential

+ 2
- 1
TENDEN-MES-SYS/圖片資料庫管理/楦頭圖片系統/楦頭圖片資料庫.vb Ver arquivo

@@ -116,7 +116,8 @@ Public Class 楦頭圖片資料庫
116 116
     End Sub
117 117
     Private Sub Button24_Click(sender As Object, e As EventArgs) Handles 圖片修改存檔_bt.Click
118 118
         Try
119
-            SQL_修改楦頭圖片庫() : conn.Close()
119
+            If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_修改楦頭圖片庫_測試()
120
+            Else : SQL_修改楦頭圖片庫_正式() : End If : conn.Close()
120 121
             '---FTP方式刪除檔案----------------------------------------------------------------------------------------------------------------------------------------------------------------------
121 122
             Dim frq As FtpWebRequest, frp As FtpWebResponse, fcr As NetworkCredential
122 123
             frq = CType(WebRequest.Create(New Uri(Target1 & 檔案名稱_tb.Text)), FtpWebRequest)

+ 225
- 112
TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片導入資料庫.Designer.vb Ver arquivo

@@ -22,9 +22,10 @@ Partial Class 鞋型圖片導入資料庫
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private  Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28 29
         Me.Label9 = New System.Windows.Forms.Label()
29 30
         Me.檔案名稱_tb = New System.Windows.Forms.TextBox()
30 31
         Me.WebBrowser1 = New System.Windows.Forms.WebBrowser()
@@ -51,9 +52,8 @@ Partial Class 鞋型圖片導入資料庫
51 52
         Me.Label5 = New System.Windows.Forms.Label()
52 53
         Me.確認儲存_bt = New System.Windows.Forms.Button()
53 54
         Me.TextBox1 = New System.Windows.Forms.TextBox()
54
-        Me.CheckBox1 = New System.Windows.Forms.CheckBox()
55
-        Me.TextBox2 = New System.Windows.Forms.TextBox()
56
-        Me.Label8 = New System.Windows.Forms.Label()
55
+        Me.中底或其他LOGO_ch = New System.Windows.Forms.CheckBox()
56
+        Me.中底_其他LOGO_tb = New System.Windows.Forms.TextBox()
57 57
         Me.Style_tb = New System.Windows.Forms.TextBox()
58 58
         Me.Style刷新_bt = New System.Windows.Forms.Button()
59 59
         Me.TVW_tb = New System.Windows.Forms.TextBox()
@@ -64,22 +64,33 @@ Partial Class 鞋型圖片導入資料庫
64 64
         Me.Button23 = New System.Windows.Forms.Button()
65 65
         Me.Button8 = New System.Windows.Forms.Button()
66 66
         Me.檔案刪除_bt = New System.Windows.Forms.Button()
67
-        Me.TVW清空_bt = New System.Windows.Forms.Button()
67
+        Me.TVW查詢_bt = New System.Windows.Forms.Button()
68 68
         Me.TVW刷新_bt = New System.Windows.Forms.Button()
69 69
         Me.TVW新增清單_bt = New System.Windows.Forms.Button()
70 70
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
71 71
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
72
+        Me.Label8 = New System.Windows.Forms.Label()
73
+        Me.季節_dgv = New System.Windows.Forms.DataGridView()
74
+        Me.Panel1 = New System.Windows.Forms.Panel()
75
+        Me.Label10 = New System.Windows.Forms.Label()
76
+        Me.季節_tb = New System.Windows.Forms.TextBox()
77
+        Me.季節清空_bt = New System.Windows.Forms.Button()
78
+        Me.季節刷新_bt = New System.Windows.Forms.Button()
79
+        Me.季節查詢_bt = New System.Windows.Forms.Button()
80
+        Me.季節新增清單_bt = New System.Windows.Forms.Button()
72 81
         CType(Me.訂單控制表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
73 82
         CType(Me.訂單控制表顏色清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
74 83
         CType(Me.訂單控制表TVW清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
75 84
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
85
+        CType(Me.季節_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
86
+        Me.Panel1.SuspendLayout()
76 87
         Me.SuspendLayout()
77 88
         '
78 89
         'Label9
79 90
         '
80 91
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
81 92
         Me.Label9.AutoSize = True
82
-        Me.Label9.Location = New System.Drawing.Point(5, 487)
93
+        Me.Label9.Location = New System.Drawing.Point(5, 518)
83 94
         Me.Label9.Name = "Label9"
84 95
         Me.Label9.Size = New System.Drawing.Size(56, 16)
85 96
         Me.Label9.TabIndex = 504
@@ -91,42 +102,43 @@ Partial Class 鞋型圖片導入資料庫
91 102
         Me.檔案名稱_tb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
92 103
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
93 104
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
94
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(60, 484)
105
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(60, 515)
95 106
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
96
-        Me.檔案名稱_tb.Size = New System.Drawing.Size(720, 23)
107
+        Me.檔案名稱_tb.Size = New System.Drawing.Size(654, 23)
97 108
         Me.檔案名稱_tb.TabIndex = 503
98 109
         '
99 110
         'WebBrowser1
100 111
         '
101 112
         Me.WebBrowser1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
102 113
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
103
-        Me.WebBrowser1.Location = New System.Drawing.Point(5, 511)
114
+        Me.WebBrowser1.Location = New System.Drawing.Point(5, 539)
104 115
         Me.WebBrowser1.MinimumSize = New System.Drawing.Size(20, 20)
105 116
         Me.WebBrowser1.Name = "WebBrowser1"
106
-        Me.WebBrowser1.Size = New System.Drawing.Size(775, 186)
117
+        Me.WebBrowser1.Size = New System.Drawing.Size(709, 158)
107 118
         Me.WebBrowser1.TabIndex = 520
108 119
         Me.WebBrowser1.Url = New System.Uri("", System.UriKind.Relative)
109 120
         '
110 121
         '訂單控制表_dgv
111 122
         '
112
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
113
-        Me.訂單控制表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
123
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
124
+        Me.訂單控制表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
114 125
         Me.訂單控制表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
115 126
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
116 127
         Me.訂單控制表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
128
+        Me.訂單控制表_dgv.BackgroundColor = System.Drawing.Color.White
117 129
         Me.訂單控制表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
118
-        Me.訂單控制表_dgv.Location = New System.Drawing.Point(786, 29)
130
+        Me.訂單控制表_dgv.Location = New System.Drawing.Point(861, 20)
119 131
         Me.訂單控制表_dgv.Name = "訂單控制表_dgv"
120 132
         Me.訂單控制表_dgv.RowHeadersWidth = 5
121 133
         Me.訂單控制表_dgv.RowTemplate.Height = 24
122
-        Me.訂單控制表_dgv.Size = New System.Drawing.Size(210, 668)
134
+        Me.訂單控制表_dgv.Size = New System.Drawing.Size(165, 677)
123 135
         Me.訂單控制表_dgv.TabIndex = 521
124 136
         '
125 137
         'Label1
126 138
         '
127 139
         Me.Label1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
128 140
         Me.Label1.AutoSize = True
129
-        Me.Label1.Location = New System.Drawing.Point(787, 11)
141
+        Me.Label1.Location = New System.Drawing.Point(862, 2)
130 142
         Me.Label1.Name = "Label1"
131 143
         Me.Label1.Size = New System.Drawing.Size(35, 16)
132 144
         Me.Label1.TabIndex = 522
@@ -134,24 +146,25 @@ Partial Class 鞋型圖片導入資料庫
134 146
         '
135 147
         '訂單控制表顏色清單_dgv
136 148
         '
137
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
138
-        Me.訂單控制表顏色清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
149
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
150
+        Me.訂單控制表顏色清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
139 151
         Me.訂單控制表顏色清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
140 152
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
141 153
         Me.訂單控制表顏色清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
154
+        Me.訂單控制表顏色清單_dgv.BackgroundColor = System.Drawing.Color.White
142 155
         Me.訂單控制表顏色清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
143
-        Me.訂單控制表顏色清單_dgv.Location = New System.Drawing.Point(1166, 29)
156
+        Me.訂單控制表顏色清單_dgv.Location = New System.Drawing.Point(1173, 20)
144 157
         Me.訂單控制表顏色清單_dgv.Name = "訂單控制表顏色清單_dgv"
145 158
         Me.訂單控制表顏色清單_dgv.RowHeadersWidth = 5
146 159
         Me.訂單控制表顏色清單_dgv.RowTemplate.Height = 24
147
-        Me.訂單控制表顏色清單_dgv.Size = New System.Drawing.Size(180, 668)
160
+        Me.訂單控制表顏色清單_dgv.Size = New System.Drawing.Size(175, 677)
148 161
         Me.訂單控制表顏色清單_dgv.TabIndex = 526
149 162
         '
150 163
         'Label7
151 164
         '
152 165
         Me.Label7.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
153 166
         Me.Label7.AutoSize = True
154
-        Me.Label7.Location = New System.Drawing.Point(1165, 11)
167
+        Me.Label7.Location = New System.Drawing.Point(1172, 2)
155 168
         Me.Label7.Name = "Label7"
156 169
         Me.Label7.Size = New System.Drawing.Size(39, 16)
157 170
         Me.Label7.TabIndex = 527
@@ -159,24 +172,25 @@ Partial Class 鞋型圖片導入資料庫
159 172
         '
160 173
         '訂單控制表TVW清單_dgv
161 174
         '
162
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
163
-        Me.訂單控制表TVW清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
175
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
176
+        Me.訂單控制表TVW清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
164 177
         Me.訂單控制表TVW清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
165 178
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
166 179
         Me.訂單控制表TVW清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
180
+        Me.訂單控制表TVW清單_dgv.BackgroundColor = System.Drawing.Color.White
167 181
         Me.訂單控制表TVW清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
168
-        Me.訂單控制表TVW清單_dgv.Location = New System.Drawing.Point(998, 29)
182
+        Me.訂單控制表TVW清單_dgv.Location = New System.Drawing.Point(1027, 20)
169 183
         Me.訂單控制表TVW清單_dgv.Name = "訂單控制表TVW清單_dgv"
170 184
         Me.訂單控制表TVW清單_dgv.RowHeadersWidth = 5
171 185
         Me.訂單控制表TVW清單_dgv.RowTemplate.Height = 24
172
-        Me.訂單控制表TVW清單_dgv.Size = New System.Drawing.Size(165, 668)
186
+        Me.訂單控制表TVW清單_dgv.Size = New System.Drawing.Size(145, 677)
173 187
         Me.訂單控制表TVW清單_dgv.TabIndex = 535
174 188
         '
175 189
         'Label11
176 190
         '
177 191
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
178 192
         Me.Label11.AutoSize = True
179
-        Me.Label11.Location = New System.Drawing.Point(1000, 11)
193
+        Me.Label11.Location = New System.Drawing.Point(1029, 2)
180 194
         Me.Label11.Name = "Label11"
181 195
         Me.Label11.Size = New System.Drawing.Size(43, 16)
182 196
         Me.Label11.TabIndex = 536
@@ -187,10 +201,10 @@ Partial Class 鞋型圖片導入資料庫
187 201
         Me.WebBrowser2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
188 202
             Or System.Windows.Forms.AnchorStyles.Left) _
189 203
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
190
-        Me.WebBrowser2.Location = New System.Drawing.Point(5, 132)
204
+        Me.WebBrowser2.Location = New System.Drawing.Point(5, 148)
191 205
         Me.WebBrowser2.MinimumSize = New System.Drawing.Size(20, 20)
192 206
         Me.WebBrowser2.Name = "WebBrowser2"
193
-        Me.WebBrowser2.Size = New System.Drawing.Size(775, 347)
207
+        Me.WebBrowser2.Size = New System.Drawing.Size(709, 365)
194 208
         Me.WebBrowser2.TabIndex = 540
195 209
         Me.WebBrowser2.Url = New System.Uri("", System.UriKind.Relative)
196 210
         '
@@ -198,7 +212,7 @@ Partial Class 鞋型圖片導入資料庫
198 212
         '
199 213
         Me.TextBox7.AllowDrop = True
200 214
         Me.TextBox7.ForeColor = System.Drawing.Color.Black
201
-        Me.TextBox7.Location = New System.Drawing.Point(41, 154)
215
+        Me.TextBox7.Location = New System.Drawing.Point(3, 3)
202 216
         Me.TextBox7.Multiline = True
203 217
         Me.TextBox7.Name = "TextBox7"
204 218
         Me.TextBox7.Size = New System.Drawing.Size(115, 23)
@@ -208,7 +222,7 @@ Partial Class 鞋型圖片導入資料庫
208 222
         '
209 223
         Me.Label13.AutoSize = True
210 224
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
211
-        Me.Label13.Location = New System.Drawing.Point(1, 105)
225
+        Me.Label13.Location = New System.Drawing.Point(1, 122)
212 226
         Me.Label13.Name = "Label13"
213 227
         Me.Label13.Size = New System.Drawing.Size(86, 24)
214 228
         Me.Label13.TabIndex = 562
@@ -218,9 +232,9 @@ Partial Class 鞋型圖片導入資料庫
218 232
         '
219 233
         Me.讀取料夾路徑_tb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
220 234
         Me.讀取料夾路徑_tb.ForeColor = System.Drawing.Color.Blue
221
-        Me.讀取料夾路徑_tb.Location = New System.Drawing.Point(93, 105)
235
+        Me.讀取料夾路徑_tb.Location = New System.Drawing.Point(86, 122)
222 236
         Me.讀取料夾路徑_tb.Name = "讀取料夾路徑_tb"
223
-        Me.讀取料夾路徑_tb.Size = New System.Drawing.Size(119, 24)
237
+        Me.讀取料夾路徑_tb.Size = New System.Drawing.Size(96, 24)
224 238
         Me.讀取料夾路徑_tb.TabIndex = 561
225 239
         Me.讀取料夾路徑_tb.Text = "讀取料夾路徑"
226 240
         Me.讀取料夾路徑_tb.UseVisualStyleBackColor = True
@@ -229,7 +243,7 @@ Partial Class 鞋型圖片導入資料庫
229 243
         '
230 244
         Me.Label6.AutoSize = True
231 245
         Me.Label6.ForeColor = System.Drawing.Color.Red
232
-        Me.Label6.Location = New System.Drawing.Point(218, 108)
246
+        Me.Label6.Location = New System.Drawing.Point(183, 125)
233 247
         Me.Label6.Name = "Label6"
234 248
         Me.Label6.Size = New System.Drawing.Size(424, 16)
235 249
         Me.Label6.TabIndex = 570
@@ -238,7 +252,7 @@ Partial Class 鞋型圖片導入資料庫
238 252
         'Style新增清單_bt
239 253
         '
240 254
         Me.Style新增清單_bt.ForeColor = System.Drawing.Color.Olive
241
-        Me.Style新增清單_bt.Location = New System.Drawing.Point(448, 4)
255
+        Me.Style新增清單_bt.Location = New System.Drawing.Point(448, 26)
242 256
         Me.Style新增清單_bt.Name = "Style新增清單_bt"
243 257
         Me.Style新增清單_bt.Size = New System.Drawing.Size(76, 24)
244 258
         Me.Style新增清單_bt.TabIndex = 494
@@ -248,7 +262,7 @@ Partial Class 鞋型圖片導入資料庫
248 262
         'Style查詢_bt
249 263
         '
250 264
         Me.Style查詢_bt.ForeColor = System.Drawing.Color.Black
251
-        Me.Style查詢_bt.Location = New System.Drawing.Point(294, 4)
265
+        Me.Style查詢_bt.Location = New System.Drawing.Point(294, 26)
252 266
         Me.Style查詢_bt.Name = "Style查詢_bt"
253 267
         Me.Style查詢_bt.Size = New System.Drawing.Size(76, 24)
254 268
         Me.Style查詢_bt.TabIndex = 496
@@ -258,7 +272,7 @@ Partial Class 鞋型圖片導入資料庫
258 272
         'Color新增清單_bt
259 273
         '
260 274
         Me.Color新增清單_bt.ForeColor = System.Drawing.Color.Olive
261
-        Me.Color新增清單_bt.Location = New System.Drawing.Point(448, 54)
275
+        Me.Color新增清單_bt.Location = New System.Drawing.Point(448, 74)
262 276
         Me.Color新增清單_bt.Name = "Color新增清單_bt"
263 277
         Me.Color新增清單_bt.Size = New System.Drawing.Size(76, 24)
264 278
         Me.Color新增清單_bt.TabIndex = 500
@@ -268,7 +282,7 @@ Partial Class 鞋型圖片導入資料庫
268 282
         'Color查詢_bt
269 283
         '
270 284
         Me.Color查詢_bt.ForeColor = System.Drawing.Color.Black
271
-        Me.Color查詢_bt.Location = New System.Drawing.Point(294, 54)
285
+        Me.Color查詢_bt.Location = New System.Drawing.Point(294, 74)
272 286
         Me.Color查詢_bt.Name = "Color查詢_bt"
273 287
         Me.Color查詢_bt.Size = New System.Drawing.Size(76, 24)
274 288
         Me.Color查詢_bt.TabIndex = 501
@@ -278,7 +292,7 @@ Partial Class 鞋型圖片導入資料庫
278 292
         'Label2
279 293
         '
280 294
         Me.Label2.AutoSize = True
281
-        Me.Label2.Location = New System.Drawing.Point(6, 7)
295
+        Me.Label2.Location = New System.Drawing.Point(6, 29)
282 296
         Me.Label2.Name = "Label2"
283 297
         Me.Label2.Size = New System.Drawing.Size(35, 16)
284 298
         Me.Label2.TabIndex = 505
@@ -287,7 +301,7 @@ Partial Class 鞋型圖片導入資料庫
287 301
         'Label3
288 302
         '
289 303
         Me.Label3.AutoSize = True
290
-        Me.Label3.Location = New System.Drawing.Point(6, 32)
304
+        Me.Label3.Location = New System.Drawing.Point(6, 53)
291 305
         Me.Label3.Name = "Label3"
292 306
         Me.Label3.Size = New System.Drawing.Size(43, 16)
293 307
         Me.Label3.TabIndex = 506
@@ -296,7 +310,7 @@ Partial Class 鞋型圖片導入資料庫
296 310
         'Label4
297 311
         '
298 312
         Me.Label4.AutoSize = True
299
-        Me.Label4.Location = New System.Drawing.Point(6, 58)
313
+        Me.Label4.Location = New System.Drawing.Point(6, 78)
300 314
         Me.Label4.Name = "Label4"
301 315
         Me.Label4.Size = New System.Drawing.Size(39, 16)
302 316
         Me.Label4.TabIndex = 507
@@ -307,7 +321,7 @@ Partial Class 鞋型圖片導入資料庫
307 321
         Me.Category_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
308 322
         Me.Category_cb.FormattingEnabled = True
309 323
         Me.Category_cb.Items.AddRange(New Object() {"開發-B/W", "開發-ILR", "開發-FLR", "開發-SMS", "開發-SMU", "確認-B/W", "確認-彩圖", "確認-產地標", "中底LOGO", "其他LOGO", "LOGO", "MATEIAL"})
310
-        Me.Category_cb.Location = New System.Drawing.Point(65, 79)
324
+        Me.Category_cb.Location = New System.Drawing.Point(65, 98)
311 325
         Me.Category_cb.Name = "Category_cb"
312 326
         Me.Category_cb.Size = New System.Drawing.Size(149, 24)
313 327
         Me.Category_cb.TabIndex = 508
@@ -315,7 +329,7 @@ Partial Class 鞋型圖片導入資料庫
315 329
         'Label5
316 330
         '
317 331
         Me.Label5.AutoSize = True
318
-        Me.Label5.Location = New System.Drawing.Point(6, 82)
332
+        Me.Label5.Location = New System.Drawing.Point(6, 101)
319 333
         Me.Label5.Name = "Label5"
320 334
         Me.Label5.Size = New System.Drawing.Size(63, 16)
321 335
         Me.Label5.TabIndex = 509
@@ -325,9 +339,9 @@ Partial Class 鞋型圖片導入資料庫
325 339
         '
326 340
         Me.確認儲存_bt.Font = New System.Drawing.Font("微軟正黑體", 18.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
327 341
         Me.確認儲存_bt.ForeColor = System.Drawing.Color.Blue
328
-        Me.確認儲存_bt.Location = New System.Drawing.Point(573, 4)
342
+        Me.確認儲存_bt.Location = New System.Drawing.Point(526, 2)
329 343
         Me.確認儲存_bt.Name = "確認儲存_bt"
330
-        Me.確認儲存_bt.Size = New System.Drawing.Size(146, 99)
344
+        Me.確認儲存_bt.Size = New System.Drawing.Size(185, 119)
331 345
         Me.確認儲存_bt.TabIndex = 510
332 346
         Me.確認儲存_bt.Text = "確認儲存"
333 347
         Me.確認儲存_bt.UseVisualStyleBackColor = True
@@ -335,43 +349,33 @@ Partial Class 鞋型圖片導入資料庫
335 349
         'TextBox1
336 350
         '
337 351
         Me.TextBox1.ForeColor = System.Drawing.Color.Black
338
-        Me.TextBox1.Location = New System.Drawing.Point(220, 80)
352
+        Me.TextBox1.Location = New System.Drawing.Point(3, 32)
339 353
         Me.TextBox1.Name = "TextBox1"
340
-        Me.TextBox1.Size = New System.Drawing.Size(73, 23)
354
+        Me.TextBox1.Size = New System.Drawing.Size(82, 23)
341 355
         Me.TextBox1.TabIndex = 513
342 356
         '
343
-        'CheckBox1
344
-        '
345
-        Me.CheckBox1.AutoSize = True
346
-        Me.CheckBox1.Location = New System.Drawing.Point(311, 80)
347
-        Me.CheckBox1.Name = "CheckBox1"
348
-        Me.CheckBox1.Size = New System.Drawing.Size(146, 20)
349
-        Me.CheckBox1.TabIndex = 514
350
-        Me.CheckBox1.Text = "導入中底或其他LOGO"
351
-        Me.CheckBox1.UseVisualStyleBackColor = True
357
+        '中底或其他LOGO_ch
352 358
         '
353
-        'TextBox2
359
+        Me.中底或其他LOGO_ch.AutoSize = True
360
+        Me.中底或其他LOGO_ch.Location = New System.Drawing.Point(268, 101)
361
+        Me.中底或其他LOGO_ch.Name = "中底或其他LOGO_ch"
362
+        Me.中底或其他LOGO_ch.Size = New System.Drawing.Size(146, 20)
363
+        Me.中底或其他LOGO_ch.TabIndex = 514
364
+        Me.中底或其他LOGO_ch.Text = "導入中底或其他LOGO"
365
+        Me.中底或其他LOGO_ch.UseVisualStyleBackColor = True
354 366
         '
355
-        Me.TextBox2.ForeColor = System.Drawing.Color.Black
356
-        Me.TextBox2.Location = New System.Drawing.Point(453, 79)
357
-        Me.TextBox2.Name = "TextBox2"
358
-        Me.TextBox2.Size = New System.Drawing.Size(113, 23)
359
-        Me.TextBox2.TabIndex = 515
367
+        '中底_其他LOGO_tb
360 368
         '
361
-        'Label8
362
-        '
363
-        Me.Label8.AutoSize = True
364
-        Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
365
-        Me.Label8.ForeColor = System.Drawing.Color.Red
366
-        Me.Label8.Location = New System.Drawing.Point(725, 7)
367
-        Me.Label8.Name = "Label8"
368
-        Me.Label8.Size = New System.Drawing.Size(0, 21)
369
-        Me.Label8.TabIndex = 517
369
+        Me.中底_其他LOGO_tb.ForeColor = System.Drawing.Color.Black
370
+        Me.中底_其他LOGO_tb.Location = New System.Drawing.Point(410, 98)
371
+        Me.中底_其他LOGO_tb.Name = "中底_其他LOGO_tb"
372
+        Me.中底_其他LOGO_tb.Size = New System.Drawing.Size(113, 23)
373
+        Me.中底_其他LOGO_tb.TabIndex = 515
370 374
         '
371 375
         'Style_tb
372 376
         '
373 377
         Me.Style_tb.ForeColor = System.Drawing.Color.Black
374
-        Me.Style_tb.Location = New System.Drawing.Point(65, 4)
378
+        Me.Style_tb.Location = New System.Drawing.Point(65, 26)
375 379
         Me.Style_tb.Name = "Style_tb"
376 380
         Me.Style_tb.Size = New System.Drawing.Size(149, 23)
377 381
         Me.Style_tb.TabIndex = 523
@@ -379,7 +383,7 @@ Partial Class 鞋型圖片導入資料庫
379 383
         'Style刷新_bt
380 384
         '
381 385
         Me.Style刷新_bt.ForeColor = System.Drawing.Color.Red
382
-        Me.Style刷新_bt.Location = New System.Drawing.Point(371, 4)
386
+        Me.Style刷新_bt.Location = New System.Drawing.Point(371, 26)
383 387
         Me.Style刷新_bt.Name = "Style刷新_bt"
384 388
         Me.Style刷新_bt.Size = New System.Drawing.Size(76, 24)
385 389
         Me.Style刷新_bt.TabIndex = 524
@@ -389,7 +393,7 @@ Partial Class 鞋型圖片導入資料庫
389 393
         'TVW_tb
390 394
         '
391 395
         Me.TVW_tb.ForeColor = System.Drawing.Color.Black
392
-        Me.TVW_tb.Location = New System.Drawing.Point(65, 29)
396
+        Me.TVW_tb.Location = New System.Drawing.Point(65, 50)
393 397
         Me.TVW_tb.Name = "TVW_tb"
394 398
         Me.TVW_tb.Size = New System.Drawing.Size(149, 23)
395 399
         Me.TVW_tb.TabIndex = 525
@@ -397,7 +401,7 @@ Partial Class 鞋型圖片導入資料庫
397 401
         'Color刷新_bt
398 402
         '
399 403
         Me.Color刷新_bt.ForeColor = System.Drawing.Color.Red
400
-        Me.Color刷新_bt.Location = New System.Drawing.Point(371, 54)
404
+        Me.Color刷新_bt.Location = New System.Drawing.Point(371, 74)
401 405
         Me.Color刷新_bt.Name = "Color刷新_bt"
402 406
         Me.Color刷新_bt.Size = New System.Drawing.Size(76, 24)
403 407
         Me.Color刷新_bt.TabIndex = 528
@@ -407,7 +411,7 @@ Partial Class 鞋型圖片導入資料庫
407 411
         'Color_tb
408 412
         '
409 413
         Me.Color_tb.ForeColor = System.Drawing.Color.Black
410
-        Me.Color_tb.Location = New System.Drawing.Point(65, 54)
414
+        Me.Color_tb.Location = New System.Drawing.Point(65, 74)
411 415
         Me.Color_tb.Name = "Color_tb"
412 416
         Me.Color_tb.Size = New System.Drawing.Size(149, 23)
413 417
         Me.Color_tb.TabIndex = 529
@@ -415,7 +419,7 @@ Partial Class 鞋型圖片導入資料庫
415 419
         'Style清空_bt
416 420
         '
417 421
         Me.Style清空_bt.ForeColor = System.Drawing.Color.Blue
418
-        Me.Style清空_bt.Location = New System.Drawing.Point(217, 4)
422
+        Me.Style清空_bt.Location = New System.Drawing.Point(217, 26)
419 423
         Me.Style清空_bt.Name = "Style清空_bt"
420 424
         Me.Style清空_bt.Size = New System.Drawing.Size(76, 24)
421 425
         Me.Style清空_bt.TabIndex = 530
@@ -425,7 +429,7 @@ Partial Class 鞋型圖片導入資料庫
425 429
         'Color清空_bt
426 430
         '
427 431
         Me.Color清空_bt.ForeColor = System.Drawing.Color.Blue
428
-        Me.Color清空_bt.Location = New System.Drawing.Point(217, 54)
432
+        Me.Color清空_bt.Location = New System.Drawing.Point(217, 74)
429 433
         Me.Color清空_bt.Name = "Color清空_bt"
430 434
         Me.Color清空_bt.Size = New System.Drawing.Size(76, 24)
431 435
         Me.Color清空_bt.TabIndex = 531
@@ -435,9 +439,9 @@ Partial Class 鞋型圖片導入資料庫
435 439
         'Button23
436 440
         '
437 441
         Me.Button23.ForeColor = System.Drawing.Color.Olive
438
-        Me.Button23.Location = New System.Drawing.Point(530, 54)
442
+        Me.Button23.Location = New System.Drawing.Point(119, 3)
439 443
         Me.Button23.Name = "Button23"
440
-        Me.Button23.Size = New System.Drawing.Size(15, 25)
444
+        Me.Button23.Size = New System.Drawing.Size(25, 25)
441 445
         Me.Button23.TabIndex = 532
442 446
         Me.Button23.Text = "再"
443 447
         Me.Button23.UseVisualStyleBackColor = True
@@ -445,37 +449,37 @@ Partial Class 鞋型圖片導入資料庫
445 449
         'Button8
446 450
         '
447 451
         Me.Button8.ForeColor = System.Drawing.Color.Olive
448
-        Me.Button8.Location = New System.Drawing.Point(551, 54)
452
+        Me.Button8.Location = New System.Drawing.Point(145, 3)
449 453
         Me.Button8.Name = "Button8"
450
-        Me.Button8.Size = New System.Drawing.Size(15, 25)
454
+        Me.Button8.Size = New System.Drawing.Size(25, 25)
451 455
         Me.Button8.TabIndex = 533
452 456
         Me.Button8.Text = "再"
453 457
         Me.Button8.UseVisualStyleBackColor = True
454 458
         '
455 459
         '檔案刪除_bt
456 460
         '
457
-        Me.檔案刪除_bt.Location = New System.Drawing.Point(530, 4)
461
+        Me.檔案刪除_bt.Location = New System.Drawing.Point(91, 30)
458 462
         Me.檔案刪除_bt.Name = "檔案刪除_bt"
459
-        Me.檔案刪除_bt.Size = New System.Drawing.Size(37, 48)
463
+        Me.檔案刪除_bt.Size = New System.Drawing.Size(79, 25)
460 464
         Me.檔案刪除_bt.TabIndex = 534
461 465
         Me.檔案刪除_bt.Text = "檔案刪除"
462 466
         Me.檔案刪除_bt.UseVisualStyleBackColor = True
463 467
         Me.檔案刪除_bt.Visible = False
464 468
         '
465
-        'TVW清空_bt
469
+        'TVW查詢_bt
466 470
         '
467
-        Me.TVW清空_bt.ForeColor = System.Drawing.Color.Black
468
-        Me.TVW清空_bt.Location = New System.Drawing.Point(294, 29)
469
-        Me.TVW清空_bt.Name = "TVW清空_bt"
470
-        Me.TVW清空_bt.Size = New System.Drawing.Size(76, 24)
471
-        Me.TVW清空_bt.TabIndex = 537
472
-        Me.TVW清空_bt.Text = "查詢"
473
-        Me.TVW清空_bt.UseVisualStyleBackColor = True
471
+        Me.TVW查詢_bt.ForeColor = System.Drawing.Color.Black
472
+        Me.TVW查詢_bt.Location = New System.Drawing.Point(294, 50)
473
+        Me.TVW查詢_bt.Name = "TVW查詢_bt"
474
+        Me.TVW查詢_bt.Size = New System.Drawing.Size(76, 24)
475
+        Me.TVW查詢_bt.TabIndex = 537
476
+        Me.TVW查詢_bt.Text = "查詢"
477
+        Me.TVW查詢_bt.UseVisualStyleBackColor = True
474 478
         '
475 479
         'TVW刷新_bt
476 480
         '
477 481
         Me.TVW刷新_bt.ForeColor = System.Drawing.Color.Red
478
-        Me.TVW刷新_bt.Location = New System.Drawing.Point(371, 29)
482
+        Me.TVW刷新_bt.Location = New System.Drawing.Point(371, 50)
479 483
         Me.TVW刷新_bt.Name = "TVW刷新_bt"
480 484
         Me.TVW刷新_bt.Size = New System.Drawing.Size(76, 24)
481 485
         Me.TVW刷新_bt.TabIndex = 538
@@ -485,7 +489,7 @@ Partial Class 鞋型圖片導入資料庫
485 489
         'TVW新增清單_bt
486 490
         '
487 491
         Me.TVW新增清單_bt.ForeColor = System.Drawing.Color.Olive
488
-        Me.TVW新增清單_bt.Location = New System.Drawing.Point(448, 29)
492
+        Me.TVW新增清單_bt.Location = New System.Drawing.Point(448, 50)
489 493
         Me.TVW新增清單_bt.Name = "TVW新增清單_bt"
490 494
         Me.TVW新增清單_bt.Size = New System.Drawing.Size(76, 24)
491 495
         Me.TVW新增清單_bt.TabIndex = 539
@@ -494,10 +498,9 @@ Partial Class 鞋型圖片導入資料庫
494 498
         '
495 499
         '字體_NUD
496 500
         '
497
-        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
498 501
         Me.字體_NUD.DecimalPlaces = 1
499 502
         Me.字體_NUD.Increment = New Decimal(New Integer() {1, 0, 0, 65536})
500
-        Me.字體_NUD.Location = New System.Drawing.Point(742, 105)
503
+        Me.字體_NUD.Location = New System.Drawing.Point(674, 122)
501 504
         Me.字體_NUD.Maximum = New Decimal(New Integer() {18, 0, 0, 0})
502 505
         Me.字體_NUD.Minimum = New Decimal(New Integer() {6, 0, 0, 0})
503 506
         Me.字體_NUD.Name = "字體_NUD"
@@ -507,36 +510,138 @@ Partial Class 鞋型圖片導入資料庫
507 510
         '
508 511
         '字體大小調整_lb
509 512
         '
510
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
511 513
         Me.字體大小調整_lb.AutoSize = True
512 514
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
513 515
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
514 516
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
515
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(684, 108)
517
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(616, 125)
516 518
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
517 519
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
518 520
         Me.字體大小調整_lb.TabIndex = 1635
519 521
         Me.字體大小調整_lb.Text = "字體調整"
520 522
         '
523
+        'Label8
524
+        '
525
+        Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
526
+        Me.Label8.AutoSize = True
527
+        Me.Label8.Location = New System.Drawing.Point(718, 2)
528
+        Me.Label8.Name = "Label8"
529
+        Me.Label8.Size = New System.Drawing.Size(49, 16)
530
+        Me.Label8.TabIndex = 1637
531
+        Me.Label8.Text = "Season"
532
+        '
533
+        '季節_dgv
534
+        '
535
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
536
+        Me.季節_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
537
+        Me.季節_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
538
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
539
+        Me.季節_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
540
+        Me.季節_dgv.BackgroundColor = System.Drawing.Color.White
541
+        Me.季節_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
542
+        Me.季節_dgv.Location = New System.Drawing.Point(717, 20)
543
+        Me.季節_dgv.Name = "季節_dgv"
544
+        Me.季節_dgv.RowHeadersWidth = 5
545
+        Me.季節_dgv.RowTemplate.Height = 24
546
+        Me.季節_dgv.Size = New System.Drawing.Size(143, 677)
547
+        Me.季節_dgv.TabIndex = 1636
548
+        '
549
+        'Panel1
550
+        '
551
+        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
552
+        Me.Panel1.Controls.Add(Me.TextBox7)
553
+        Me.Panel1.Controls.Add(Me.Button23)
554
+        Me.Panel1.Controls.Add(Me.Button8)
555
+        Me.Panel1.Controls.Add(Me.TextBox1)
556
+        Me.Panel1.Controls.Add(Me.檔案刪除_bt)
557
+        Me.Panel1.Location = New System.Drawing.Point(419, 279)
558
+        Me.Panel1.Name = "Panel1"
559
+        Me.Panel1.Size = New System.Drawing.Size(188, 68)
560
+        Me.Panel1.TabIndex = 1638
561
+        '
562
+        'Label10
563
+        '
564
+        Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
565
+        Me.Label10.AutoSize = True
566
+        Me.Label10.Location = New System.Drawing.Point(6, 5)
567
+        Me.Label10.Name = "Label10"
568
+        Me.Label10.Size = New System.Drawing.Size(49, 16)
569
+        Me.Label10.TabIndex = 1639
570
+        Me.Label10.Text = "Season"
571
+        '
572
+        '季節_tb
573
+        '
574
+        Me.季節_tb.ForeColor = System.Drawing.Color.Black
575
+        Me.季節_tb.Location = New System.Drawing.Point(65, 2)
576
+        Me.季節_tb.Name = "季節_tb"
577
+        Me.季節_tb.Size = New System.Drawing.Size(149, 23)
578
+        Me.季節_tb.TabIndex = 1640
579
+        '
580
+        '季節清空_bt
581
+        '
582
+        Me.季節清空_bt.ForeColor = System.Drawing.Color.Blue
583
+        Me.季節清空_bt.Location = New System.Drawing.Point(217, 2)
584
+        Me.季節清空_bt.Name = "季節清空_bt"
585
+        Me.季節清空_bt.Size = New System.Drawing.Size(76, 24)
586
+        Me.季節清空_bt.TabIndex = 1644
587
+        Me.季節清空_bt.Text = "清空"
588
+        Me.季節清空_bt.UseVisualStyleBackColor = True
589
+        '
590
+        '季節刷新_bt
591
+        '
592
+        Me.季節刷新_bt.ForeColor = System.Drawing.Color.Red
593
+        Me.季節刷新_bt.Location = New System.Drawing.Point(371, 2)
594
+        Me.季節刷新_bt.Name = "季節刷新_bt"
595
+        Me.季節刷新_bt.Size = New System.Drawing.Size(76, 24)
596
+        Me.季節刷新_bt.TabIndex = 1643
597
+        Me.季節刷新_bt.Text = "刷新"
598
+        Me.季節刷新_bt.UseVisualStyleBackColor = True
599
+        '
600
+        '季節查詢_bt
601
+        '
602
+        Me.季節查詢_bt.ForeColor = System.Drawing.Color.Black
603
+        Me.季節查詢_bt.Location = New System.Drawing.Point(294, 2)
604
+        Me.季節查詢_bt.Name = "季節查詢_bt"
605
+        Me.季節查詢_bt.Size = New System.Drawing.Size(76, 24)
606
+        Me.季節查詢_bt.TabIndex = 1642
607
+        Me.季節查詢_bt.Text = "查詢"
608
+        Me.季節查詢_bt.UseVisualStyleBackColor = True
609
+        '
610
+        '季節新增清單_bt
611
+        '
612
+        Me.季節新增清單_bt.ForeColor = System.Drawing.Color.Olive
613
+        Me.季節新增清單_bt.Location = New System.Drawing.Point(448, 2)
614
+        Me.季節新增清單_bt.Name = "季節新增清單_bt"
615
+        Me.季節新增清單_bt.Size = New System.Drawing.Size(76, 24)
616
+        Me.季節新增清單_bt.TabIndex = 1641
617
+        Me.季節新增清單_bt.Text = "新增清單"
618
+        Me.季節新增清單_bt.UseVisualStyleBackColor = True
619
+        '
521 620
         '鞋型圖片導入資料庫
522 621
         '
523 622
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
524 623
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
525 624
         Me.ClientSize = New System.Drawing.Size(1350, 701)
625
+        Me.Controls.Add(Me.季節清空_bt)
626
+        Me.Controls.Add(Me.季節刷新_bt)
627
+        Me.Controls.Add(Me.季節查詢_bt)
628
+        Me.Controls.Add(Me.季節新增清單_bt)
629
+        Me.Controls.Add(Me.季節_tb)
630
+        Me.Controls.Add(Me.Label10)
631
+        Me.Controls.Add(Me.WebBrowser2)
632
+        Me.Controls.Add(Me.Panel1)
633
+        Me.Controls.Add(Me.Label8)
634
+        Me.Controls.Add(Me.季節_dgv)
526 635
         Me.Controls.Add(Me.字體_NUD)
527 636
         Me.Controls.Add(Me.字體大小調整_lb)
528 637
         Me.Controls.Add(Me.Label6)
529
-        Me.Controls.Add(Me.TextBox7)
530 638
         Me.Controls.Add(Me.Label13)
531 639
         Me.Controls.Add(Me.讀取料夾路徑_tb)
532 640
         Me.Controls.Add(Me.TVW新增清單_bt)
533 641
         Me.Controls.Add(Me.TVW刷新_bt)
534
-        Me.Controls.Add(Me.TVW清空_bt)
642
+        Me.Controls.Add(Me.TVW查詢_bt)
535 643
         Me.Controls.Add(Me.Label11)
536 644
         Me.Controls.Add(Me.訂單控制表TVW清單_dgv)
537
-        Me.Controls.Add(Me.檔案刪除_bt)
538
-        Me.Controls.Add(Me.Button8)
539
-        Me.Controls.Add(Me.Button23)
540 645
         Me.Controls.Add(Me.Color清空_bt)
541 646
         Me.Controls.Add(Me.Style清空_bt)
542 647
         Me.Controls.Add(Me.Color_tb)
@@ -549,10 +654,8 @@ Partial Class 鞋型圖片導入資料庫
549 654
         Me.Controls.Add(Me.Label1)
550 655
         Me.Controls.Add(Me.訂單控制表_dgv)
551 656
         Me.Controls.Add(Me.WebBrowser1)
552
-        Me.Controls.Add(Me.Label8)
553
-        Me.Controls.Add(Me.TextBox2)
554
-        Me.Controls.Add(Me.CheckBox1)
555
-        Me.Controls.Add(Me.TextBox1)
657
+        Me.Controls.Add(Me.中底_其他LOGO_tb)
658
+        Me.Controls.Add(Me.中底或其他LOGO_ch)
556 659
         Me.Controls.Add(Me.確認儲存_bt)
557 660
         Me.Controls.Add(Me.Category_cb)
558 661
         Me.Controls.Add(Me.Label4)
@@ -563,7 +666,6 @@ Partial Class 鞋型圖片導入資料庫
563 666
         Me.Controls.Add(Me.Color新增清單_bt)
564 667
         Me.Controls.Add(Me.Style查詢_bt)
565 668
         Me.Controls.Add(Me.Style新增清單_bt)
566
-        Me.Controls.Add(Me.WebBrowser2)
567 669
         Me.Controls.Add(Me.Label9)
568 670
         Me.Controls.Add(Me.Label5)
569 671
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -575,6 +677,9 @@ Partial Class 鞋型圖片導入資料庫
575 677
         CType(Me.訂單控制表顏色清單_dgv, System.ComponentModel.ISupportInitialize).EndInit()
576 678
         CType(Me.訂單控制表TVW清單_dgv, System.ComponentModel.ISupportInitialize).EndInit()
577 679
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
680
+        CType(Me.季節_dgv, System.ComponentModel.ISupportInitialize).EndInit()
681
+        Me.Panel1.ResumeLayout(False)
682
+        Me.Panel1.PerformLayout()
578 683
         Me.ResumeLayout(False)
579 684
         Me.PerformLayout()
580 685
 
@@ -605,9 +710,8 @@ Partial Class 鞋型圖片導入資料庫
605 710
     Friend WithEvents Label5 As Label
606 711
     Friend WithEvents 確認儲存_bt As Button
607 712
     Friend WithEvents TextBox1 As TextBox
608
-    Friend WithEvents CheckBox1 As CheckBox
609
-    Friend WithEvents TextBox2 As TextBox
610
-    Friend WithEvents Label8 As Label
713
+    Friend WithEvents 中底或其他LOGO_ch As CheckBox
714
+    Friend WithEvents 中底_其他LOGO_tb As TextBox
611 715
     Friend WithEvents Style_tb As TextBox
612 716
     Friend WithEvents Style刷新_bt As Button
613 717
     Friend WithEvents TVW_tb As TextBox
@@ -618,11 +722,20 @@ Partial Class 鞋型圖片導入資料庫
618 722
     Friend WithEvents Button23 As Button
619 723
     Friend WithEvents Button8 As Button
620 724
     Friend WithEvents 檔案刪除_bt As Button
621
-    Friend WithEvents TVW清空_bt As Button
725
+    Friend WithEvents TVW查詢_bt As Button
622 726
     Friend WithEvents TVW刷新_bt As Button
623 727
     Friend WithEvents TVW新增清單_bt As Button
624 728
     Friend WithEvents 字體_NUD As NumericUpDown
625 729
     Friend WithEvents 字體大小調整_lb As Label
730
+    Friend WithEvents Label8 As Label
731
+    Friend WithEvents 季節_dgv As DataGridView
732
+    Friend WithEvents Panel1 As Panel
733
+    Friend WithEvents Label10 As Label
734
+    Friend WithEvents 季節_tb As TextBox
735
+    Friend WithEvents 季節清空_bt As Button
736
+    Friend WithEvents 季節刷新_bt As Button
737
+    Friend WithEvents 季節查詢_bt As Button
738
+    Friend WithEvents 季節新增清單_bt As Button
626 739
 End Class
627 740
 
628 741
 

+ 144
- 235
TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片導入資料庫.vb Ver arquivo

@@ -2,206 +2,123 @@
2 2
 Imports System.Net
3 3
 Public Class 鞋型圖片導入資料庫
4 4
     Public Property Credentials As ICredentials
5
-    ReadOnly ds As New DataSet : ReadOnly ds1 As New DataSet : ReadOnly ds2 As New DataSet
5
+    ReadOnly ds, ds1, ds2, ds3 As New DataSet
6
+    Private Sub Set_DGV4載入前設定()
7
+        季節_dgv.DataSource = Nothing : ds3.Clear()
8
+        季節_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
9
+        季節_dgv.ColumnHeadersHeight = 25 : 季節_dgv.AllowUserToAddRows = False : ConnOpen()
10
+    End Sub
11
+    Private Sub Set_DGV4載入後設定()
12
+        CmdSet_For_DGV() : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds3) : 季節_dgv.DataSource = ds3.Tables(0) : conn.Close()
13
+    End Sub
14
+    Private Sub Set_季節清單()
15
+        Set_DGV4載入前設定() : SQL_季節清單() : Set_DGV4載入後設定()
16
+    End Sub
6 17
     Private Sub Set_DGV1載入前設定()
7
-        Try
8
-            訂單控制表_dgv.DataSource = Nothing : ds.Clear()
9
-            訂單控制表_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
10
-            訂單控制表_dgv.ColumnHeadersHeight = 25
11
-            訂單控制表_dgv.AllowUserToAddRows = False
12
-            ConnOpen()
13
-        Catch ex As Exception
14
-            MsgBox(ex.Message)
15
-        End Try
18
+        訂單控制表_dgv.DataSource = Nothing : ds.Clear()
19
+        訂單控制表_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
20
+        訂單控制表_dgv.ColumnHeadersHeight = 25 : 訂單控制表_dgv.AllowUserToAddRows = False : ConnOpen()
16 21
     End Sub
17 22
     Private Sub Set_DGV1載入後設定()
18 23
         CmdSet_For_DGV() : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds) : 訂單控制表_dgv.DataSource = ds.Tables(0) : conn.Close()
24
+        訂單控制表_dgv.Columns(0).FillWeight = 185 : 訂單控制表_dgv.Columns(1).Visible = False : 訂單控制表_dgv.Columns(2).Visible = False
19 25
     End Sub
20 26
     Private Sub Set_TENDENZASTYLE清單()
21
-        Set_DGV1載入前設定()
22
-        SQL_訂單控制表清單()
23
-        Set_DGV1載入後設定()
27
+        Set_DGV1載入前設定() : SQL_訂單控制表清單() : Set_DGV1載入後設定()
24 28
     End Sub
25 29
     Private Sub Set_DGV2載入前設定()
26
-        Try
27
-            訂單控制表顏色清單_dgv.DataSource = Nothing : ds1.Clear()
28
-            訂單控制表顏色清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
29
-            訂單控制表顏色清單_dgv.ColumnHeadersHeight = 25
30
-            訂單控制表顏色清單_dgv.AllowUserToAddRows = False
31
-            ConnOpen()
32
-        Catch ex As Exception
33
-            MsgBox(ex.Message)
34
-        End Try
30
+        訂單控制表顏色清單_dgv.DataSource = Nothing : ds1.Clear()
31
+        訂單控制表顏色清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
32
+        訂單控制表顏色清單_dgv.ColumnHeadersHeight = 25 : 訂單控制表顏色清單_dgv.AllowUserToAddRows = False : ConnOpen()
35 33
     End Sub
36 34
     Private Sub Set_DGV2載入後設定()
37 35
         CmdSet_For_DGV() : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds1) : 訂單控制表顏色清單_dgv.DataSource = ds1.Tables(0) : conn.Close()
36
+        訂單控制表顏色清單_dgv.Columns(0).FillWeight = 155
38 37
     End Sub
39 38
     Private Sub Set_顏色清單()
40
-        Try
41
-            Set_DGV2載入前設定()
42
-            SQL_訂單控制表顏色清單()
43
-            Set_DGV2載入後設定()
44
-        Catch ex As Exception
45
-            MsgBox(ex.Message)
46
-        End Try
39
+        Set_DGV2載入前設定() : SQL_訂單控制表顏色清單() : Set_DGV2載入後設定()
47 40
     End Sub
48 41
     Private Sub Set_DGV3載入前設定()
49
-        Try
50
-            訂單控制表TVW清單_dgv.DataSource = Nothing : ds2.Clear()
51
-            訂單控制表TVW清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
52
-            訂單控制表TVW清單_dgv.ColumnHeadersHeight = 25
53
-            訂單控制表TVW清單_dgv.AllowUserToAddRows = False
54
-            ConnOpen()
55
-        Catch ex As Exception
56
-            MsgBox(ex.Message)
57
-        End Try
42
+        訂單控制表TVW清單_dgv.DataSource = Nothing : ds2.Clear()
43
+        訂單控制表TVW清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
44
+        訂單控制表TVW清單_dgv.ColumnHeadersHeight = 25 : 訂單控制表TVW清單_dgv.AllowUserToAddRows = False : ConnOpen()
58 45
     End Sub
59 46
     Private Sub Set_DGV3載入後設定()
60 47
         CmdSet_For_DGV() : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds2) : 訂單控制表TVW清單_dgv.DataSource = ds2.Tables(0) : conn.Close()
48
+        訂單控制表TVW清單_dgv.Columns(0).FillWeight = 140
61 49
     End Sub
62 50
     Private Sub Set_TVW清單()
63
-        Set_DGV3載入前設定()
64
-        SQL_TVW清單()
65
-        Set_DGV3載入後設定()
66
-    End Sub
67
-    Private Sub Set_grid1()
68
-        訂單控制表_dgv.Columns(0).FillWeight = 185 : 訂單控制表_dgv.Columns(1).Visible = False : 訂單控制表_dgv.Columns(2).Visible = False
69
-    End Sub
70
-    Private Sub Set_grid2()
71
-        訂單控制表顏色清單_dgv.Columns(0).FillWeight = 155
72
-    End Sub
73
-    Private Sub Set_grid3()
74
-        訂單控制表TVW清單_dgv.Columns(0).FillWeight = 140
51
+        Set_DGV3載入前設定() : SQL_TVW清單() : Set_DGV3載入後設定()
75 52
     End Sub
76 53
     Private Sub 格式設定()
77
-        Style_tb.Enabled = False : TVW_tb.Enabled = False : Color_tb.Enabled = False : Button23.Visible = False : Button8.Visible = False
54
+        季節_tb.Enabled = False : Style_tb.Enabled = False : TVW_tb.Enabled = False : Color_tb.Enabled = False : Button23.Visible = False : Button8.Visible = False
78 55
     End Sub
79 56
     Private Sub 圖片導入資料庫_Load(sender As Object, e As EventArgs) Handles MyBase.Load
80
-        Try
81
-            Me.MdiParent = TENDEN_MES_SYS : Me.WindowState = 2 : Me.AutoScroll = True
82
-            Target1 = Target & AA(1) & "/"
83
-            WebBrowser1.Url = New Uri(Target1)
84
-            格式設定() : Set_TENDENZASTYLE清單() : Set_grid1() : Set_顏色清單() : Set_grid2() : Set_TVW清單() : Set_grid3()
85
-            TextBox1.Visible = False
86
-            TextBox7.Visible = False
87
-            If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
88
-                WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
89
-            End If
90
-            If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then
91
-                字體_NUD.Value = 9
92
-            ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then
93
-                字體_NUD.Value = 7.6
94
-            End If
95
-        Catch ex As Exception
96
-            MsgBox(ex.Message)
97
-        End Try
57
+        Me.MdiParent = TENDEN_MES_SYS : Me.WindowState = 2 : Me.AutoScroll = True
58
+        Target1 = Target & AA(1) & "/"
59
+        WebBrowser1.Url = New Uri(Target1)
60
+        格式設定() : Set_TENDENZASTYLE清單() : Set_顏色清單() : Set_TVW清單() : Set_季節清單()
61
+        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
62
+            WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
63
+        End If
64
+        If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then : 字體_NUD.Value = 9
65
+        ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then : 字體_NUD.Value = 7.6 : End If
98 66
     End Sub
99 67
     Private Sub 圖片導入資料庫_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
100
-        Try
101
-            If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then
102
-                字體_NUD.Value = 9
103
-            ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then
104
-                字體_NUD.Value = 7.6
105
-            End If
106
-        Catch ex As Exception
107
-            MsgBox(ex.Message)
108
-        End Try
68
+        If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then : 字體_NUD.Value = 9
69
+        ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then : 字體_NUD.Value = 7.6 : End If
109 70
     End Sub
110 71
     Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
111
-        Try
112
-            訂單控制表_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
113
-            訂單控制表顏色清單_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
114
-            訂單控制表TVW清單_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
115
-        Catch ex As Exception
116
-            MsgBox(ex.Message)
117
-        End Try
72
+        季節_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
73
+        訂單控制表_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
74
+        訂單控制表顏色清單_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
75
+        訂單控制表TVW清單_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
118 76
     End Sub
119 77
     Public Sub Button23_Click() Handles Button23.Click
120
-        Try
121
-            Set_DGV1載入前設定()
122
-            SQL_訂單控制表形體號清單()
123
-            Set_DGV1載入後設定() : Set_grid1()
124
-            Set_DGV3載入前設定()
125
-            PA = 訂單控制表_dgv.Rows(0).Cells("形體號碼").Value
126
-            SQL_訂單控制表TVW清單()
127
-            Set_DGV3載入後設定() : Set_grid3()
128
-        Catch ex As Exception
129
-            MsgBox(ex.Message)
130
-        End Try
78
+        Set_DGV1載入前設定() : SQL_訂單控制表形體號清單() : Set_DGV1載入後設定()
79
+        PA = 訂單控制表_dgv.Rows(0).Cells("形體號碼").Value
80
+        Set_DGV3載入前設定() : SQL_訂單控制表TVW清單() : Set_DGV3載入後設定()
131 81
     End Sub
132 82
     Public Sub Button8_Click() Handles Button8.Click
133
-        Try
134
-            Set_DGV2載入前設定()
135
-            SQL_訂單控制表TVW清單1()
136
-            Set_DGV2載入後設定() : Set_grid2()
137
-        Catch ex As Exception
138
-            MsgBox(ex.Message)
139
-        End Try
83
+        Set_DGV2載入前設定() : SQL_訂單控制表TVW清單1() : Set_DGV2載入後設定()
140 84
     End Sub
141
-    Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表_dgv.CellClick
142
-        Try
143
-            If e.RowIndex = -1 Then : Else
144
-                Style_tb.Text = 訂單控制表_dgv(0, e.RowIndex).Value.ToString
145
-                Set_DGV3載入前設定()
146
-                PA = 訂單控制表_dgv.Rows(e.RowIndex).Cells("形體號碼").Value
147
-                SQL_訂單控制表TVW清單2()
148
-                Set_DGV3載入後設定() : Set_grid3()
149
-            End If
150
-        Catch ex As Exception
151
-            MsgBox(ex.Message)
152
-        End Try
153
-    End Sub
154
-    Private Sub DataGridView2_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表顏色清單_dgv.CellClick
155
-        Try
156
-            If e.RowIndex = -1 Then : Else
157
-                Color_tb.Text = 訂單控制表顏色清單_dgv(0, e.RowIndex).Value.ToString
158
-            End If
159
-        Catch ex As Exception
160
-            MsgBox(ex.Message)
161
-        End Try
162
-    End Sub
163
-    Private Sub DataGridView3_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表TVW清單_dgv.CellClick
85
+    Private Sub 訂單控制表_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表_dgv.CellClick
164 86
         If e.RowIndex = -1 Then : Else
165
-            TVW_tb.Text = 訂單控制表TVW清單_dgv(0, e.RowIndex).Value.ToString
87
+            Style_tb.Text = 訂單控制表_dgv(0, e.RowIndex).Value.ToString
88
+            PA = 訂單控制表_dgv.Rows(e.RowIndex).Cells("形體號碼").Value.ToString
89
+            Set_DGV3載入前設定() : SQL_訂單控制表TVW清單2() : Set_DGV3載入後設定()
166 90
         End If
167 91
     End Sub
92
+    Private Sub 訂單控制表顏色清單_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表顏色清單_dgv.CellClick
93
+        If e.RowIndex = -1 Then : Else : Color_tb.Text = 訂單控制表顏色清單_dgv(0, e.RowIndex).Value.ToString : End If
94
+    End Sub
95
+    Private Sub 訂單控制表TVW清單_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 訂單控制表TVW清單_dgv.CellClick
96
+        If e.RowIndex = -1 Then : Else : TVW_tb.Text = 訂單控制表TVW清單_dgv(0, e.RowIndex).Value.ToString : End If
97
+    End Sub
98
+    Private Sub 季節_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 季節_dgv.CellClick
99
+        If e.RowIndex = -1 Then : Else : 季節_tb.Text = 季節_dgv(0, e.RowIndex).Value.ToString : End If
100
+    End Sub
168 101
     Private Sub Button31_Click(sender As Object, e As EventArgs) Handles Style查詢_bt.Click
169
-        Try
170
-            PA = InputBox("請輸入要查詢的資料")
171
-            Set_DGV1載入前設定()
172
-            SQL_訂單控制表形體號清單3()
173
-            Set_DGV1載入後設定() : Set_grid1()
174
-            Set_DGV3載入前設定()
175
-            PA = 訂單控制表_dgv.Rows(0).Cells("形體號碼").Value
176
-            SQL_訂單控制表TVW清單()
177
-            Set_DGV3載入後設定() : Set_grid3()
178
-        Catch ex As Exception
179
-            MsgBox(ex.Message)
180
-        End Try
102
+        PA = InputBox("請輸入要查詢的資料")
103
+        Set_DGV1載入前設定() : SQL_訂單控制表形體號清單3() : Set_DGV1載入後設定()
104
+        PA = 訂單控制表_dgv.Rows(0).Cells("形體號碼").Value.ToString
105
+        Set_DGV3載入前設定() : SQL_訂單控制表TVW清單() : Set_DGV3載入後設定()
181 106
     End Sub
182 107
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Color查詢_bt.Click
183
-        Try
184
-            PA = InputBox("請輸入要查詢的資料")
185
-            Set_DGV2載入前設定()
186
-            SQL_查詢顏色()
187
-            Set_DGV2載入後設定() : Set_grid2()
188
-        Catch ex As Exception
189
-            MsgBox(ex.Message)
190
-        End Try
108
+        PA = InputBox("請輸入要查詢的資料")
109
+        Set_DGV2載入前設定() : SQL_查詢顏色() : Set_DGV2載入後設定()
191 110
     End Sub
192
-    Private Sub Button10_Click(sender As Object, e As EventArgs) Handles TVW清空_bt.Click
193
-        Try
194
-            PA = InputBox("請輸入要查詢的資料")
195
-            Set_DGV3載入前設定()
196
-            SQL_訂單控制表TVW清單2()
197
-            Set_DGV3載入後設定() : Set_grid3()
198
-        Catch ex As Exception
199
-            MsgBox(ex.Message)
200
-        End Try
111
+    Private Sub Button10_Click(sender As Object, e As EventArgs) Handles TVW查詢_bt.Click
112
+        PA = InputBox("請輸入要查詢的資料")
113
+        Set_DGV3載入前設定() : SQL_訂單控制表TVW清單2() : Set_DGV3載入後設定()
114
+    End Sub
115
+    Private Sub 季節查詢_bt_Click(sender As Object, e As EventArgs) Handles 季節查詢_bt.Click
116
+        PA = InputBox("請輸入要查詢的資料")
117
+        Set_DGV4載入前設定() : SQL_季節清單1() : Set_DGV4載入後設定()
201 118
     End Sub
202 119
     Private Sub Button11_Click(sender As Object, e As EventArgs) Handles 確認儲存_bt.Click
203 120
         Try
204
-            If 檔案名稱_tb.Text = "" Or Category_cb.Text = "" Or (TVW_tb.Text = "" And TextBox2.Text = "") Then
121
+            If 檔案名稱_tb.Text = "" Or Category_cb.Text = "" Or (TVW_tb.Text = "" And 中底_其他LOGO_tb.Text = "") Then
205 122
                 MsgBox("檔案名稱或資料不可空白")
206 123
             Else
207 124
                 SQL_查詢圖片編號()
@@ -224,13 +141,15 @@ Public Class 鞋型圖片導入資料庫
224 141
                     ElseIf NUM1 > 9999999 Then : TextBox1.Text = "PN" & NUM1
225 142
                     End If
226 143
                     ConnOpen()
227
-                    If CheckBox1.Checked = False Then
228
-                        SQL_新增圖片庫一()
144
+                    If 中底或其他LOGO_ch.Checked = False Then
145
+                        If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_新增圖片庫一_測試()
146
+                        Else : SQL_新增圖片庫一_正式() : End If
229 147
                     Else
230
-                        If TextBox2.Text = "" Then
148
+                        If 中底_其他LOGO_tb.Text = "" Then
231 149
                             MsgBox("請輸入中底LOGO規格")
232 150
                         Else
233
-                            SQL_新增圖片庫一1()
151
+                            If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_新增圖片庫一1_測試()
152
+                            Else : SQL_新增圖片庫一1_正式() : End If
234 153
                         End If
235 154
                     End If
236 155
                     CmdSet_For_dr() : conn.Close()
@@ -253,48 +172,46 @@ Public Class 鞋型圖片導入資料庫
253 172
             MsgBox(ex.Message)
254 173
         End Try
255 174
     End Sub
256
-    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Style新增清單_bt.Click
257
-        Try
258
-            STYLE_資料管理.Close() : 修改清單(0) = False : 修改清單(1) = True : 修改清單(2) = False : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
259
-            修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = False
260
-            STYLE_資料管理.Show()
261
-        Catch ex As Exception
262
-            MsgBox(ex.Message)
263
-        End Try
175
+    Private Sub Style新增清單_bt_Click(sender As Object, e As EventArgs) Handles Style新增清單_bt.Click
176
+        STYLE_資料管理.Close() : 修改清單(0) = False : 修改清單(1) = True : 修改清單(2) = False : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
177
+        修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = False : 修改清單(13) = False : 修改清單(14) = False
178
+        修改清單(15) = False : 修改清單(16) = False : STYLE_資料管理.Show()
264 179
     End Sub
265
-    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Color新增清單_bt.Click
266
-        Try
267
-            清單修改.Close() : 修改清單(0) = False : 修改清單(1) = False : 修改清單(2) = True : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
268
-            修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = False
269
-            清單修改.Show()
270
-        Catch ex As Exception
271
-            MsgBox(ex.Message)
272
-        End Try
180
+    Private Sub Color新增清單_bt_Click(sender As Object, e As EventArgs) Handles Color新增清單_bt.Click
181
+        清單修改.Close() : 修改清單(0) = False : 修改清單(1) = False : 修改清單(2) = True : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
182
+        修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = False : 修改清單(13) = False : 修改清單(14) = False
183
+        修改清單(15) = False : 修改清單(16) = False : 清單修改.Show()
273 184
     End Sub
274
-    Private Sub Button13_Click(sender As Object, e As EventArgs) Handles TVW新增清單_bt.Click
275
-        Try
276
-            清單修改.Close() : 修改清單(0) = False : 修改清單(1) = False : 修改清單(2) = False : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
277
-            修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = True : 修改清單(13) = False : 修改清單(14) = False
278
-            修改清單(15) = False : 修改清單(16) = False
279
-            清單修改.ShowDialog()
280
-        Catch ex As Exception
281
-            MsgBox(ex.Message)
282
-        End Try
185
+    Private Sub TVW新增清單_bt_Click(sender As Object, e As EventArgs) Handles TVW新增清單_bt.Click
186
+        清單修改.Close() : 修改清單(0) = False : 修改清單(1) = False : 修改清單(2) = False : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
187
+        修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = True : 修改清單(13) = False : 修改清單(14) = False
188
+        修改清單(15) = False : 修改清單(16) = False : 清單修改.ShowDialog()
283 189
     End Sub
284
-    Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Style清空_bt.Click
190
+    Private Sub 季節新增清單_bt_Click(sender As Object, e As EventArgs) Handles 季節新增清單_bt.Click
191
+        清單修改.Close() : 修改清單(0) = True : 修改清單(1) = False : 修改清單(2) = False : 修改清單(3) = False : 修改清單(4) = False : 修改清單(5) = False : 修改清單(6) = False
192
+        修改清單(7) = False : 修改清單(8) = False : 修改清單(9) = False : 修改清單(10) = False : 修改清單(11) = False : 修改清單(12) = False : 修改清單(13) = False : 修改清單(14) = False
193
+        修改清單(15) = False : 修改清單(16) = False : 清單修改.Show()
194
+    End Sub
195
+    Private Sub Style清空_bt_Click(sender As Object, e As EventArgs) Handles Style清空_bt.Click
285 196
         Style_tb.Text = ""
286 197
     End Sub
287
-    Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Color清空_bt.Click
198
+    Private Sub Color清空_bt_Click(sender As Object, e As EventArgs) Handles Color清空_bt.Click
288 199
         Color_tb.Text = ""
289 200
     End Sub
290
-    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Style刷新_bt.Click
291
-        Set_TENDENZASTYLE清單() : Set_grid1()
201
+    Private Sub 季節清空_bt_Click(sender As Object, e As EventArgs) Handles 季節清空_bt.Click
202
+        季節_tb.Text = ""
203
+    End Sub
204
+    Private Sub Style刷新_bt_Click(sender As Object, e As EventArgs) Handles Style刷新_bt.Click
205
+        Set_TENDENZASTYLE清單()
292 206
     End Sub
293
-    Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Color刷新_bt.Click
294
-        Set_顏色清單() : Set_grid2()
207
+    Private Sub Color刷新_bt_Click(sender As Object, e As EventArgs) Handles Color刷新_bt.Click
208
+        Set_顏色清單()
295 209
     End Sub
296
-    Private Sub Button12_Click(sender As Object, e As EventArgs) Handles TVW刷新_bt.Click
297
-        Set_TVW清單() : Set_grid3()
210
+    Private Sub TVW刷新_bt_Click(sender As Object, e As EventArgs) Handles TVW刷新_bt.Click
211
+        Set_TVW清單()
212
+    End Sub
213
+    Private Sub 季節刷新_bt_Click(sender As Object, e As EventArgs) Handles 季節刷新_bt.Click
214
+        Set_季節清單()
298 215
     End Sub
299 216
     Private Sub Button9_Click(sender As Object, e As EventArgs) Handles 檔案刪除_bt.Click
300 217
         Try
@@ -311,54 +228,46 @@ Public Class 鞋型圖片導入資料庫
311 228
             MsgBox(ex.Message)
312 229
         End Try
313 230
     End Sub
314
-    Private Sub TextBox4_DragEnter(sender As Object, e As DragEventArgs) Handles 檔案名稱_tb.DragEnter
315
-        Try
316
-            If e.Data.GetDataPresent(DataFormats.FileDrop) Then
317
-                Dim files As String()
318
-                Try
319
-                    files = CType(e.Data.GetData(DataFormats.FileDrop), String())
320
-                    檔案名稱_tb.Text = files(files.Length - 1)
321
-                Catch ex As Exception
322
-                    MessageBox.Show(ex.Message)
323
-                    Return
324
-                End Try
325
-            End If
231
+    Private Sub 檔案名稱_tb_DragEnter(sender As Object, e As DragEventArgs) Handles 檔案名稱_tb.DragEnter
232
+        If e.Data.GetDataPresent(DataFormats.FileDrop) Then
233
+            Dim files As String()
234
+            Try
235
+                files = CType(e.Data.GetData(DataFormats.FileDrop), String())
236
+                檔案名稱_tb.Text = files(files.Length - 1)
237
+            Catch ex As Exception
238
+                MessageBox.Show(ex.Message)
239
+                Return
240
+            End Try
241
+        End If
326 242
 
327
-            Dim STR2 As Integer = 0
328
-            TextBox7.Text = 檔案名稱_tb.Text
329
-            If 檔案名稱_tb.Text = "" Then
330
-            Else
331
-                For i As Integer = 0 To 9999
332
-                    Dim STR1 As Integer = Strings.Len(TextBox7.Text)
333
-                    If Strings.Right((TextBox7.Text), 1) <> "\" Then
334
-                        STR1 -= 1 : STR2 += 1
335
-                        If STR1 = 0 Then
336
-                            TextBox7.Text = ""
337
-                            檔案名稱_tb.Text = ""
338
-                            i = 9999
339
-                        Else
340
-                            TextBox7.Text = Strings.Left((TextBox7.Text), STR1)
341
-                        End If
342
-                    Else
343
-                        TextBox7.Text = Strings.Right((檔案名稱_tb.Text), STR2)
344
-                        檔案名稱_tb.Text = TextBox7.Text
243
+        Dim STR2 As Integer = 0
244
+        TextBox7.Text = 檔案名稱_tb.Text
245
+        If 檔案名稱_tb.Text = "" Then
246
+        Else
247
+            For i As Integer = 0 To 9999
248
+                Dim STR1 As Integer = Strings.Len(TextBox7.Text)
249
+                If Strings.Right((TextBox7.Text), 1) <> "\" Then
250
+                    STR1 -= 1 : STR2 += 1
251
+                    If STR1 = 0 Then
252
+                        TextBox7.Text = ""
253
+                        檔案名稱_tb.Text = ""
345 254
                         i = 9999
255
+                    Else
256
+                        TextBox7.Text = Strings.Left((TextBox7.Text), STR1)
346 257
                     End If
347
-                Next
348
-            End If
349
-        Catch ex As Exception
350
-            MsgBox(ex.Message)
351
-        End Try
258
+                Else
259
+                    TextBox7.Text = Strings.Right((檔案名稱_tb.Text), STR2)
260
+                    檔案名稱_tb.Text = TextBox7.Text
261
+                    i = 9999
262
+                End If
263
+            Next
264
+        End If
352 265
     End Sub
353 266
     Private Sub TextBox4_DragDrop(ByVal sender As Object, ByVal e As DragEventArgs) Handles 檔案名稱_tb.DragDrop
354 267
         Dim files As Array = e.Data.GetData(DataFormats.FileDrop)
355
-        For Each file As String In files
356
-            檔案名稱_tb.AppendText(file + Environment.NewLine)
357
-        Next
268
+        For Each file As String In files : 檔案名稱_tb.AppendText(file + Environment.NewLine) : Next
358 269
     End Sub
359 270
     Private Sub Button14_Click(sender As Object, e As EventArgs) Handles 讀取料夾路徑_tb.Click
360
-        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
361
-            WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
362
-        End If
271
+        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then : WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath) : End If
363 272
     End Sub
364 273
 End Class

+ 157
- 132
TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片資料庫.Designer.vb Ver arquivo

@@ -22,7 +22,7 @@ Partial Class 鞋型圖片資料庫
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private  Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26 26
         Me.圖片庫一_dgv = New System.Windows.Forms.DataGridView()
27 27
         Me.TextBox1 = New System.Windows.Forms.TextBox()
28 28
         Me.圖片修改存檔_bt = New System.Windows.Forms.Button()
@@ -41,30 +41,32 @@ Partial Class 鞋型圖片資料庫
41 41
         Me.Label10 = New System.Windows.Forms.Label()
42 42
         Me.TabControl1 = New System.Windows.Forms.TabControl()
43 43
         Me.TabPage1 = New System.Windows.Forms.TabPage()
44
+        Me.季節_tb = New System.Windows.Forms.TextBox()
44 45
         Me.查詢_bt = New System.Windows.Forms.Button()
45 46
         Me.PictureBox1 = New System.Windows.Forms.PictureBox()
46 47
         Me.Category_cb = New System.Windows.Forms.ComboBox()
47 48
         Me.刪除_bt = New System.Windows.Forms.Button()
48 49
         Me.更新清單_bt = New System.Windows.Forms.Button()
49
-        Me.Label2 = New System.Windows.Forms.Label()
50
-        Me.Label3 = New System.Windows.Forms.Label()
51 50
         Me.Label4 = New System.Windows.Forms.Label()
52 51
         Me.Label5 = New System.Windows.Forms.Label()
53 52
         Me.下載圖片_bt = New System.Windows.Forms.Button()
54 53
         Me.Style_tb = New System.Windows.Forms.TextBox()
55 54
         Me.TVW_tb = New System.Windows.Forms.TextBox()
56 55
         Me.Color_tb = New System.Windows.Forms.TextBox()
56
+        Me.全部資料_ch = New System.Windows.Forms.CheckBox()
57
+        Me.其他LOGO_ch = New System.Windows.Forms.CheckBox()
58
+        Me.中底LOGO_ch = New System.Windows.Forms.CheckBox()
59
+        Me.確認_產地標_ch = New System.Windows.Forms.CheckBox()
60
+        Me.確認_彩圖_ch = New System.Windows.Forms.CheckBox()
57 61
         Me.開發_BW_ch = New System.Windows.Forms.CheckBox()
58 62
         Me.開發_ILR_ch = New System.Windows.Forms.CheckBox()
59
-        Me.全部資料_ch = New System.Windows.Forms.CheckBox()
60 63
         Me.開發_FLR_ch = New System.Windows.Forms.CheckBox()
61
-        Me.其他LOGO_ch = New System.Windows.Forms.CheckBox()
62 64
         Me.開發_SMS_ch = New System.Windows.Forms.CheckBox()
63
-        Me.中底LOGO_ch = New System.Windows.Forms.CheckBox()
64 65
         Me.開發_SMU_ch = New System.Windows.Forms.CheckBox()
65
-        Me.確認_產地標_ch = New System.Windows.Forms.CheckBox()
66 66
         Me.確認_BW_ch = New System.Windows.Forms.CheckBox()
67
-        Me.確認_彩圖_ch = New System.Windows.Forms.CheckBox()
67
+        Me.Label6 = New System.Windows.Forms.Label()
68
+        Me.Label2 = New System.Windows.Forms.Label()
69
+        Me.Label3 = New System.Windows.Forms.Label()
68 70
         Me.TabPage2 = New System.Windows.Forms.TabPage()
69 71
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
70 72
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
@@ -78,17 +80,18 @@ Partial Class 鞋型圖片資料庫
78 80
         '
79 81
         '圖片庫一_dgv
80 82
         '
81
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.Thistle
82
-        Me.圖片庫一_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
83
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.Thistle
84
+        Me.圖片庫一_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
83 85
         Me.圖片庫一_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
84 86
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
85 87
         Me.圖片庫一_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
88
+        Me.圖片庫一_dgv.BackgroundColor = System.Drawing.Color.White
86 89
         Me.圖片庫一_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
87 90
         Me.圖片庫一_dgv.Location = New System.Drawing.Point(3, 3)
88 91
         Me.圖片庫一_dgv.Name = "圖片庫一_dgv"
89 92
         Me.圖片庫一_dgv.RowHeadersWidth = 5
90 93
         Me.圖片庫一_dgv.RowTemplate.Height = 24
91
-        Me.圖片庫一_dgv.Size = New System.Drawing.Size(395, 695)
94
+        Me.圖片庫一_dgv.Size = New System.Drawing.Size(464, 695)
92 95
         Me.圖片庫一_dgv.TabIndex = 3
93 96
         '
94 97
         'TextBox1
@@ -101,9 +104,9 @@ Partial Class 鞋型圖片資料庫
101 104
         '圖片修改存檔_bt
102 105
         '
103 106
         Me.圖片修改存檔_bt.ForeColor = System.Drawing.Color.Green
104
-        Me.圖片修改存檔_bt.Location = New System.Drawing.Point(365, 2)
107
+        Me.圖片修改存檔_bt.Location = New System.Drawing.Point(182, 21)
105 108
         Me.圖片修改存檔_bt.Name = "圖片修改存檔_bt"
106
-        Me.圖片修改存檔_bt.Size = New System.Drawing.Size(171, 25)
109
+        Me.圖片修改存檔_bt.Size = New System.Drawing.Size(96, 25)
107 110
         Me.圖片修改存檔_bt.TabIndex = 514
108 111
         Me.圖片修改存檔_bt.Text = "圖片修改存檔"
109 112
         Me.圖片修改存檔_bt.UseVisualStyleBackColor = True
@@ -112,17 +115,18 @@ Partial Class 鞋型圖片資料庫
112 115
         '
113 116
         Me.WebBrowser1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
114 117
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
115
-        Me.WebBrowser1.Location = New System.Drawing.Point(6, 510)
118
+        Me.WebBrowser1.Location = New System.Drawing.Point(6, 537)
116 119
         Me.WebBrowser1.MinimumSize = New System.Drawing.Size(20, 20)
117 120
         Me.WebBrowser1.Name = "WebBrowser1"
118
-        Me.WebBrowser1.Size = New System.Drawing.Size(1050, 145)
121
+        Me.WebBrowser1.Size = New System.Drawing.Size(981, 118)
119 122
         Me.WebBrowser1.TabIndex = 542
120 123
         Me.WebBrowser1.Url = New System.Uri("", System.UriKind.Relative)
121 124
         '
122 125
         'Label9
123 126
         '
127
+        Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
124 128
         Me.Label9.AutoSize = True
125
-        Me.Label9.Location = New System.Drawing.Point(2, 485)
129
+        Me.Label9.Location = New System.Drawing.Point(2, 516)
126 130
         Me.Label9.Name = "Label9"
127 131
         Me.Label9.Size = New System.Drawing.Size(56, 16)
128 132
         Me.Label9.TabIndex = 544
@@ -134,16 +138,16 @@ Partial Class 鞋型圖片資料庫
134 138
         Me.檔案名稱_tb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
135 139
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
136 140
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
137
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(57, 483)
141
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(57, 512)
138 142
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
139
-        Me.檔案名稱_tb.Size = New System.Drawing.Size(999, 23)
143
+        Me.檔案名稱_tb.Size = New System.Drawing.Size(930, 23)
140 144
         Me.檔案名稱_tb.TabIndex = 543
141 145
         '
142 146
         '修改圖片_ch
143 147
         '
144 148
         Me.修改圖片_ch.AutoSize = True
145 149
         Me.修改圖片_ch.ForeColor = System.Drawing.Color.Red
146
-        Me.修改圖片_ch.Location = New System.Drawing.Point(6, 5)
150
+        Me.修改圖片_ch.Location = New System.Drawing.Point(6, 2)
147 151
         Me.修改圖片_ch.Name = "修改圖片_ch"
148 152
         Me.修改圖片_ch.Size = New System.Drawing.Size(267, 20)
149 153
         Me.修改圖片_ch.TabIndex = 545
@@ -168,10 +172,10 @@ Partial Class 鞋型圖片資料庫
168 172
         Me.WebBrowser2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
169 173
             Or System.Windows.Forms.AnchorStyles.Left) _
170 174
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
171
-        Me.WebBrowser2.Location = New System.Drawing.Point(6, 59)
175
+        Me.WebBrowser2.Location = New System.Drawing.Point(6, 65)
172 176
         Me.WebBrowser2.MinimumSize = New System.Drawing.Size(20, 20)
173 177
         Me.WebBrowser2.Name = "WebBrowser2"
174
-        Me.WebBrowser2.Size = New System.Drawing.Size(1050, 420)
178
+        Me.WebBrowser2.Size = New System.Drawing.Size(981, 446)
175 179
         Me.WebBrowser2.TabIndex = 548
176 180
         Me.WebBrowser2.Url = New System.Uri("", System.UriKind.Relative)
177 181
         '
@@ -179,7 +183,7 @@ Partial Class 鞋型圖片資料庫
179 183
         '
180 184
         Me.TextBox7.AllowDrop = True
181 185
         Me.TextBox7.ForeColor = System.Drawing.Color.Black
182
-        Me.TextBox7.Location = New System.Drawing.Point(286, 3)
186
+        Me.TextBox7.Location = New System.Drawing.Point(94, 177)
183 187
         Me.TextBox7.Multiline = True
184 188
         Me.TextBox7.Name = "TextBox7"
185 189
         Me.TextBox7.Size = New System.Drawing.Size(73, 23)
@@ -189,7 +193,7 @@ Partial Class 鞋型圖片資料庫
189 193
         '
190 194
         Me.Label1.AutoSize = True
191 195
         Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
192
-        Me.Label1.Location = New System.Drawing.Point(2, 29)
196
+        Me.Label1.Location = New System.Drawing.Point(2, 21)
193 197
         Me.Label1.Name = "Label1"
194 198
         Me.Label1.Size = New System.Drawing.Size(86, 24)
195 199
         Me.Label1.TabIndex = 562
@@ -199,9 +203,9 @@ Partial Class 鞋型圖片資料庫
199 203
         '
200 204
         Me.讀取料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
201 205
         Me.讀取料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
202
-        Me.讀取料夾路徑_bt.Location = New System.Drawing.Point(94, 29)
206
+        Me.讀取料夾路徑_bt.Location = New System.Drawing.Point(92, 21)
203 207
         Me.讀取料夾路徑_bt.Name = "讀取料夾路徑_bt"
204
-        Me.讀取料夾路徑_bt.Size = New System.Drawing.Size(119, 24)
208
+        Me.讀取料夾路徑_bt.Size = New System.Drawing.Size(89, 25)
205 209
         Me.讀取料夾路徑_bt.TabIndex = 561
206 210
         Me.讀取料夾路徑_bt.Text = "讀取料夾路徑"
207 211
         Me.讀取料夾路徑_bt.UseVisualStyleBackColor = True
@@ -210,8 +214,8 @@ Partial Class 鞋型圖片資料庫
210 214
         '
211 215
         Me.Label8.AutoSize = True
212 216
         Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
213
-        Me.Label8.ForeColor = System.Drawing.Color.Red
214
-        Me.Label8.Location = New System.Drawing.Point(542, 3)
217
+        Me.Label8.ForeColor = System.Drawing.Color.Blue
218
+        Me.Label8.Location = New System.Drawing.Point(280, 1)
215 219
         Me.Label8.Name = "Label8"
216 220
         Me.Label8.Size = New System.Drawing.Size(492, 48)
217 221
         Me.Label8.TabIndex = 572
@@ -222,11 +226,11 @@ Partial Class 鞋型圖片資料庫
222 226
         '
223 227
         Me.Label10.AutoSize = True
224 228
         Me.Label10.ForeColor = System.Drawing.Color.Red
225
-        Me.Label10.Location = New System.Drawing.Point(219, 26)
229
+        Me.Label10.Location = New System.Drawing.Point(3, 48)
226 230
         Me.Label10.Name = "Label10"
227
-        Me.Label10.Size = New System.Drawing.Size(292, 32)
231
+        Me.Label10.Size = New System.Drawing.Size(424, 16)
228 232
         Me.Label10.TabIndex = 573
229
-        Me.Label10.Text = "如檔案無法拖曳至伺服器FTP文件夾,請修改檔案名稱" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "不要帶有中文字或是符號"
233
+        Me.Label10.Text = "如檔案無法拖曳至伺服器FTP文件夾,請修改檔案名稱不要帶有中文字或是符號"
230 234
         '
231 235
         'TabControl1
232 236
         '
@@ -236,53 +240,63 @@ Partial Class 鞋型圖片資料庫
236 240
         Me.TabControl1.Appearance = System.Windows.Forms.TabAppearance.Buttons
237 241
         Me.TabControl1.Controls.Add(Me.TabPage1)
238 242
         Me.TabControl1.Controls.Add(Me.TabPage2)
239
-        Me.TabControl1.Location = New System.Drawing.Point(397, 3)
243
+        Me.TabControl1.Location = New System.Drawing.Point(466, 3)
240 244
         Me.TabControl1.Name = "TabControl1"
241 245
         Me.TabControl1.SelectedIndex = 0
242
-        Me.TabControl1.Size = New System.Drawing.Size(1074, 695)
246
+        Me.TabControl1.Size = New System.Drawing.Size(1005, 700)
243 247
         Me.TabControl1.TabIndex = 574
244 248
         '
245 249
         'TabPage1
246 250
         '
247 251
         Me.TabPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
252
+        Me.TabPage1.Controls.Add(Me.季節_tb)
248 253
         Me.TabPage1.Controls.Add(Me.查詢_bt)
249 254
         Me.TabPage1.Controls.Add(Me.PictureBox1)
250 255
         Me.TabPage1.Controls.Add(Me.Category_cb)
251 256
         Me.TabPage1.Controls.Add(Me.刪除_bt)
252 257
         Me.TabPage1.Controls.Add(Me.更新清單_bt)
253
-        Me.TabPage1.Controls.Add(Me.Label2)
254
-        Me.TabPage1.Controls.Add(Me.Label3)
255 258
         Me.TabPage1.Controls.Add(Me.Label4)
256 259
         Me.TabPage1.Controls.Add(Me.Label5)
257 260
         Me.TabPage1.Controls.Add(Me.下載圖片_bt)
258 261
         Me.TabPage1.Controls.Add(Me.Style_tb)
259 262
         Me.TabPage1.Controls.Add(Me.TVW_tb)
260 263
         Me.TabPage1.Controls.Add(Me.Color_tb)
264
+        Me.TabPage1.Controls.Add(Me.全部資料_ch)
265
+        Me.TabPage1.Controls.Add(Me.其他LOGO_ch)
266
+        Me.TabPage1.Controls.Add(Me.中底LOGO_ch)
267
+        Me.TabPage1.Controls.Add(Me.確認_產地標_ch)
268
+        Me.TabPage1.Controls.Add(Me.確認_彩圖_ch)
261 269
         Me.TabPage1.Controls.Add(Me.開發_BW_ch)
262 270
         Me.TabPage1.Controls.Add(Me.開發_ILR_ch)
263
-        Me.TabPage1.Controls.Add(Me.全部資料_ch)
264 271
         Me.TabPage1.Controls.Add(Me.開發_FLR_ch)
265
-        Me.TabPage1.Controls.Add(Me.其他LOGO_ch)
266 272
         Me.TabPage1.Controls.Add(Me.開發_SMS_ch)
267
-        Me.TabPage1.Controls.Add(Me.中底LOGO_ch)
268 273
         Me.TabPage1.Controls.Add(Me.開發_SMU_ch)
269
-        Me.TabPage1.Controls.Add(Me.確認_產地標_ch)
270 274
         Me.TabPage1.Controls.Add(Me.確認_BW_ch)
271
-        Me.TabPage1.Controls.Add(Me.確認_彩圖_ch)
275
+        Me.TabPage1.Controls.Add(Me.Label6)
276
+        Me.TabPage1.Controls.Add(Me.Label2)
277
+        Me.TabPage1.Controls.Add(Me.Label3)
272 278
         Me.TabPage1.Location = New System.Drawing.Point(4, 28)
273 279
         Me.TabPage1.Name = "TabPage1"
274 280
         Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
275
-        Me.TabPage1.Size = New System.Drawing.Size(1066, 663)
281
+        Me.TabPage1.Size = New System.Drawing.Size(997, 668)
276 282
         Me.TabPage1.TabIndex = 0
277 283
         Me.TabPage1.Text = "鞋樣圖片"
278 284
         Me.TabPage1.UseVisualStyleBackColor = True
279 285
         '
286
+        '季節_tb
287
+        '
288
+        Me.季節_tb.ForeColor = System.Drawing.Color.Black
289
+        Me.季節_tb.Location = New System.Drawing.Point(116, 3)
290
+        Me.季節_tb.Name = "季節_tb"
291
+        Me.季節_tb.Size = New System.Drawing.Size(168, 23)
292
+        Me.季節_tb.TabIndex = 1642
293
+        '
280 294
         '查詢_bt
281 295
         '
282 296
         Me.查詢_bt.ForeColor = System.Drawing.Color.Black
283 297
         Me.查詢_bt.Location = New System.Drawing.Point(1, 1)
284 298
         Me.查詢_bt.Name = "查詢_bt"
285
-        Me.查詢_bt.Size = New System.Drawing.Size(85, 24)
299
+        Me.查詢_bt.Size = New System.Drawing.Size(66, 24)
286 300
         Me.查詢_bt.TabIndex = 551
287 301
         Me.查詢_bt.Text = "查詢"
288 302
         Me.查詢_bt.UseVisualStyleBackColor = True
@@ -295,9 +309,9 @@ Partial Class 鞋型圖片資料庫
295 309
         Me.PictureBox1.BackgroundImage = Global.天盾國際管理系統.My.Resources.Resources._9572467
296 310
         Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
297 311
         Me.PictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
298
-        Me.PictureBox1.Location = New System.Drawing.Point(1, 101)
312
+        Me.PictureBox1.Location = New System.Drawing.Point(3, 79)
299 313
         Me.PictureBox1.Name = "PictureBox1"
300
-        Me.PictureBox1.Size = New System.Drawing.Size(1057, 555)
314
+        Me.PictureBox1.Size = New System.Drawing.Size(988, 584)
301 315
         Me.PictureBox1.TabIndex = 547
302 316
         Me.PictureBox1.TabStop = False
303 317
         '
@@ -306,17 +320,17 @@ Partial Class 鞋型圖片資料庫
306 320
         Me.Category_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
307 321
         Me.Category_cb.FormattingEnabled = True
308 322
         Me.Category_cb.Items.AddRange(New Object() {"開發-B/W", "開發-ILR", "開發-FLR", "開發-SMS", "開發-SMU", "確認-B/W", "確認-彩圖", "確認-產地標", "中底LOGO", "其他LOGO", "LOGO", "MATEIAL"})
309
-        Me.Category_cb.Location = New System.Drawing.Point(152, 75)
323
+        Me.Category_cb.Location = New System.Drawing.Point(346, 27)
310 324
         Me.Category_cb.Name = "Category_cb"
311
-        Me.Category_cb.Size = New System.Drawing.Size(284, 24)
325
+        Me.Category_cb.Size = New System.Drawing.Size(168, 24)
312 326
         Me.Category_cb.TabIndex = 548
313 327
         '
314 328
         '刪除_bt
315 329
         '
316 330
         Me.刪除_bt.ForeColor = System.Drawing.Color.Red
317
-        Me.刪除_bt.Location = New System.Drawing.Point(1, 76)
331
+        Me.刪除_bt.Location = New System.Drawing.Point(1, 50)
318 332
         Me.刪除_bt.Name = "刪除_bt"
319
-        Me.刪除_bt.Size = New System.Drawing.Size(85, 24)
333
+        Me.刪除_bt.Size = New System.Drawing.Size(66, 24)
320 334
         Me.刪除_bt.TabIndex = 549
321 335
         Me.刪除_bt.Text = "刪除"
322 336
         Me.刪除_bt.UseVisualStyleBackColor = True
@@ -324,35 +338,17 @@ Partial Class 鞋型圖片資料庫
324 338
         '更新清單_bt
325 339
         '
326 340
         Me.更新清單_bt.ForeColor = System.Drawing.Color.Black
327
-        Me.更新清單_bt.Location = New System.Drawing.Point(1, 26)
341
+        Me.更新清單_bt.Location = New System.Drawing.Point(427, 52)
328 342
         Me.更新清單_bt.Name = "更新清單_bt"
329 343
         Me.更新清單_bt.Size = New System.Drawing.Size(85, 24)
330 344
         Me.更新清單_bt.TabIndex = 550
331 345
         Me.更新清單_bt.Text = "更新清單"
332 346
         Me.更新清單_bt.UseVisualStyleBackColor = True
333 347
         '
334
-        'Label2
335
-        '
336
-        Me.Label2.AutoSize = True
337
-        Me.Label2.Location = New System.Drawing.Point(88, 6)
338
-        Me.Label2.Name = "Label2"
339
-        Me.Label2.Size = New System.Drawing.Size(35, 16)
340
-        Me.Label2.TabIndex = 552
341
-        Me.Label2.Text = "Style"
342
-        '
343
-        'Label3
344
-        '
345
-        Me.Label3.AutoSize = True
346
-        Me.Label3.Location = New System.Drawing.Point(88, 30)
347
-        Me.Label3.Name = "Label3"
348
-        Me.Label3.Size = New System.Drawing.Size(43, 16)
349
-        Me.Label3.TabIndex = 553
350
-        Me.Label3.Text = "TVW#"
351
-        '
352 348
         'Label4
353 349
         '
354 350
         Me.Label4.AutoSize = True
355
-        Me.Label4.Location = New System.Drawing.Point(88, 54)
351
+        Me.Label4.Location = New System.Drawing.Point(285, 6)
356 352
         Me.Label4.Name = "Label4"
357 353
         Me.Label4.Size = New System.Drawing.Size(39, 16)
358 354
         Me.Label4.TabIndex = 554
@@ -361,7 +357,7 @@ Partial Class 鞋型圖片資料庫
361 357
         'Label5
362 358
         '
363 359
         Me.Label5.AutoSize = True
364
-        Me.Label5.Location = New System.Drawing.Point(88, 78)
360
+        Me.Label5.Location = New System.Drawing.Point(285, 30)
365 361
         Me.Label5.Name = "Label5"
366 362
         Me.Label5.Size = New System.Drawing.Size(63, 16)
367 363
         Me.Label5.TabIndex = 555
@@ -370,9 +366,9 @@ Partial Class 鞋型圖片資料庫
370 366
         '下載圖片_bt
371 367
         '
372 368
         Me.下載圖片_bt.ForeColor = System.Drawing.Color.Blue
373
-        Me.下載圖片_bt.Location = New System.Drawing.Point(1, 51)
369
+        Me.下載圖片_bt.Location = New System.Drawing.Point(1, 25)
374 370
         Me.下載圖片_bt.Name = "下載圖片_bt"
375
-        Me.下載圖片_bt.Size = New System.Drawing.Size(85, 24)
371
+        Me.下載圖片_bt.Size = New System.Drawing.Size(66, 24)
376 372
         Me.下載圖片_bt.TabIndex = 570
377 373
         Me.下載圖片_bt.Text = "下載圖片"
378 374
         Me.下載圖片_bt.UseVisualStyleBackColor = True
@@ -380,31 +376,81 @@ Partial Class 鞋型圖片資料庫
380 376
         'Style_tb
381 377
         '
382 378
         Me.Style_tb.ForeColor = System.Drawing.Color.Black
383
-        Me.Style_tb.Location = New System.Drawing.Point(152, 3)
379
+        Me.Style_tb.Location = New System.Drawing.Point(116, 28)
384 380
         Me.Style_tb.Name = "Style_tb"
385
-        Me.Style_tb.Size = New System.Drawing.Size(284, 23)
381
+        Me.Style_tb.Size = New System.Drawing.Size(168, 23)
386 382
         Me.Style_tb.TabIndex = 556
387 383
         '
388 384
         'TVW_tb
389 385
         '
390 386
         Me.TVW_tb.ForeColor = System.Drawing.Color.Black
391
-        Me.TVW_tb.Location = New System.Drawing.Point(152, 27)
387
+        Me.TVW_tb.Location = New System.Drawing.Point(116, 52)
392 388
         Me.TVW_tb.Name = "TVW_tb"
393
-        Me.TVW_tb.Size = New System.Drawing.Size(284, 23)
389
+        Me.TVW_tb.Size = New System.Drawing.Size(168, 23)
394 390
         Me.TVW_tb.TabIndex = 557
395 391
         '
396 392
         'Color_tb
397 393
         '
398 394
         Me.Color_tb.ForeColor = System.Drawing.Color.Black
399
-        Me.Color_tb.Location = New System.Drawing.Point(152, 51)
395
+        Me.Color_tb.Location = New System.Drawing.Point(346, 3)
400 396
         Me.Color_tb.Name = "Color_tb"
401
-        Me.Color_tb.Size = New System.Drawing.Size(284, 23)
397
+        Me.Color_tb.Size = New System.Drawing.Size(168, 23)
402 398
         Me.Color_tb.TabIndex = 558
403 399
         '
400
+        '全部資料_ch
401
+        '
402
+        Me.全部資料_ch.AutoSize = True
403
+        Me.全部資料_ch.Location = New System.Drawing.Point(768, 28)
404
+        Me.全部資料_ch.Name = "全部資料_ch"
405
+        Me.全部資料_ch.Size = New System.Drawing.Size(75, 20)
406
+        Me.全部資料_ch.TabIndex = 569
407
+        Me.全部資料_ch.Text = "全部資料"
408
+        Me.全部資料_ch.UseVisualStyleBackColor = True
409
+        '
410
+        '其他LOGO_ch
411
+        '
412
+        Me.其他LOGO_ch.AutoSize = True
413
+        Me.其他LOGO_ch.Location = New System.Drawing.Point(768, 3)
414
+        Me.其他LOGO_ch.Name = "其他LOGO_ch"
415
+        Me.其他LOGO_ch.Size = New System.Drawing.Size(86, 20)
416
+        Me.其他LOGO_ch.TabIndex = 568
417
+        Me.其他LOGO_ch.Text = "其他LOGO"
418
+        Me.其他LOGO_ch.UseVisualStyleBackColor = True
419
+        '
420
+        '中底LOGO_ch
421
+        '
422
+        Me.中底LOGO_ch.AutoSize = True
423
+        Me.中底LOGO_ch.Location = New System.Drawing.Point(679, 53)
424
+        Me.中底LOGO_ch.Name = "中底LOGO_ch"
425
+        Me.中底LOGO_ch.Size = New System.Drawing.Size(86, 20)
426
+        Me.中底LOGO_ch.TabIndex = 567
427
+        Me.中底LOGO_ch.Text = "中底LOGO"
428
+        Me.中底LOGO_ch.UseVisualStyleBackColor = True
429
+        '
430
+        '確認_產地標_ch
431
+        '
432
+        Me.確認_產地標_ch.AutoSize = True
433
+        Me.確認_產地標_ch.Location = New System.Drawing.Point(679, 28)
434
+        Me.確認_產地標_ch.Name = "確認_產地標_ch"
435
+        Me.確認_產地標_ch.Size = New System.Drawing.Size(92, 20)
436
+        Me.確認_產地標_ch.TabIndex = 566
437
+        Me.確認_產地標_ch.Text = "確認-產地標"
438
+        Me.確認_產地標_ch.UseVisualStyleBackColor = True
439
+        '
440
+        '確認_彩圖_ch
441
+        '
442
+        Me.確認_彩圖_ch.AutoSize = True
443
+        Me.確認_彩圖_ch.Location = New System.Drawing.Point(679, 3)
444
+        Me.確認_彩圖_ch.Name = "確認_彩圖_ch"
445
+        Me.確認_彩圖_ch.Size = New System.Drawing.Size(80, 20)
446
+        Me.確認_彩圖_ch.TabIndex = 565
447
+        Me.確認_彩圖_ch.Text = "確認-彩圖"
448
+        Me.確認_彩圖_ch.UseVisualStyleBackColor = True
449
+        '
404 450
         '開發_BW_ch
405 451
         '
406 452
         Me.開發_BW_ch.AutoSize = True
407
-        Me.開發_BW_ch.Location = New System.Drawing.Point(439, 3)
453
+        Me.開發_BW_ch.Location = New System.Drawing.Point(516, 4)
408 454
         Me.開發_BW_ch.Name = "開發_BW_ch"
409 455
         Me.開發_BW_ch.Size = New System.Drawing.Size(80, 20)
410 456
         Me.開發_BW_ch.TabIndex = 559
@@ -414,112 +460,89 @@ Partial Class 鞋型圖片資料庫
414 460
         '開發_ILR_ch
415 461
         '
416 462
         Me.開發_ILR_ch.AutoSize = True
417
-        Me.開發_ILR_ch.Location = New System.Drawing.Point(439, 28)
463
+        Me.開發_ILR_ch.Location = New System.Drawing.Point(516, 29)
418 464
         Me.開發_ILR_ch.Name = "開發_ILR_ch"
419 465
         Me.開發_ILR_ch.Size = New System.Drawing.Size(73, 20)
420 466
         Me.開發_ILR_ch.TabIndex = 560
421 467
         Me.開發_ILR_ch.Text = "開發-ILR"
422 468
         Me.開發_ILR_ch.UseVisualStyleBackColor = True
423 469
         '
424
-        '全部資料_ch
425
-        '
426
-        Me.全部資料_ch.AutoSize = True
427
-        Me.全部資料_ch.Location = New System.Drawing.Point(623, 54)
428
-        Me.全部資料_ch.Name = "全部資料_ch"
429
-        Me.全部資料_ch.Size = New System.Drawing.Size(75, 20)
430
-        Me.全部資料_ch.TabIndex = 569
431
-        Me.全部資料_ch.Text = "全部資料"
432
-        Me.全部資料_ch.UseVisualStyleBackColor = True
433
-        '
434 470
         '開發_FLR_ch
435 471
         '
436 472
         Me.開發_FLR_ch.AutoSize = True
437
-        Me.開發_FLR_ch.Location = New System.Drawing.Point(439, 53)
473
+        Me.開發_FLR_ch.Location = New System.Drawing.Point(516, 55)
438 474
         Me.開發_FLR_ch.Name = "開發_FLR_ch"
439 475
         Me.開發_FLR_ch.Size = New System.Drawing.Size(76, 20)
440 476
         Me.開發_FLR_ch.TabIndex = 561
441 477
         Me.開發_FLR_ch.Text = "開發-FLR"
442 478
         Me.開發_FLR_ch.UseVisualStyleBackColor = True
443 479
         '
444
-        '其他LOGO_ch
445
-        '
446
-        Me.其他LOGO_ch.AutoSize = True
447
-        Me.其他LOGO_ch.Location = New System.Drawing.Point(623, 29)
448
-        Me.其他LOGO_ch.Name = "其他LOGO_ch"
449
-        Me.其他LOGO_ch.Size = New System.Drawing.Size(86, 20)
450
-        Me.其他LOGO_ch.TabIndex = 568
451
-        Me.其他LOGO_ch.Text = "其他LOGO"
452
-        Me.其他LOGO_ch.UseVisualStyleBackColor = True
453
-        '
454 480
         '開發_SMS_ch
455 481
         '
456 482
         Me.開發_SMS_ch.AutoSize = True
457
-        Me.開發_SMS_ch.Location = New System.Drawing.Point(529, 3)
483
+        Me.開發_SMS_ch.Location = New System.Drawing.Point(598, 29)
458 484
         Me.開發_SMS_ch.Name = "開發_SMS_ch"
459 485
         Me.開發_SMS_ch.Size = New System.Drawing.Size(82, 20)
460 486
         Me.開發_SMS_ch.TabIndex = 562
461 487
         Me.開發_SMS_ch.Text = "開發-SMS"
462 488
         Me.開發_SMS_ch.UseVisualStyleBackColor = True
463 489
         '
464
-        '中底LOGO_ch
465
-        '
466
-        Me.中底LOGO_ch.AutoSize = True
467
-        Me.中底LOGO_ch.Location = New System.Drawing.Point(623, 4)
468
-        Me.中底LOGO_ch.Name = "中底LOGO_ch"
469
-        Me.中底LOGO_ch.Size = New System.Drawing.Size(86, 20)
470
-        Me.中底LOGO_ch.TabIndex = 567
471
-        Me.中底LOGO_ch.Text = "中底LOGO"
472
-        Me.中底LOGO_ch.UseVisualStyleBackColor = True
473
-        '
474 490
         '開發_SMU_ch
475 491
         '
476 492
         Me.開發_SMU_ch.AutoSize = True
477
-        Me.開發_SMU_ch.Location = New System.Drawing.Point(439, 78)
493
+        Me.開發_SMU_ch.Location = New System.Drawing.Point(598, 4)
478 494
         Me.開發_SMU_ch.Name = "開發_SMU_ch"
479 495
         Me.開發_SMU_ch.Size = New System.Drawing.Size(84, 20)
480 496
         Me.開發_SMU_ch.TabIndex = 563
481 497
         Me.開發_SMU_ch.Text = "開發-SMU"
482 498
         Me.開發_SMU_ch.UseVisualStyleBackColor = True
483 499
         '
484
-        '確認_產地標_ch
485
-        '
486
-        Me.確認_產地標_ch.AutoSize = True
487
-        Me.確認_產地標_ch.Location = New System.Drawing.Point(529, 78)
488
-        Me.確認_產地標_ch.Name = "確認_產地標_ch"
489
-        Me.確認_產地標_ch.Size = New System.Drawing.Size(92, 20)
490
-        Me.確認_產地標_ch.TabIndex = 566
491
-        Me.確認_產地標_ch.Text = "確認-產地標"
492
-        Me.確認_產地標_ch.UseVisualStyleBackColor = True
493
-        '
494 500
         '確認_BW_ch
495 501
         '
496 502
         Me.確認_BW_ch.AutoSize = True
497
-        Me.確認_BW_ch.Location = New System.Drawing.Point(529, 28)
503
+        Me.確認_BW_ch.Location = New System.Drawing.Point(598, 54)
498 504
         Me.確認_BW_ch.Name = "確認_BW_ch"
499 505
         Me.確認_BW_ch.Size = New System.Drawing.Size(80, 20)
500 506
         Me.確認_BW_ch.TabIndex = 564
501 507
         Me.確認_BW_ch.Text = "確認-B/W"
502 508
         Me.確認_BW_ch.UseVisualStyleBackColor = True
503 509
         '
504
-        '確認_彩圖_ch
510
+        'Label6
505 511
         '
506
-        Me.確認_彩圖_ch.AutoSize = True
507
-        Me.確認_彩圖_ch.Location = New System.Drawing.Point(529, 53)
508
-        Me.確認_彩圖_ch.Name = "確認_彩圖_ch"
509
-        Me.確認_彩圖_ch.Size = New System.Drawing.Size(80, 20)
510
-        Me.確認_彩圖_ch.TabIndex = 565
511
-        Me.確認_彩圖_ch.Text = "確認-彩圖"
512
-        Me.確認_彩圖_ch.UseVisualStyleBackColor = True
512
+        Me.Label6.AutoSize = True
513
+        Me.Label6.Location = New System.Drawing.Point(69, 6)
514
+        Me.Label6.Name = "Label6"
515
+        Me.Label6.Size = New System.Drawing.Size(49, 16)
516
+        Me.Label6.TabIndex = 1641
517
+        Me.Label6.Text = "Season"
518
+        '
519
+        'Label2
520
+        '
521
+        Me.Label2.AutoSize = True
522
+        Me.Label2.Location = New System.Drawing.Point(69, 31)
523
+        Me.Label2.Name = "Label2"
524
+        Me.Label2.Size = New System.Drawing.Size(35, 16)
525
+        Me.Label2.TabIndex = 552
526
+        Me.Label2.Text = "Style"
527
+        '
528
+        'Label3
529
+        '
530
+        Me.Label3.AutoSize = True
531
+        Me.Label3.Location = New System.Drawing.Point(69, 55)
532
+        Me.Label3.Name = "Label3"
533
+        Me.Label3.Size = New System.Drawing.Size(43, 16)
534
+        Me.Label3.TabIndex = 553
535
+        Me.Label3.Text = "TVW#"
513 536
         '
514 537
         'TabPage2
515 538
         '
516 539
         Me.TabPage2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
540
+        Me.TabPage2.Controls.Add(Me.讀取料夾路徑_bt)
517 541
         Me.TabPage2.Controls.Add(Me.Label8)
518 542
         Me.TabPage2.Controls.Add(Me.修改圖片_ch)
519 543
         Me.TabPage2.Controls.Add(Me.TextBox7)
520 544
         Me.TabPage2.Controls.Add(Me.Label1)
521 545
         Me.TabPage2.Controls.Add(Me.圖片修改存檔_bt)
522
-        Me.TabPage2.Controls.Add(Me.讀取料夾路徑_bt)
523 546
         Me.TabPage2.Controls.Add(Me.WebBrowser1)
524 547
         Me.TabPage2.Controls.Add(Me.WebBrowser2)
525 548
         Me.TabPage2.Controls.Add(Me.檔案名稱_tb)
@@ -528,7 +551,7 @@ Partial Class 鞋型圖片資料庫
528 551
         Me.TabPage2.Location = New System.Drawing.Point(4, 28)
529 552
         Me.TabPage2.Name = "TabPage2"
530 553
         Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
531
-        Me.TabPage2.Size = New System.Drawing.Size(1066, 663)
554
+        Me.TabPage2.Size = New System.Drawing.Size(997, 668)
532 555
         Me.TabPage2.TabIndex = 1
533 556
         Me.TabPage2.Text = "圖片控制項"
534 557
         Me.TabPage2.UseVisualStyleBackColor = True
@@ -632,5 +655,7 @@ Partial Class 鞋型圖片資料庫
632 655
     Friend WithEvents TabPage2 As TabPage
633 656
     Friend WithEvents 字體_NUD As NumericUpDown
634 657
     Friend WithEvents 字體大小調整_lb As Label
658
+    Friend WithEvents 季節_tb As TextBox
659
+    Friend WithEvents Label6 As Label
635 660
 End Class
636 661
 

+ 74
- 156
TENDEN-MES-SYS/圖片資料庫管理/鞋型圖片系統/鞋型圖片資料庫.vb Ver arquivo

@@ -3,107 +3,66 @@ Imports System.IO
3 3
 Imports System.Net
4 4
 Public Class 鞋型圖片資料庫
5 5
     Public Property Credentials As ICredentials
6
-    ReadOnly ds As New DataSet : ReadOnly ds1 As New DataSet
6
+    ReadOnly ds, ds1 As New DataSet
7 7
     Dim aa1 As MsgBoxResult
8 8
     Dim TT As String
9 9
     Private Sub Set_DGV1載入前設定()
10
-        Try
11
-            圖片庫一_dgv.DataSource = Nothing : ds.Clear()
12
-            圖片庫一_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
13
-            圖片庫一_dgv.ColumnHeadersHeight = 25
14
-            圖片庫一_dgv.AllowUserToAddRows = False
15
-            ConnOpen()
16
-        Catch ex As Exception
17
-            MsgBox(ex.Message)
18
-        End Try
10
+        圖片庫一_dgv.DataSource = Nothing : ds.Clear()
11
+        圖片庫一_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
12
+        圖片庫一_dgv.ColumnHeadersHeight = 25 : 圖片庫一_dgv.AllowUserToAddRows = False : ConnOpen()
19 13
     End Sub
20 14
     Private Sub Set_DGV1載入後設定()
21 15
         CmdSet_For_DGV() : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds) : 圖片庫一_dgv.DataSource = ds.Tables(0) : conn.Close()
22 16
     End Sub
23 17
     Private Sub Set_圖片清單()
24
-        Try
25
-            Set_DGV1載入前設定()
26
-            SQL_圖片庫一清單()
27
-            Set_DGV1載入後設定()
28
-        Catch ex As Exception
29
-            MsgBox(ex.Message)
30
-        End Try
18
+        Set_DGV1載入前設定() : SQL_圖片庫一清單() : Set_DGV1載入後設定()
31 19
     End Sub
32 20
     Private Sub Set_grid()
33
-        Try
34
-            圖片庫一_dgv.Columns(0).FillWeight = 120 : 圖片庫一_dgv.Columns(1).FillWeight = 90 : 圖片庫一_dgv.Columns(2).FillWeight = 80 : 圖片庫一_dgv.Columns(3).FillWeight = 80
35
-            圖片庫一_dgv.Columns(4).Visible = False
36
-        Catch ex As Exception
37
-            MsgBox(ex.Message)
38
-        End Try
21
+        圖片庫一_dgv.Columns(0).FillWeight = 90 : 圖片庫一_dgv.Columns(1).FillWeight = 120 : 圖片庫一_dgv.Columns(2).FillWeight = 90 : 圖片庫一_dgv.Columns(3).FillWeight = 80
22
+        圖片庫一_dgv.Columns(4).FillWeight = 80 : 圖片庫一_dgv.Columns(5).Visible = False
39 23
     End Sub
40 24
     Private Sub 鞋型圖片資料庫_Load(sender As Object, e As EventArgs) Handles MyBase.Load
41
-        Try
42
-            Me.MdiParent = TENDEN_MES_SYS : Me.WindowState = 2 : Me.AutoScroll = True
43
-            Target1 = Target & AA(1) & "/"
44
-            WebBrowser1.Url = New Uri(Target1)
45
-            TextBox1.Visible = False : TextBox2.Visible = False
46
-            全部資料_ch.Checked = True : TextBox7.Visible = False
47
-            Set_圖片清單() : Set_grid()
48
-            If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
49
-                WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
50
-            End If
51
-            If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then
52
-                字體_NUD.Value = 9
53
-            ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then
54
-                字體_NUD.Value = 7.6
55
-            End If
56
-        Catch ex As Exception
57
-            MsgBox(ex.Message)
58
-        End Try
25
+        Me.MdiParent = TENDEN_MES_SYS : Me.WindowState = 2 : Me.AutoScroll = True
26
+        Target1 = Target & AA(1) & "/"
27
+        WebBrowser1.Url = New Uri(Target1)
28
+        TextBox1.Visible = False : TextBox2.Visible = False
29
+        全部資料_ch.Checked = True : TextBox7.Visible = False
30
+        Set_圖片清單() : Set_grid()
31
+        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then : WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath) : End If
32
+        If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then : 字體_NUD.Value = 9
33
+        ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then : 字體_NUD.Value = 7.6 : End If
59 34
     End Sub
60 35
     Private Sub 鞋型圖片資料庫_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
61
-        Try
62
-            If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then
63
-                字體_NUD.Value = 9
64
-            ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then
65
-                字體_NUD.Value = 7.6
66
-            End If
67
-        Catch ex As Exception
68
-            MsgBox(ex.Message)
69
-        End Try
36
+        If TENDEN_MES_SYS.Size.Width > 1440 And TENDEN_MES_SYS.Size.Height > 900 Then : 字體_NUD.Value = 9
37
+        ElseIf TENDEN_MES_SYS.Size.Width <= 1440 And TENDEN_MES_SYS.Size.Height <= 900 Then : 字體_NUD.Value = 7.6 : End If
70 38
     End Sub
71 39
     Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
72 40
         圖片庫一_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
73 41
     End Sub
74 42
     Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 圖片庫一_dgv.CellClick
75
-        Try
76
-            If e.RowIndex = -1 Then : Else
77
-                Style_tb.Text = 圖片庫一_dgv(0, e.RowIndex).Value.ToString
78
-                TVW_tb.Text = 圖片庫一_dgv(1, e.RowIndex).Value.ToString
79
-                Color_tb.Text = 圖片庫一_dgv(2, e.RowIndex).Value.ToString
80
-                Category_cb.Text = 圖片庫一_dgv(3, e.RowIndex).Value.ToString
81
-                TextBox1.Text = 圖片庫一_dgv(4, e.RowIndex).Value.ToString
82
-                SQL_指定圖片庫一()
83
-                PictureBox1.BackgroundImage = Nothing
84
-                While dr.Read() = True
85
-                    Dim unused As Byte() = New Byte(-1) {}
86
-                    Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
87
-                    Dim oStream As New MemoryStream(bytes)
88
-                    PictureBox1.Image = Bitmap.FromStream(oStream)
89
-                End While
90
-                conn.Close()
91
-                PictureBox1.SizeMode = 4
92
-            End If
93
-        Catch ex As Exception
94
-            MsgBox(ex.Message)
95
-        End Try
43
+        If e.RowIndex = -1 Then : Else
44
+            季節_tb.Text = 圖片庫一_dgv(0, e.RowIndex).Value.ToString : Style_tb.Text = 圖片庫一_dgv(1, e.RowIndex).Value.ToString
45
+            TVW_tb.Text = 圖片庫一_dgv(2, e.RowIndex).Value.ToString : Color_tb.Text = 圖片庫一_dgv(3, e.RowIndex).Value.ToString
46
+            Category_cb.Text = 圖片庫一_dgv(4, e.RowIndex).Value.ToString : TextBox1.Text = 圖片庫一_dgv(5, e.RowIndex).Value.ToString
47
+            SQL_指定圖片庫一()
48
+            PictureBox1.BackgroundImage = Nothing
49
+            While dr.Read() = True
50
+                Dim unused As Byte() = New Byte(-1) {}
51
+                Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
52
+                Dim oStream As New MemoryStream(bytes)
53
+                PictureBox1.Image = Bitmap.FromStream(oStream)
54
+            End While : conn.Close()
55
+            PictureBox1.SizeMode = 4
56
+        End If
96 57
     End Sub
97 58
     Private Sub Button24_Click(sender As Object, e As EventArgs) Handles 圖片修改存檔_bt.Click
98 59
         Try
99 60
             conn.Close()
100
-            ConnOpen()
101 61
             If 修改圖片_ch.Checked = False Then
102
-                SQL_修改圖片庫一()
103
-                CmdSet_For_dr() : conn.Close()
62
+                ConnOpen() : SQL_修改圖片庫一() : CmdSet_For_dr() : conn.Close()
104 63
             Else
105
-                SQL_修改圖片庫一1()
106
-                CmdSet_For_dr() : conn.Close()
64
+                If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_修改圖片庫一1_測試()
65
+                Else : SQL_修改圖片庫一1_正式() : End If : CmdSet_For_dr() : conn.Close()
107 66
                 '---FTP方式刪除檔案----------------------------------------------------------------------------------------------------------------------------------------------------------------------
108 67
                 Dim frq As FtpWebRequest, frp As FtpWebResponse, fcr As NetworkCredential
109 68
                 frq = CType(WebRequest.Create(New Uri(Target1 & 檔案名稱_tb.Text)), FtpWebRequest)
@@ -119,36 +78,26 @@ Public Class 鞋型圖片資料庫
119 78
             End If
120 79
             MsgBox("修改完成")
121 80
             Set_圖片清單() : Set_grid()
122
-        Catch ex As Exception
123
-            MsgBox(ex.Message)
124
-        End Try
81
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
125 82
     End Sub
126
-    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles 刪除_bt.Click
83
+    Private Sub 刪除_bt_Click(sender As Object, e As EventArgs) Handles 刪除_bt.Click
127 84
         Try
128 85
             aa1 = MsgBox("確定要刪除該筆資料?", MsgBoxStyle.OkCancel)
129 86
             If aa1 = MsgBoxResult.Ok Then
130
-                SQL_刪除圖片庫一() : conn.Close()
131
-                MsgBox("刪除完成")
132
-            End If
133
-            Set_圖片清單() : Set_grid()
134
-        Catch ex As Exception
135
-            MsgBox(ex.Message)
136
-        End Try
87
+                SQL_刪除圖片庫一() : conn.Close() : MsgBox("刪除完成")
88
+            End If : Set_圖片清單() : Set_grid()
89
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
137 90
     End Sub
138
-    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles 更新清單_bt.Click
91
+    Private Sub 更新清單_bt_Click(sender As Object, e As EventArgs) Handles 更新清單_bt.Click
139 92
         Set_圖片清單() : Set_grid()
140 93
     End Sub
141
-    Private Sub Button6_Click(sender As Object, e As EventArgs) Handles 查詢_bt.Click
94
+    Private Sub 查詢_bt_Click(sender As Object, e As EventArgs) Handles 查詢_bt.Click
142 95
         Try
143 96
             PA = InputBox("請輸入關鍵字")
144
-            Set_DGV1載入前設定()
145
-            SQL_查詢圖片庫一()
146
-            Set_DGV1載入後設定() : Set_grid()
147
-        Catch ex As Exception
148
-            MsgBox(ex.Message)
149
-        End Try
97
+            Set_DGV1載入前設定() : SQL_查詢圖片庫一() : Set_DGV1載入後設定() : Set_grid()
98
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
150 99
     End Sub
151
-    Private Sub CheckBox12_CheckedChanged(sender As Object, e As EventArgs) Handles 全部資料_ch.Click
100
+    Private Sub 全部資料_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 全部資料_ch.Click
152 101
         Try
153 102
             If 全部資料_ch.Checked = True Then
154 103
                 全部資料_ch.Checked = True : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -159,11 +108,9 @@ Public Class 鞋型圖片資料庫
159 108
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
160 109
                 Set_圖片清單() : Set_grid()
161 110
             End If
162
-        Catch ex As Exception
163
-            MsgBox(ex.Message)
164
-        End Try
111
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
165 112
     End Sub
166
-    Private Sub CheckBox2_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_BW_ch.Click
113
+    Private Sub 開發_BW_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_BW_ch.Click
167 114
         Try
168 115
             If 開發_BW_ch.Checked = True Then
169 116
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = True : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -176,11 +123,9 @@ Public Class 鞋型圖片資料庫
176 123
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
177 124
                 Set_圖片清單() : Set_grid()
178 125
             End If
179
-        Catch ex As Exception
180
-            MsgBox(ex.Message)
181
-        End Try
126
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
182 127
     End Sub
183
-    Private Sub CheckBox3_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_ILR_ch.Click
128
+    Private Sub 開發_ILR_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_ILR_ch.Click
184 129
         Try
185 130
             If 開發_ILR_ch.Checked = True Then
186 131
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = True : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -193,11 +138,9 @@ Public Class 鞋型圖片資料庫
193 138
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
194 139
                 Set_圖片清單() : Set_grid()
195 140
             End If
196
-        Catch ex As Exception
197
-            MsgBox(ex.Message)
198
-        End Try
141
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
199 142
     End Sub
200
-    Private Sub CheckBox4_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_FLR_ch.Click
143
+    Private Sub 開發_FLR_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_FLR_ch.Click
201 144
         Try
202 145
             If 開發_FLR_ch.Checked = True Then
203 146
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = True : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -210,11 +153,9 @@ Public Class 鞋型圖片資料庫
210 153
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
211 154
                 Set_圖片清單() : Set_grid()
212 155
             End If
213
-        Catch ex As Exception
214
-            MsgBox(ex.Message)
215
-        End Try
156
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
216 157
     End Sub
217
-    Private Sub CheckBox5_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_SMS_ch.Click
158
+    Private Sub 開發_SMS_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_SMS_ch.Click
218 159
         Try
219 160
             If 開發_SMS_ch.Checked = True Then
220 161
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = True : 開發_SMU_ch.Checked = False
@@ -227,11 +168,9 @@ Public Class 鞋型圖片資料庫
227 168
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
228 169
                 Set_圖片清單() : Set_grid()
229 170
             End If
230
-        Catch ex As Exception
231
-            MsgBox(ex.Message)
232
-        End Try
171
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
233 172
     End Sub
234
-    Private Sub CheckBox6_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_SMU_ch.Click
173
+    Private Sub 開發_SMU_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 開發_SMU_ch.Click
235 174
         Try
236 175
             If 開發_SMU_ch.Checked = True Then
237 176
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = True
@@ -244,11 +183,9 @@ Public Class 鞋型圖片資料庫
244 183
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
245 184
                 Set_圖片清單() : Set_grid()
246 185
             End If
247
-        Catch ex As Exception
248
-            MsgBox(ex.Message)
249
-        End Try
186
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
250 187
     End Sub
251
-    Private Sub CheckBox7_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_BW_ch.Click
188
+    Private Sub 確認_BW_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_BW_ch.Click
252 189
         Try
253 190
             If 確認_BW_ch.Checked = True Then
254 191
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -261,11 +198,9 @@ Public Class 鞋型圖片資料庫
261 198
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
262 199
                 Set_圖片清單() : Set_grid()
263 200
             End If
264
-        Catch ex As Exception
265
-            MsgBox(ex.Message)
266
-        End Try
201
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
267 202
     End Sub
268
-    Private Sub CheckBox8_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_彩圖_ch.Click
203
+    Private Sub 確認_彩圖_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_彩圖_ch.Click
269 204
         Try
270 205
             If 確認_彩圖_ch.Checked = True Then
271 206
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -278,11 +213,9 @@ Public Class 鞋型圖片資料庫
278 213
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
279 214
                 Set_圖片清單() : Set_grid()
280 215
             End If
281
-        Catch ex As Exception
282
-            MsgBox(ex.Message)
283
-        End Try
216
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
284 217
     End Sub
285
-    Private Sub CheckBox9_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_產地標_ch.Click
218
+    Private Sub 確認_產地標_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 確認_產地標_ch.Click
286 219
         Try
287 220
             If 確認_產地標_ch.Checked = True Then
288 221
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -295,11 +228,9 @@ Public Class 鞋型圖片資料庫
295 228
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
296 229
                 Set_圖片清單() : Set_grid()
297 230
             End If
298
-        Catch ex As Exception
299
-            MsgBox(ex.Message)
300
-        End Try
231
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
301 232
     End Sub
302
-    Private Sub CheckBox10_CheckedChanged(sender As Object, e As EventArgs) Handles 中底LOGO_ch.Click
233
+    Private Sub 中底LOGO_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 中底LOGO_ch.Click
303 234
         Try
304 235
             If 中底LOGO_ch.Checked = True Then
305 236
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -312,11 +243,9 @@ Public Class 鞋型圖片資料庫
312 243
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
313 244
                 Set_圖片清單() : Set_grid()
314 245
             End If
315
-        Catch ex As Exception
316
-            MsgBox(ex.Message)
317
-        End Try
246
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
318 247
     End Sub
319
-    Private Sub CheckBox11_CheckedChanged(sender As Object, e As EventArgs) Handles 其他LOGO_ch.Click
248
+    Private Sub 其他LOGO_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 其他LOGO_ch.Click
320 249
         Try
321 250
             If 其他LOGO_ch.Checked = True Then
322 251
                 全部資料_ch.Checked = False : 開發_BW_ch.Checked = False : 開發_ILR_ch.Checked = False : 開發_FLR_ch.Checked = False : 開發_SMS_ch.Checked = False : 開發_SMU_ch.Checked = False
@@ -329,12 +258,10 @@ Public Class 鞋型圖片資料庫
329 258
                 確認_BW_ch.Checked = False : 確認_彩圖_ch.Checked = False : 確認_產地標_ch.Checked = False : 中底LOGO_ch.Checked = False : 其他LOGO_ch.Checked = False
330 259
                 Set_圖片清單() : Set_grid()
331 260
             End If
332
-        Catch ex As Exception
333
-            MsgBox(ex.Message)
334
-        End Try
261
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
335 262
     End Sub
336 263
 
337
-    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles 下載圖片_bt.Click
264
+    Private Sub 下載圖片_bt_Click(sender As Object, e As EventArgs) Handles 下載圖片_bt.Click
338 265
         Try
339 266
             If TextBox1.Text = "" Then
340 267
                 MsgBox("選擇要下載的圖片")
@@ -361,12 +288,9 @@ Public Class 鞋型圖片資料庫
361 288
                 檔案名稱_tb.Text = ""
362 289
                 MsgBox("下載完成")
363 290
             End If
364
-        Catch ex As Exception
365
-            MsgBox(ex.Message)
366
-        End Try
291
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
367 292
     End Sub
368
-
369
-    Private Sub TextBox4_DragEnter(sender As Object, e As DragEventArgs) Handles 檔案名稱_tb.DragEnter
293
+    Private Sub 檔案名稱_tb_DragEnter(sender As Object, e As DragEventArgs) Handles 檔案名稱_tb.DragEnter
370 294
         Try
371 295
             If e.Data.GetDataPresent(DataFormats.FileDrop) Then
372 296
                 Dim files As String()
@@ -401,19 +325,13 @@ Public Class 鞋型圖片資料庫
401 325
                     End If
402 326
                 Next
403 327
             End If
404
-        Catch ex As Exception
405
-            MsgBox(ex.Message)
406
-        End Try
328
+        Catch ex As Exception : MsgBox(ex.Message) : End Try
407 329
     End Sub
408
-    Private Sub TextBox4_DragDrop(ByVal sender As Object, ByVal e As DragEventArgs) Handles 檔案名稱_tb.DragDrop
330
+    Private Sub 檔案名稱_tb_DragDrop(ByVal sender As Object, ByVal e As DragEventArgs) Handles 檔案名稱_tb.DragDrop
409 331
         Dim files As Array = e.Data.GetData(DataFormats.FileDrop)
410
-        For Each file As String In files
411
-            檔案名稱_tb.AppendText(file + Environment.NewLine)
412
-        Next
332
+        For Each file As String In files : 檔案名稱_tb.AppendText(file + Environment.NewLine) : Next
413 333
     End Sub
414
-    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles 讀取料夾路徑_bt.Click
415
-        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
416
-            WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
417
-        End If
334
+    Private Sub 讀取料夾路徑_bt_Click(sender As Object, e As EventArgs) Handles 讀取料夾路徑_bt.Click
335
+        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then : WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath) : End If
418 336
     End Sub
419 337
 End Class

+ 2
- 6
TENDEN-MES-SYS/圖片資料庫管理/驗貨報告系統/驗貨報告圖片導入資料庫.vb Ver arquivo

@@ -110,12 +110,8 @@ Public Class 驗貨報告圖片導入資料庫
110 110
             End If
111 111
 
112 112
 
113
-            If Strings.Left(Target1, 18) = "ftp://106.1.50.79/" Then
114
-                SQL_新增驗貨報告編號()
115
-            Else
116
-                SQL_新增驗貨報告圖庫()
117
-            End If
118
-            conn.Close()
113
+            If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_新增驗貨報告編號_測試()
114
+            Else : SQL_新增驗貨報告圖庫_正式() : End If : conn.Close()
119 115
 
120 116
             DTP = Format(驗貨日期_dtp.Value, "yyyy/MM/dd")
121 117
             SQL_修改驗貨報告圖庫() : conn.Close()

+ 2
- 1
TENDEN-MES-SYS/圖片資料庫管理/驗貨報告系統/驗貨報告資料庫.vb Ver arquivo

@@ -282,7 +282,8 @@ Public Class 驗貨報告資料庫
282 282
                 If TextBox6.Text = "" Then
283 283
                     MsgBox("請確認圖片已準備完畢")
284 284
                 Else
285
-                    SQL_修改驗貨報告圖庫1() : conn.Close()
285
+                    If Strings.Left(Target1, 18) = "ftp://106.1.48.106" Then : SQL_修改驗貨報告圖庫1_測試()
286
+                    Else : SQL_修改驗貨報告圖庫1_正式() : End If : conn.Close()
286 287
                     '---FTP方式刪除檔案----------------------------------------------------------------------------------------------------------------------------------------------------------------------
287 288
                     Dim frq As FtpWebRequest, frp As FtpWebResponse, fcr As NetworkCredential
288 289
                     frq = CType(WebRequest.Create(New Uri(Target1 & TextBox6.Text)), FtpWebRequest)

+ 20
- 20
TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.Designer.vb Ver arquivo

@@ -22,12 +22,12 @@ Partial Class 中文樣品單
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 31
         Me.Label1 = New System.Windows.Forms.Label()
32 32
         Me.Label2 = New System.Windows.Forms.Label()
33 33
         Me.Label3 = New System.Windows.Forms.Label()
@@ -459,9 +459,9 @@ Partial Class 中文樣品單
459 459
         '
460 460
         Me.PictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
461 461
         Me.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
462
-        Me.PictureBox2.Location = New System.Drawing.Point(670, 4)
462
+        Me.PictureBox2.Location = New System.Drawing.Point(670, 3)
463 463
         Me.PictureBox2.Name = "PictureBox2"
464
-        Me.PictureBox2.Size = New System.Drawing.Size(343, 208)
464
+        Me.PictureBox2.Size = New System.Drawing.Size(343, 209)
465 465
         Me.PictureBox2.TabIndex = 200
466 466
         Me.PictureBox2.TabStop = False
467 467
         '
@@ -484,8 +484,8 @@ Partial Class 中文樣品單
484 484
         '
485 485
         '清單_dgv
486 486
         '
487
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
488
-        Me.清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
487
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
488
+        Me.清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
489 489
         Me.清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
490 490
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
491 491
         Me.清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -690,8 +690,8 @@ Partial Class 中文樣品單
690 690
         '
691 691
         '圖片1_dgv
692 692
         '
693
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
694
-        Me.圖片1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
693
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
694
+        Me.圖片1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
695 695
         Me.圖片1_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
696 696
         Me.圖片1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
697 697
         Me.圖片1_dgv.Location = New System.Drawing.Point(1016, 4)
@@ -703,15 +703,15 @@ Partial Class 中文樣品單
703 703
         '
704 704
         '圖片2_dgv
705 705
         '
706
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
707
-        Me.圖片2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
706
+        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
707
+        Me.圖片2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
708 708
         Me.圖片2_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
709 709
         Me.圖片2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
710 710
         Me.圖片2_dgv.Location = New System.Drawing.Point(1016, 4)
711 711
         Me.圖片2_dgv.Name = "圖片2_dgv"
712 712
         Me.圖片2_dgv.RowHeadersWidth = 5
713
-        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
714
-        Me.圖片2_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
713
+        DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
714
+        Me.圖片2_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
715 715
         Me.圖片2_dgv.RowTemplate.Height = 24
716 716
         Me.圖片2_dgv.Size = New System.Drawing.Size(900, 208)
717 717
         Me.圖片2_dgv.TabIndex = 343
@@ -1166,8 +1166,8 @@ Partial Class 中文樣品單
1166 1166
         '
1167 1167
         '圖片4_dgv
1168 1168
         '
1169
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1170
-        Me.圖片4_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
1169
+        DataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1170
+        Me.圖片4_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle11
1171 1171
         Me.圖片4_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1172 1172
         Me.圖片4_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1173 1173
         Me.圖片4_dgv.Location = New System.Drawing.Point(1016, 4)
@@ -1264,8 +1264,8 @@ Partial Class 中文樣品單
1264 1264
         '
1265 1265
         '圖片3_dgv
1266 1266
         '
1267
-        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1268
-        Me.圖片3_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
1267
+        DataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1268
+        Me.圖片3_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle12
1269 1269
         Me.圖片3_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1270 1270
         Me.圖片3_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1271 1271
         Me.圖片3_dgv.Location = New System.Drawing.Point(1016, 4)

+ 304
- 510
TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.vb
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 36
- 21
TENDEN-MES-SYS/製鞋技術資料管理/STYLE_資料管理.Designer.vb Ver arquivo

@@ -22,11 +22,11 @@ Partial Class STYLE_資料管理
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private  Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Me.STYLE_dgv = New System.Windows.Forms.DataGridView()
31 31
         Me.Label1 = New System.Windows.Forms.Label()
32 32
         Me.形體名稱_tb = New System.Windows.Forms.TextBox()
@@ -78,6 +78,7 @@ Partial Class STYLE_資料管理
78 78
         Me.WT_dtp = New System.Windows.Forms.DateTimePicker()
79 79
         Me.Label16 = New System.Windows.Forms.Label()
80 80
         Me.PictureBox1 = New System.Windows.Forms.PictureBox()
81
+        Me.PictureBox2 = New System.Windows.Forms.PictureBox()
81 82
         CType(Me.STYLE_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
82 83
         CType(Me.项目编号清单_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
83 84
         CType(Me.订单形體號清单_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -86,12 +87,13 @@ Partial Class STYLE_資料管理
86 87
         Me.Panel1.SuspendLayout()
87 88
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
88 89
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
90
+        CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
89 91
         Me.SuspendLayout()
90 92
         '
91 93
         'STYLE_dgv
92 94
         '
93
-        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
94
-        Me.STYLE_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
95
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
96
+        Me.STYLE_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
95 97
         Me.STYLE_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
96 98
         Me.STYLE_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
97 99
         Me.STYLE_dgv.Location = New System.Drawing.Point(4, 104)
@@ -249,19 +251,19 @@ Partial Class STYLE_資料管理
249 251
         '
250 252
         '订单形體號清单_dgv
251 253
         '
252
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
253
-        Me.订单形體號清单_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
254
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
255
+        Me.订单形體號清单_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
254 256
         Me.订单形體號清单_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
255 257
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
256 258
         Me.订单形體號清单_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
257
-        DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
258
-        DataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control
259
-        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
260
-        DataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black
261
-        DataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight
262
-        DataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText
263
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
264
-        Me.订单形體號清单_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle8
259
+        DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
260
+        DataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control
261
+        DataGridViewCellStyle3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
262
+        DataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black
263
+        DataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight
264
+        DataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText
265
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
266
+        Me.订单形體號清单_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle3
265 267
         Me.订单形體號清单_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
266 268
         Me.订单形體號清单_dgv.Location = New System.Drawing.Point(4, 27)
267 269
         Me.订单形體號清单_dgv.Name = "订单形體號清单_dgv"
@@ -284,8 +286,8 @@ Partial Class STYLE_資料管理
284 286
         '
285 287
         '订单形體號清单1_dgv
286 288
         '
287
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
288
-        Me.订单形體號清单1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
289
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
290
+        Me.订单形體號清单1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
289 291
         Me.订单形體號清单1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
290 292
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
291 293
         Me.订单形體號清单1_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -299,8 +301,8 @@ Partial Class STYLE_資料管理
299 301
         '
300 302
         '订单形體號清单2_dgv
301 303
         '
302
-        DataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer))
303
-        Me.订单形體號清单2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle10
304
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer))
305
+        Me.订单形體號清单2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
304 306
         Me.订单形體號清单2_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
305 307
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
306 308
         Me.订单形體號清单2_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -609,11 +611,22 @@ Partial Class STYLE_資料管理
609 611
         Me.PictureBox1.TabIndex = 1659
610 612
         Me.PictureBox1.TabStop = False
611 613
         '
614
+        'PictureBox2
615
+        '
616
+        Me.PictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
617
+        Me.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
618
+        Me.PictureBox2.Location = New System.Drawing.Point(1084, 2)
619
+        Me.PictureBox2.Name = "PictureBox2"
620
+        Me.PictureBox2.Size = New System.Drawing.Size(160, 99)
621
+        Me.PictureBox2.TabIndex = 1660
622
+        Me.PictureBox2.TabStop = False
623
+        '
612 624
         'STYLE_資料管理
613 625
         '
614 626
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
615 627
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
616 628
         Me.ClientSize = New System.Drawing.Size(1485, 701)
629
+        Me.Controls.Add(Me.PictureBox2)
617 630
         Me.Controls.Add(Me.PictureBox1)
618 631
         Me.Controls.Add(Me.WT清空_bt)
619 632
         Me.Controls.Add(Me.WT_dtp)
@@ -666,6 +679,7 @@ Partial Class STYLE_資料管理
666 679
         Me.Panel1.PerformLayout()
667 680
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
668 681
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
682
+        CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
669 683
         Me.ResumeLayout(False)
670 684
         Me.PerformLayout()
671 685
 
@@ -722,5 +736,6 @@ Partial Class STYLE_資料管理
722 736
     Friend WithEvents WT_dtp As DateTimePicker
723 737
     Friend WithEvents Label16 As Label
724 738
     Friend WithEvents PictureBox1 As PictureBox
739
+    Friend WithEvents PictureBox2 As PictureBox
725 740
 End Class
726 741
 

+ 14
- 3
TENDEN-MES-SYS/製鞋技術資料管理/STYLE_資料管理.vb Ver arquivo

@@ -268,10 +268,9 @@ Public Class STYLE_資料管理
268 268
             SQL_STYLE形體名稱()
269 269
             Set_DGV2載入後設定() : Set_grid2()
270 270
 
271
-            conn.Close()
272
-            ConnOpen()
271
+            conn.Close() : ConnOpen()
273 272
             SQL1 = "SELECT TOP(1) 圖片 FROM 圖片庫一 
274
-                    WHERE 形體號 LIKE '" & STYLE_dgv("形體號碼", e.RowIndex).Value.ToString & "' AND (類型 NOT LIKE '確認-產地標') AND (類型 NOT LIKE '%LOGO')
273
+                    WHERE 形體號 LIKE '" & STYLE_dgv("形體號碼", e.RowIndex).Value.ToString & "' AND (類型 LIKE '開發%')
275 274
                     ORDER BY 類型"
276 275
             CmdSet_For_dr()
277 276
             PictureBox1.Image = Nothing
@@ -280,6 +279,18 @@ Public Class STYLE_資料管理
280 279
                 Dim oStream As New MemoryStream(bytes) : PictureBox1.Image = Bitmap.FromStream(oStream)
281 280
             End While
282 281
             conn.Close() : PictureBox1.SizeMode = 4
282
+
283
+            conn.Close() : ConnOpen()
284
+            SQL1 = "SELECT TOP(1) 圖片 FROM 圖片庫一 
285
+                    WHERE 形體號 LIKE '" & STYLE_dgv("形體號碼", e.RowIndex).Value.ToString & "' AND (類型 LIKE '確認%') AND (類型 NOT LIKE '確認-產地標')
286
+                    ORDER BY 類型"
287
+            CmdSet_For_dr()
288
+            PictureBox2.Image = Nothing
289
+            While dr.Read() = True
290
+                Dim unused1 As Byte() = New Byte(-1) {} : Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
291
+                Dim oStream As New MemoryStream(bytes) : PictureBox2.Image = Bitmap.FromStream(oStream)
292
+            End While
293
+            conn.Close() : PictureBox2.SizeMode = 4
283 294
         Catch ex As Exception
284 295
             MsgBox(ex.Message)
285 296
         End Try

Carregando…
Cancelar
Salvar