B70340 3 лет назад
Родитель
Сommit
8f36ca34a1
50 измененных файлов: 1456 добавлений и 441 удалений
  1. Двоичные данные
      .vs/GA-ERP-SYS/v16/.suo
  2. 3
    3
      GA-ERP-SYS/App.config
  3. 57
    6
      GA-ERP-SYS/GA-ERP-SYS.Designer.vb
  4. 50
    27
      GA-ERP-SYS/GA-ERP-SYS.vb
  5. 18
    1
      GA-ERP-SYS/GA-ERP-SYS.vbproj
  6. 1
    1
      GA-ERP-SYS/LoginForm1.Designer.vb
  7. 41
    31
      GA-ERP-SYS/LoginForm1.vb
  8. 2
    2
      GA-ERP-SYS/Module/SQL_Module.vb
  9. 29
    13
      GA-ERP-SYS/Module/SQL_子系統管理.vb
  10. 17
    14
      GA-ERP-SYS/Module/SQL_資料庫系統管理.vb
  11. Двоичные данные
      GA-ERP-SYS/Module/cefsharp.common.93.1.111.nupkg
  12. 2
    1
      GA-ERP-SYS/Module/全域變數.vb
  13. 50
    0
      GA-ERP-SYS/My Project/Resources.Designer.vb
  14. 24
    9
      GA-ERP-SYS/My Project/Resources.resx
  15. 36
    36
      GA-ERP-SYS/My Project/Settings.Designer.vb
  16. Двоичные данные
      GA-ERP-SYS/bin/Debug/Auto.exe
  17. Двоичные данные
      GA-ERP-SYS/bin/Debug/GA-ERP-SYS.exe
  18. 3
    3
      GA-ERP-SYS/bin/Debug/GA-ERP-SYS.exe.config
  19. Двоичные данные
      GA-ERP-SYS/bin/Debug/GA-ERP-SYS.pdb
  20. 25
    0
      GA-ERP-SYS/bin/Debug/GA-ERP-SYS.xml
  21. Двоичные данные
      GA-ERP-SYS/bin/Debug/chromedriver.exe
  22. Двоичные данные
      GA-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  23. Двоичные данные
      GA-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  24. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.exe
  25. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.pdb
  26. 1
    1
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.CoreCompileInputs.cache
  27. 1
    0
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.FileListAbsolute.txt
  28. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.GenerateResource.cache
  29. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbprojAssemblyReference.cache
  30. 25
    0
      GA-ERP-SYS/obj/Debug/GA-ERP-SYS.xml
  31. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA_ERP_SYS.Resources.resources
  32. Двоичные данные
      GA-ERP-SYS/obj/Debug/GA_ERP_SYS.錯誤排除手冊.resources
  33. Двоичные данные
      GA-ERP-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  34. Двоичные данные
      GA-ERP-SYS/圖片/00aa2ad767a242ddc3099a90a5c7edb.png
  35. Двоичные данные
      GA-ERP-SYS/圖片/125425789654.png
  36. Двоичные данные
      GA-ERP-SYS/圖片/1631414926457.jpg
  37. Двоичные данные
      GA-ERP-SYS/圖片/47526ccfe6fd81c95524745ad12d1f7.png
  38. Двоичные данные
      GA-ERP-SYS/圖片/5bb63d4ef7f776f75809dfb810d8a16.png
  39. 103
    80
      GA-ERP-SYS/基本資料管理/基本資料.Designer.vb
  40. 12
    8
      GA-ERP-SYS/基本資料管理/基本資料.vb
  41. 49
    49
      GA-ERP-SYS/報表系統管理/帳務彙總計算表.Designer.vb
  42. 30
    18
      GA-ERP-SYS/報表系統管理/帳務彙總計算表.vb
  43. 106
    14
      GA-ERP-SYS/報表系統管理/帳務明細查詢表.Designer.vb
  44. 153
    19
      GA-ERP-SYS/報表系統管理/帳務明細查詢表.vb
  45. 305
    0
      GA-ERP-SYS/特殊操作功能/錯誤排除手冊.Designer.vb
  46. 120
    0
      GA-ERP-SYS/特殊操作功能/錯誤排除手冊.resx
  47. 19
    0
      GA-ERP-SYS/特殊操作功能/錯誤排除手冊.vb
  48. 89
    29
      GA-ERP-SYS/資料庫系統管理/系統使用者管理.Designer.vb
  49. 30
    30
      GA-ERP-SYS/資料庫系統管理/資料備份轉移.Designer.vb
  50. 55
    46
      GA-ERP-SYS/資料庫系統管理/資料備份轉移.vb

Двоичные данные
.vs/GA-ERP-SYS/v16/.suo Просмотреть файл


+ 3
- 3
GA-ERP-SYS/App.config Просмотреть файл

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

+ 57
- 6
GA-ERP-SYS/GA-ERP-SYS.Designer.vb Просмотреть файл

43
         Me.帳務彙總計算表_tsm = New System.Windows.Forms.ToolStripMenuItem()
43
         Me.帳務彙總計算表_tsm = New System.Windows.Forms.ToolStripMenuItem()
44
         Me.帳務明細查詢表_tsm = New System.Windows.Forms.ToolStripMenuItem()
44
         Me.帳務明細查詢表_tsm = New System.Windows.Forms.ToolStripMenuItem()
45
         Me.特殊操作功能_tsm = New System.Windows.Forms.ToolStripMenuItem()
45
         Me.特殊操作功能_tsm = New System.Windows.Forms.ToolStripMenuItem()
46
+        Me.錯誤排除手冊_tsm = New System.Windows.Forms.ToolStripMenuItem()
47
+        Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator()
46
         Me.流水帳自動導入_tsm = New System.Windows.Forms.ToolStripMenuItem()
48
         Me.流水帳自動導入_tsm = New System.Windows.Forms.ToolStripMenuItem()
47
         Me.流水帳手動輸入_tsm = New System.Windows.Forms.ToolStripMenuItem()
49
         Me.流水帳手動輸入_tsm = New System.Windows.Forms.ToolStripMenuItem()
48
         Me.商客資料導入_tsm = New System.Windows.Forms.ToolStripMenuItem()
50
         Me.商客資料導入_tsm = New System.Windows.Forms.ToolStripMenuItem()
67
         Me.計算機_bt = New System.Windows.Forms.Button()
69
         Me.計算機_bt = New System.Windows.Forms.Button()
68
         Me.計算機1_bt = New System.Windows.Forms.Button()
70
         Me.計算機1_bt = New System.Windows.Forms.Button()
69
         Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
71
         Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
72
+        Me.歷史資料查詢_tsm = New System.Windows.Forms.ToolStripMenuItem()
73
+        Me.ToolStripSeparator5 = New System.Windows.Forms.ToolStripSeparator()
74
+        Me.歷史帳務彙總計算表_tsm = New System.Windows.Forms.ToolStripMenuItem()
75
+        Me.歷史帳務明細查詢表_tsm = New System.Windows.Forms.ToolStripMenuItem()
70
         Me.MenuStrip.SuspendLayout()
76
         Me.MenuStrip.SuspendLayout()
71
         Me.StatusStrip.SuspendLayout()
77
         Me.StatusStrip.SuspendLayout()
72
         Me.SuspendLayout()
78
         Me.SuspendLayout()
164
         '
170
         '
165
         Me.基本資料_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.business_info
171
         Me.基本資料_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.business_info
166
         Me.基本資料_tsm.Name = "基本資料_tsm"
172
         Me.基本資料_tsm.Name = "基本資料_tsm"
167
-        Me.基本資料_tsm.Size = New System.Drawing.Size(122, 22)
173
+        Me.基本資料_tsm.Size = New System.Drawing.Size(180, 22)
168
         Me.基本資料_tsm.Text = "基本資料"
174
         Me.基本資料_tsm.Text = "基本資料"
169
         '
175
         '
170
         '報表系統管理_tsm
176
         '報表系統管理_tsm
171
         '
177
         '
172
-        Me.報表系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.帳務彙總計算表_tsm, Me.帳務明細查詢表_tsm})
178
+        Me.報表系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.帳務彙總計算表_tsm, Me.帳務明細查詢表_tsm, Me.ToolStripSeparator5, Me.歷史資料查詢_tsm})
173
         Me.報表系統管理_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.Report
179
         Me.報表系統管理_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.Report
174
         Me.報表系統管理_tsm.Name = "報表系統管理_tsm"
180
         Me.報表系統管理_tsm.Name = "報表系統管理_tsm"
175
         Me.報表系統管理_tsm.Size = New System.Drawing.Size(107, 20)
181
         Me.報表系統管理_tsm.Size = New System.Drawing.Size(107, 20)
191
         '
197
         '
192
         '特殊操作功能_tsm
198
         '特殊操作功能_tsm
193
         '
199
         '
194
-        Me.特殊操作功能_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.流水帳自動導入_tsm, Me.流水帳手動輸入_tsm, Me.商客資料導入_tsm})
200
+        Me.特殊操作功能_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.錯誤排除手冊_tsm, Me.ToolStripSeparator4, Me.流水帳自動導入_tsm, Me.流水帳手動輸入_tsm, Me.商客資料導入_tsm})
195
         Me.特殊操作功能_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.Personnel
201
         Me.特殊操作功能_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.Personnel
196
         Me.特殊操作功能_tsm.Name = "特殊操作功能_tsm"
202
         Me.特殊操作功能_tsm.Name = "特殊操作功能_tsm"
197
         Me.特殊操作功能_tsm.Size = New System.Drawing.Size(107, 20)
203
         Me.特殊操作功能_tsm.Size = New System.Drawing.Size(107, 20)
198
         Me.特殊操作功能_tsm.Text = "特殊操作功能"
204
         Me.特殊操作功能_tsm.Text = "特殊操作功能"
199
         '
205
         '
206
+        '錯誤排除手冊_tsm
207
+        '
208
+        Me.錯誤排除手冊_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.childish_Tool
209
+        Me.錯誤排除手冊_tsm.Name = "錯誤排除手冊_tsm"
210
+        Me.錯誤排除手冊_tsm.Size = New System.Drawing.Size(180, 22)
211
+        Me.錯誤排除手冊_tsm.Text = "錯誤排除手冊"
212
+        '
213
+        'ToolStripSeparator4
214
+        '
215
+        Me.ToolStripSeparator4.Name = "ToolStripSeparator4"
216
+        Me.ToolStripSeparator4.Size = New System.Drawing.Size(177, 6)
217
+        '
200
         '流水帳自動導入_tsm
218
         '流水帳自動導入_tsm
201
         '
219
         '
202
         Me.流水帳自動導入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
220
         Me.流水帳自動導入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
203
         Me.流水帳自動導入_tsm.Name = "流水帳自動導入_tsm"
221
         Me.流水帳自動導入_tsm.Name = "流水帳自動導入_tsm"
204
-        Me.流水帳自動導入_tsm.Size = New System.Drawing.Size(158, 22)
222
+        Me.流水帳自動導入_tsm.Size = New System.Drawing.Size(180, 22)
205
         Me.流水帳自動導入_tsm.Text = "流水帳自動導入"
223
         Me.流水帳自動導入_tsm.Text = "流水帳自動導入"
206
         '
224
         '
207
         '流水帳手動輸入_tsm
225
         '流水帳手動輸入_tsm
208
         '
226
         '
209
         Me.流水帳手動輸入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
227
         Me.流水帳手動輸入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
210
         Me.流水帳手動輸入_tsm.Name = "流水帳手動輸入_tsm"
228
         Me.流水帳手動輸入_tsm.Name = "流水帳手動輸入_tsm"
211
-        Me.流水帳手動輸入_tsm.Size = New System.Drawing.Size(158, 22)
229
+        Me.流水帳手動輸入_tsm.Size = New System.Drawing.Size(180, 22)
212
         Me.流水帳手動輸入_tsm.Text = "流水帳手動輸入"
230
         Me.流水帳手動輸入_tsm.Text = "流水帳手動輸入"
213
         '
231
         '
214
         '商客資料導入_tsm
232
         '商客資料導入_tsm
215
         '
233
         '
216
         Me.商客資料導入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
234
         Me.商客資料導入_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.pen
217
         Me.商客資料導入_tsm.Name = "商客資料導入_tsm"
235
         Me.商客資料導入_tsm.Name = "商客資料導入_tsm"
218
-        Me.商客資料導入_tsm.Size = New System.Drawing.Size(158, 22)
236
+        Me.商客資料導入_tsm.Size = New System.Drawing.Size(180, 22)
219
         Me.商客資料導入_tsm.Text = "商客資料導入"
237
         Me.商客資料導入_tsm.Text = "商客資料導入"
220
         '
238
         '
221
         '資料庫系統管理_tsm
239
         '資料庫系統管理_tsm
361
         '
379
         '
362
         Me.Timer1.Interval = 1500
380
         Me.Timer1.Interval = 1500
363
         '
381
         '
382
+        '歷史資料查詢_tsm
383
+        '
384
+        Me.歷史資料查詢_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.歷史帳務彙總計算表_tsm, Me.歷史帳務明細查詢表_tsm})
385
+        Me.歷史資料查詢_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.business_info
386
+        Me.歷史資料查詢_tsm.Name = "歷史資料查詢_tsm"
387
+        Me.歷史資料查詢_tsm.Size = New System.Drawing.Size(180, 22)
388
+        Me.歷史資料查詢_tsm.Text = "歷史資料查詢"
389
+        '
390
+        'ToolStripSeparator5
391
+        '
392
+        Me.ToolStripSeparator5.Name = "ToolStripSeparator5"
393
+        Me.ToolStripSeparator5.Size = New System.Drawing.Size(177, 6)
394
+        '
395
+        '歷史帳務彙總計算表_tsm
396
+        '
397
+        Me.歷史帳務彙總計算表_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.business_info
398
+        Me.歷史帳務彙總計算表_tsm.Name = "歷史帳務彙總計算表_tsm"
399
+        Me.歷史帳務彙總計算表_tsm.Size = New System.Drawing.Size(182, 22)
400
+        Me.歷史帳務彙總計算表_tsm.Text = "歷史帳務彙總計算表"
401
+        '
402
+        '歷史帳務明細查詢表_tsm
403
+        '
404
+        Me.歷史帳務明細查詢表_tsm.Image = Global.GA_ERP_SYS.My.Resources.Resources.business_info
405
+        Me.歷史帳務明細查詢表_tsm.Name = "歷史帳務明細查詢表_tsm"
406
+        Me.歷史帳務明細查詢表_tsm.Size = New System.Drawing.Size(182, 22)
407
+        Me.歷史帳務明細查詢表_tsm.Text = "歷史帳務明細查詢表"
408
+        '
364
         'GA_ERP_SYS
409
         'GA_ERP_SYS
365
         '
410
         '
366
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
411
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
429
     Friend WithEvents ToolStripSeparator3 As ToolStripSeparator
474
     Friend WithEvents ToolStripSeparator3 As ToolStripSeparator
430
     Friend WithEvents 帳務明細查詢表_tsm As ToolStripMenuItem
475
     Friend WithEvents 帳務明細查詢表_tsm As ToolStripMenuItem
431
     Friend WithEvents 合計_TSSL As ToolStripStatusLabel
476
     Friend WithEvents 合計_TSSL As ToolStripStatusLabel
477
+    Friend WithEvents 錯誤排除手冊_tsm As ToolStripMenuItem
478
+    Friend WithEvents ToolStripSeparator4 As ToolStripSeparator
479
+    Friend WithEvents ToolStripSeparator5 As ToolStripSeparator
480
+    Friend WithEvents 歷史資料查詢_tsm As ToolStripMenuItem
481
+    Friend WithEvents 歷史帳務彙總計算表_tsm As ToolStripMenuItem
482
+    Friend WithEvents 歷史帳務明細查詢表_tsm As ToolStripMenuItem
432
 End Class
483
 End Class

+ 50
- 27
GA-ERP-SYS/GA-ERP-SYS.vb Просмотреть файл

59
             SQL_連線字串_子SQL()
59
             SQL_連線字串_子SQL()
60
         End If : conn.Close()
60
         End If : conn.Close()
61
         '----------基本作功能-----------------------------------------------------------------------------------------------------------------
61
         '----------基本作功能-----------------------------------------------------------------------------------------------------------------
62
-        報表系統管理_tsm.Enabled = CC(17) : 帳務彙總計算表_tsm.Enabled = CC(18) : 帳務明細查詢表_tsm.Enabled = CC(21)
62
+        報表系統管理_tsm.Enabled = CC(17) : 帳務彙總計算表_tsm.Enabled = CC(18) : 帳務明細查詢表_tsm.Enabled = CC(21) : 歷史資料查詢_tsm.Enabled = CC(22)
63
         '----------資料庫系統管理-------------------------------------------------------------------------------------------------------------
63
         '----------資料庫系統管理-------------------------------------------------------------------------------------------------------------
64
         資料庫系統管理_tsm.Enabled = CC(1) : 系統使用者管理_tsm.Enabled = CC(2) : 系統編碼規則_tsm.Enabled = CC(3) : 系統執行檔版本管理_tsm.Enabled = CC(4)
64
         資料庫系統管理_tsm.Enabled = CC(1) : 系統使用者管理_tsm.Enabled = CC(2) : 系統編碼規則_tsm.Enabled = CC(3) : 系統執行檔版本管理_tsm.Enabled = CC(4)
65
-        FTP_tsm.Enabled = CC(5) : 人員ID卡系統配置設定_tsm.Enabled = CC(6)
65
+        FTP_tsm.Enabled = CC(5) : 人員ID卡系統配置設定_tsm.Enabled = CC(6) : USB_KEY_指定_tsm.Enabled = CC(23) : 資料備份轉移_tsm.Enabled = CC(24)
66
+        PY執行錯誤LOG檔_tsm.Enabled = CC(25)
66
         '----------特殊操作功能---------------------------------------------------------------------------------------------------------------
67
         '----------特殊操作功能---------------------------------------------------------------------------------------------------------------
67
         特殊操作功能_tsm.Enabled = CC(10) : 流水帳自動導入_tsm.Enabled = CC(11) : 流水帳手動輸入_tsm.Enabled = CC(12) : 商客資料導入_tsm.Enabled = CC(13)
68
         特殊操作功能_tsm.Enabled = CC(10) : 流水帳自動導入_tsm.Enabled = CC(11) : 流水帳手動輸入_tsm.Enabled = CC(12) : 商客資料導入_tsm.Enabled = CC(13)
68
 
69
 
71
     Private Sub GA_ERP_SYS_Close(sender As Object, e As EventArgs) Handles MyBase.Closed
72
     Private Sub GA_ERP_SYS_Close(sender As Object, e As EventArgs) Handles MyBase.Closed
72
         SQL_登入鎖定解除() : LoginForm1.Close()
73
         SQL_登入鎖定解除() : LoginForm1.Close()
73
     End Sub
74
     End Sub
75
+    Private Sub 主資料庫()
76
+        SQL_轉換連線用()
77
+        If dr.Read() Then
78
+            登入人IP2 = dr("IP位置") : 子SQL名稱 = dr("資料庫") : 業務帳號 = dr("帳號") : 業務密碼 = dr("密碼")
79
+        End If : conn.Close() : SQL_連線字串_子SQL()
80
+    End Sub
81
+    Private Sub 副資料庫()
82
+        SQL_轉換連線用()
83
+        If dr.Read() Then
84
+            登入人IP2 = dr("備份IP") : 子SQL名稱 = dr("資料庫") : 業務帳號 = dr("備份帳號") : 業務密碼 = dr("備份密碼")
85
+        End If : conn.Close() : SQL_連線字串_子SQL()
86
+    End Sub
74
     Private Sub 使用者_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 使用者_cb.SelectedIndexChanged
87
     Private Sub 使用者_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 使用者_cb.SelectedIndexChanged
75
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
88
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
76
         子SQL名稱 = Strings.Right(使用者_cb.Text, 6)
89
         子SQL名稱 = Strings.Right(使用者_cb.Text, 6)
78
         SQL_連線字串_子SQL() : Me.WindowState = 0
91
         SQL_連線字串_子SQL() : Me.WindowState = 0
79
     End Sub
92
     End Sub
80
     Private Sub 人員ID卡系統配置設定ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 人員ID卡系統配置設定_tsm.Click
93
     Private Sub 人員ID卡系統配置設定ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 人員ID卡系統配置設定_tsm.Click
81
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
94
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
82
         PA = "" : 人員ID卡系統配置設定.ShowDialog() : 人員ID卡系統配置設定.BringToFront()
95
         PA = "" : 人員ID卡系統配置設定.ShowDialog() : 人員ID卡系統配置設定.BringToFront()
83
     End Sub
96
     End Sub
84
     Private Sub 系統執行檔版本管理ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 系統執行檔版本管理_tsm.Click
97
     Private Sub 系統執行檔版本管理ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 系統執行檔版本管理_tsm.Click
85
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
98
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
86
         PA = "" : 系統執行檔版本管理.ShowDialog()
99
         PA = "" : 系統執行檔版本管理.ShowDialog()
87
     End Sub
100
     End Sub
88
     Private Sub FTPToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FTP_tsm.Click
101
     Private Sub FTPToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FTP_tsm.Click
89
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
102
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
90
         PA = "" : FTP資料夾管理.Show() : FTP資料夾管理.BringToFront()
103
         PA = "" : FTP資料夾管理.Show() : FTP資料夾管理.BringToFront()
91
     End Sub
104
     End Sub
92
     Private Sub 系統使用者管理_tsm_Click(sender As Object, e As EventArgs) Handles 系統使用者管理_tsm.Click
105
     Private Sub 系統使用者管理_tsm_Click(sender As Object, e As EventArgs) Handles 系統使用者管理_tsm.Click
93
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
106
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
94
         PA = "" : 系統使用者管理.Show() : FTP資料夾管理.BringToFront()
107
         PA = "" : 系統使用者管理.Show() : FTP資料夾管理.BringToFront()
95
     End Sub
108
     End Sub
96
     Private Sub 系統編碼規則_tsm_Click(sender As Object, e As EventArgs) Handles 系統編碼規則_tsm.Click
109
     Private Sub 系統編碼規則_tsm_Click(sender As Object, e As EventArgs) Handles 系統編碼規則_tsm.Click
97
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
110
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
98
         PA = "" : 系統編碼規則.Show() : 系統編碼規則.BringToFront()
111
         PA = "" : 系統編碼規則.Show() : 系統編碼規則.BringToFront()
99
     End Sub
112
     End Sub
100
     Private Sub 基本資料ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 基本資料_tsm.Click
113
     Private Sub 基本資料ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 基本資料_tsm.Click
101
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
114
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
102
         PA = "" : 基本資料.Show() : 基本資料.BringToFront() : 帳務彙總計算表.Close()
115
         PA = "" : 基本資料.Show() : 基本資料.BringToFront() : 帳務彙總計算表.Close()
103
     End Sub
116
     End Sub
104
-    Private Sub 流水帳查詢_tsm_Click(sender As Object, e As EventArgs) Handles 帳務彙總計算表_tsm.Click
105
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
106
-        PA = "" : 帳務彙總計算表.Show() : 帳務彙總計算表.BringToFront() : 基本資料.Close()
117
+    Private Sub 帳務彙總計算表_tsm_Click(sender As Object, e As EventArgs) Handles 帳務彙總計算表_tsm.Click
118
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
119
+        PA = "" : 帳務彙總計算表.Show() : 帳務彙總計算表.BringToFront()
107
     End Sub
120
     End Sub
108
-    Private Sub 個人帳號管理_tsm_Click(sender As Object, e As EventArgs) Handles 個人帳號管理_tsm.Click
109
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
110
-        PA = "" : 個人帳號管理.ShowDialog()
121
+    Private Sub 歷史帳務彙總計算表_tsm_Click(sender As Object, e As EventArgs) Handles 歷史帳務彙總計算表_tsm.Click
122
+        副資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
123
+        PA = "" : 帳務彙總計算表.Show() : 帳務彙總計算表.BringToFront()
111
     End Sub
124
     End Sub
112
-    Private Sub 計算機1_bt_Click(sender As Object, e As EventArgs) Handles 計算機1_bt.Click
113
-        PA = "" : 計算機.ShowDialog()
125
+    Private Sub 帳務明細查詢表_tsm_Click(sender As Object, e As EventArgs) Handles 帳務明細查詢表_tsm.Click
126
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
127
+        PA = "" : 帳務明細查詢表.Show() : 帳務明細查詢表.BringToFront()
114
     End Sub
128
     End Sub
115
-    Private Sub 計算機_bt_Click(sender As Object, e As EventArgs) Handles 計算機_bt.Click
129
+    Private Sub 歷史帳務明細查詢表_tsm_Click(sender As Object, e As EventArgs) Handles 歷史帳務明細查詢表_tsm.Click
130
+        副資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
131
+        PA = "" : 帳務明細查詢表.Show() : 帳務明細查詢表.BringToFront()
132
+    End Sub
133
+    Private Sub 個人帳號管理_tsm_Click(sender As Object, e As EventArgs) Handles 個人帳號管理_tsm.Click
134
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
135
+        PA = "" : 個人帳號管理.ShowDialog()
116
     End Sub
136
     End Sub
117
     Private Sub 流水帳自動導入_tsm_Click(sender As Object, e As EventArgs) Handles 流水帳自動導入_tsm.Click
137
     Private Sub 流水帳自動導入_tsm_Click(sender As Object, e As EventArgs) Handles 流水帳自動導入_tsm.Click
118
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
138
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
119
         PA = "" : 流水帳自動導入.ShowDialog()
139
         PA = "" : 流水帳自動導入.ShowDialog()
120
     End Sub
140
     End Sub
121
     Private Sub 流水帳手動輸入_tsm_Click(sender As Object, e As EventArgs) Handles 流水帳手動輸入_tsm.Click
141
     Private Sub 流水帳手動輸入_tsm_Click(sender As Object, e As EventArgs) Handles 流水帳手動輸入_tsm.Click
122
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
142
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
123
         PA = "" : 流水帳手動輸入.Show() : 流水帳手動輸入.BringToFront()
143
         PA = "" : 流水帳手動輸入.Show() : 流水帳手動輸入.BringToFront()
124
     End Sub
144
     End Sub
125
     Private Sub 商客資料導入_tsm_Click(sender As Object, e As EventArgs) Handles 商客資料導入_tsm.Click
145
     Private Sub 商客資料導入_tsm_Click(sender As Object, e As EventArgs) Handles 商客資料導入_tsm.Click
126
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
146
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
127
         PA = "" : 商客資料導入.Show() : 商客資料導入.BringToFront()
147
         PA = "" : 商客資料導入.Show() : 商客資料導入.BringToFront()
128
     End Sub
148
     End Sub
129
     Private Sub 測試_tsm_Click(sender As Object, e As EventArgs) Handles USB_KEY_指定_tsm.Click
149
     Private Sub 測試_tsm_Click(sender As Object, e As EventArgs) Handles USB_KEY_指定_tsm.Click
130
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
150
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
131
         PA = "" : USB_KEY_指定.Show() : USB_KEY_指定.BringToFront()
151
         PA = "" : USB_KEY_指定.Show() : USB_KEY_指定.BringToFront()
132
     End Sub
152
     End Sub
133
     Private Sub 測試ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles PY執行錯誤LOG檔_tsm.Click
153
     Private Sub 測試ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles PY執行錯誤LOG檔_tsm.Click
134
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
154
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
135
         PA = "" : PY執行錯誤LOG檔.Show() : PY執行錯誤LOG檔.BringToFront()
155
         PA = "" : PY執行錯誤LOG檔.Show() : PY執行錯誤LOG檔.BringToFront()
136
     End Sub
156
     End Sub
137
-
138
     Private Sub 資料備份轉移_tsm_Click(sender As Object, e As EventArgs) Handles 資料備份轉移_tsm.Click
157
     Private Sub 資料備份轉移_tsm_Click(sender As Object, e As EventArgs) Handles 資料備份轉移_tsm.Click
139
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
158
+        主資料庫() : For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
140
         PA = "" : 資料備份轉移.Show() : 資料備份轉移.BringToFront()
159
         PA = "" : 資料備份轉移.Show() : 資料備份轉移.BringToFront()
141
     End Sub
160
     End Sub
142
-    Private Sub 帳務明細查詢表_tsm_Click(sender As Object, e As EventArgs) Handles 帳務明細查詢表_tsm.Click
143
-        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
144
-        PA = "" : 帳務明細查詢表.Show() : 帳務明細查詢表.BringToFront()
161
+    Private Sub 錯誤排除手冊_tsm_Click(sender As Object, e As EventArgs) Handles 錯誤排除手冊_tsm.Click
162
+        PA = "" : 錯誤排除手冊.Show() : 錯誤排除手冊.BringToFront()
163
+    End Sub
164
+    Private Sub 計算機1_bt_Click(sender As Object, e As EventArgs) Handles 計算機1_bt.Click
165
+        PA = "" : 計算機.ShowDialog()
166
+    End Sub
167
+    Private Sub 計算機_bt_Click(sender As Object, e As EventArgs) Handles 計算機_bt.Click
145
     End Sub
168
     End Sub
146
     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
169
     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
147
         Dim Usbkey As Boolean = False
170
         Dim Usbkey As Boolean = False

+ 18
- 1
GA-ERP-SYS/GA-ERP-SYS.vbproj Просмотреть файл

11
     <AssemblyName>GA-ERP-SYS</AssemblyName>
11
     <AssemblyName>GA-ERP-SYS</AssemblyName>
12
     <FileAlignment>512</FileAlignment>
12
     <FileAlignment>512</FileAlignment>
13
     <MyType>WindowsForms</MyType>
13
     <MyType>WindowsForms</MyType>
14
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
14
+    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
15
     <Deterministic>true</Deterministic>
15
     <Deterministic>true</Deterministic>
16
     <PublishUrl>publish\</PublishUrl>
16
     <PublishUrl>publish\</PublishUrl>
17
     <Install>true</Install>
17
     <Install>true</Install>
28
     <IsWebBootstrapper>false</IsWebBootstrapper>
28
     <IsWebBootstrapper>false</IsWebBootstrapper>
29
     <UseApplicationTrust>false</UseApplicationTrust>
29
     <UseApplicationTrust>false</UseApplicationTrust>
30
     <BootstrapperEnabled>true</BootstrapperEnabled>
30
     <BootstrapperEnabled>true</BootstrapperEnabled>
31
+    <TargetFrameworkProfile />
32
+    <NuGetPackageImportStamp>
33
+    </NuGetPackageImportStamp>
31
   </PropertyGroup>
34
   </PropertyGroup>
32
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
35
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
33
     <PlatformTarget>AnyCPU</PlatformTarget>
36
     <PlatformTarget>AnyCPU</PlatformTarget>
120
     <Compile Include="報表系統管理\帳務明細查詢表.vb">
123
     <Compile Include="報表系統管理\帳務明細查詢表.vb">
121
       <SubType>Form</SubType>
124
       <SubType>Form</SubType>
122
     </Compile>
125
     </Compile>
126
+    <Compile Include="特殊操作功能\錯誤排除手冊.Designer.vb">
127
+      <DependentUpon>錯誤排除手冊.vb</DependentUpon>
128
+    </Compile>
129
+    <Compile Include="特殊操作功能\錯誤排除手冊.vb">
130
+      <SubType>Form</SubType>
131
+    </Compile>
123
     <Compile Include="資料庫系統管理\LOG檔.Designer.vb">
132
     <Compile Include="資料庫系統管理\LOG檔.Designer.vb">
124
       <DependentUpon>LOG檔.vb</DependentUpon>
133
       <DependentUpon>LOG檔.vb</DependentUpon>
125
     </Compile>
134
     </Compile>
266
     <EmbeddedResource Include="報表系統管理\帳務明細查詢表.resx">
275
     <EmbeddedResource Include="報表系統管理\帳務明細查詢表.resx">
267
       <DependentUpon>帳務明細查詢表.vb</DependentUpon>
276
       <DependentUpon>帳務明細查詢表.vb</DependentUpon>
268
     </EmbeddedResource>
277
     </EmbeddedResource>
278
+    <EmbeddedResource Include="特殊操作功能\錯誤排除手冊.resx">
279
+      <DependentUpon>錯誤排除手冊.vb</DependentUpon>
280
+    </EmbeddedResource>
269
     <EmbeddedResource Include="資料庫系統管理\LOG檔.resx">
281
     <EmbeddedResource Include="資料庫系統管理\LOG檔.resx">
270
       <DependentUpon>LOG檔.vb</DependentUpon>
282
       <DependentUpon>LOG檔.vb</DependentUpon>
271
     </EmbeddedResource>
283
     </EmbeddedResource>
356
   <ItemGroup>
368
   <ItemGroup>
357
     <Content Include="hnet.com-image.ico" />
369
     <Content Include="hnet.com-image.ico" />
358
     <Content Include="wrench1.ico" />
370
     <Content Include="wrench1.ico" />
371
+    <None Include="圖片\00aa2ad767a242ddc3099a90a5c7edb.png" />
372
+    <None Include="圖片\125425789654.png" />
373
+    <None Include="圖片\5bb63d4ef7f776f75809dfb810d8a16.png" />
374
+    <None Include="圖片\47526ccfe6fd81c95524745ad12d1f7.png" />
375
+    <None Include="圖片\1631414926457.jpg" />
359
     <None Include="圖片\1627008239188.jpg" />
376
     <None Include="圖片\1627008239188.jpg" />
360
     <None Include="圖片\1627008239187.jpg" />
377
     <None Include="圖片\1627008239187.jpg" />
361
     <None Include="圖片\0111121hh.jpg" />
378
     <None Include="圖片\0111121hh.jpg" />

+ 1
- 1
GA-ERP-SYS/LoginForm1.Designer.vb Просмотреть файл

350
         Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
350
         Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
351
         Me.CancelButton = Me.取消_bt
351
         Me.CancelButton = Me.取消_bt
352
         Me.ClientSize = New System.Drawing.Size(964, 240)
352
         Me.ClientSize = New System.Drawing.Size(964, 240)
353
+        Me.Controls.Add(Me.簡易登入_dgv)
353
         Me.Controls.Add(Me.藏_bt)
354
         Me.Controls.Add(Me.藏_bt)
354
         Me.Controls.Add(Me.解鎖_bt)
355
         Me.Controls.Add(Me.解鎖_bt)
355
         Me.Controls.Add(Me.簡易_lb)
356
         Me.Controls.Add(Me.簡易_lb)
371
         Me.Controls.Add(Me.PasswordLabel)
372
         Me.Controls.Add(Me.PasswordLabel)
372
         Me.Controls.Add(Me.UsernameLabel)
373
         Me.Controls.Add(Me.UsernameLabel)
373
         Me.Controls.Add(Me.LogoPictureBox)
374
         Me.Controls.Add(Me.LogoPictureBox)
374
-        Me.Controls.Add(Me.簡易登入_dgv)
375
         Me.Controls.Add(Me.Label1)
375
         Me.Controls.Add(Me.Label1)
376
         Me.Controls.Add(Me.Button1)
376
         Me.Controls.Add(Me.Button1)
377
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
377
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))

+ 41
- 31
GA-ERP-SYS/LoginForm1.vb Просмотреть файл

1
 Imports System.Net
1
 Imports System.Net
2
 Imports System.Management
2
 Imports System.Management
3
+Imports System.IO
3
 Public Class LoginForm1
4
 Public Class LoginForm1
4
     ' TODO: 插入程式碼,利用提供的使用者名稱和密碼執行自訂驗證
5
     ' TODO: 插入程式碼,利用提供的使用者名稱和密碼執行自訂驗證
5
     ' (請參閱 https://go.microsoft.com/fwlink/?LinkId=35339)。
6
     ' (請參閱 https://go.microsoft.com/fwlink/?LinkId=35339)。
17
     ReadOnly screenHeight = Screen.PrimaryScreen.Bounds.Height
18
     ReadOnly screenHeight = Screen.PrimaryScreen.Bounds.Height
18
     ReadOnly ds As New DataSet
19
     ReadOnly ds As New DataSet
19
     Dim FFGG As Integer
20
     Dim FFGG As Integer
21
+    Dim 更新關閉 As Boolean
20
     Private Sub Set_使用者清單()
22
     Private Sub Set_使用者清單()
21
         簡易登入_dgv.DataSource = Nothing : ds.Clear()
23
         簡易登入_dgv.DataSource = Nothing : ds.Clear()
22
         簡易登入_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
24
         簡易登入_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
44
         刷卡登入_ch.Checked = True : 刷卡登入_ch.Enabled = False : 帳號_tb.Visible = False : 解鎖_bt.Visible = False ': 使用者帳號_cb.Enabled = False
46
         刷卡登入_ch.Checked = True : 刷卡登入_ch.Enabled = False : 帳號_tb.Visible = False : 解鎖_bt.Visible = False ': 使用者帳號_cb.Enabled = False
45
         執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
47
         執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
46
         伺服器區域_ch.SelectedIndex = 0
48
         伺服器區域_ch.SelectedIndex = 0
47
-
48
-        Me.ActiveControl = 使用者帳號_cb
49
-        Set_使用者清單()
50
-        Dim cmicWmi As New ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
51
-        For Each cmicWmiObj As ManagementObject In cmicWmi.Get
52
-            PA10 = cmicWmiObj("Signature") : QA1 = cmicWmiObj("Signature")
53
-            PA11 = cmicWmiObj("SerialNumber") : QA2 = cmicWmiObj("SerialNumber")
54
-            PA12 = cmicWmiObj("Model") : QA3 = cmicWmiObj("Model")
55
-            PA13 = cmicWmiObj("Size") : QA4 = cmicWmiObj("Size")
56
-            PA10 = Replace(PA10, "'", "/") : QA1 = Replace(QA1, "'", "/") : PA11 = Replace(PA11, "'", "/") : QA2 = Replace(QA2, "'", "/")
57
-            PA12 = Replace(PA12, "'", "/") : QA3 = Replace(QA3, "'", "/") : PA13 = Replace(PA13, "'", "/") : QA4 = Replace(QA4, "'", "/")
58
-            SQL_驗證是否綁定()
59
-            If dr.Read() Then
60
-                PA15 = dr("客戶") : conn.Close()
61
-                SQL_USB登入清單()
62
-                If dr.Read() Then : PA16 = dr("帳號") : gUserName = dr("姓名") : End If : Exit For
63
-            Else
64
-                PA16 = ""
65
-            End If
66
-        Next
67
-        If PA16 = "" Then
68
-            Dim aa As MsgBoxResult = MsgBox("請插入USB KEY!!!", MsgBoxStyle.OkCancel)
69
-            If aa = MsgBoxResult.Ok Then
70
-                QA1 = "00" : QA2 = "00" : QA3 = "00" : QA4 = "00"
49
+        If 更新關閉 = True Then : Me.Close() : Else
50
+            Me.ActiveControl = 使用者帳號_cb
51
+            Set_使用者清單()
52
+            Dim cmicWmi As New ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
53
+            For Each cmicWmiObj As ManagementObject In cmicWmi.Get
54
+                PA10 = cmicWmiObj("Signature") : QA1 = cmicWmiObj("Signature")
55
+                PA11 = cmicWmiObj("SerialNumber") : QA2 = cmicWmiObj("SerialNumber")
56
+                PA12 = cmicWmiObj("Model") : QA3 = cmicWmiObj("Model")
57
+                PA13 = cmicWmiObj("Size") : QA4 = cmicWmiObj("Size")
58
+                PA10 = Replace(PA10, "'", "/") : QA1 = Replace(QA1, "'", "/") : PA11 = Replace(PA11, "'", "/") : QA2 = Replace(QA2, "'", "/")
59
+                PA12 = Replace(PA12, "'", "/") : QA3 = Replace(QA3, "'", "/") : PA13 = Replace(PA13, "'", "/") : QA4 = Replace(QA4, "'", "/")
60
+                SQL_驗證是否綁定()
61
+                If dr.Read() Then
62
+                    PA15 = dr("客戶") : conn.Close()
63
+                    SQL_USB登入清單()
64
+                    If dr.Read() Then : PA16 = dr("帳號") : gUserName = dr("姓名") : End If : Exit For
65
+                Else
66
+                    PA16 = ""
67
+                End If
68
+            Next
69
+            If PA16 = "" Then
70
+                Dim aa As MsgBoxResult = MsgBox("請插入USB KEY!!!", MsgBoxStyle.OkCancel)
71
+                If aa = MsgBoxResult.Ok Then
72
+                    QA1 = "00" : QA2 = "00" : QA3 = "00" : QA4 = "00"
73
+                Else
74
+                    Me.Close()
75
+                End If
71
             Else
76
             Else
72
-                Me.Close()
77
+                SQL_登入鎖定解除() : 使用者帳號_cb.Text = PA16 : PA16 = ""
78
+                Me.ActiveControl = 密碼_tb
73
             End If
79
             End If
74
-        Else
75
-            SQL_登入鎖定解除() : 使用者帳號_cb.Text = PA16 : PA16 = ""
76
-            Me.ActiveControl = 密碼_tb
80
+            Timer1.Enabled = True
77
         End If
81
         End If
78
-        Timer1.Enabled = True
79
     End Sub
82
     End Sub
80
     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
83
     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
81
         Dim Usbkey As Boolean = False
84
         Dim Usbkey As Boolean = False
154
             ElseIf screenWidth = 1280 And screenHeight = 1024 Then
157
             ElseIf screenWidth = 1280 And screenHeight = 1024 Then
155
             ElseIf screenWidth = 1600 And screenHeight = 900 Then
158
             ElseIf screenWidth = 1600 And screenHeight = 900 Then
156
             End If
159
             End If
157
-            Shell("Rundll32.exe url.dll, FileProtocolHandler http://106.1.50.79:8080/ga-erp-sys/", vbNormalFocus)
160
+            Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
161
+            Dim fullPath As String
162
+            fullPath = Path.GetFullPath(fileName)
163
+            Process.Start(fullPath, "--app= http://106.1.50.79:8080/ga-erp-sys/")
164
+            更新關閉 = True
158
         Else
165
         Else
159
             Me.Size = New Size(466, 279)
166
             Me.Size = New Size(466, 279)
160
             If screenWidth = 1920 And screenHeight = 1080 Then : Me.Location = New Point(727, 401)
167
             If screenWidth = 1920 And screenHeight = 1080 Then : Me.Location = New Point(727, 401)
288
         End If
295
         End If
289
     End Sub
296
     End Sub
290
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
297
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
291
-        Shell("Rundll32.exe url.dll, FileProtocolHandler http://106.1.50.79:8080/ga-erp-sys/", vbNormalFocus)
298
+        Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
299
+        Dim fullPath As String
300
+        fullPath = Path.GetFullPath(fileName)
301
+        Process.Start(fullPath, "--app= http://106.1.50.79:8080/ga-erp-sys/")
292
     End Sub
302
     End Sub
293
     Private Sub 簡易_lb_Click(sender As Object, e As EventArgs) Handles 簡易_lb.Click
303
     Private Sub 簡易_lb_Click(sender As Object, e As EventArgs) Handles 簡易_lb.Click
294
         PA = InputBox("請輸入系統商管理密碼!!")
304
         PA = InputBox("請輸入系統商管理密碼!!")

+ 2
- 2
GA-ERP-SYS/Module/SQL_Module.vb Просмотреть файл

5
     Public conn As New SqlConnection : Public cmd As New SqlCommand : Public dr As SqlDataReader : Public da As New SqlDataAdapter
5
     Public conn As New SqlConnection : Public cmd As New SqlCommand : Public dr As SqlDataReader : Public da As New SqlDataAdapter
6
     Public DTP As String : Public DTP1 As String : Public DTP2 As String : Public DTP3 As String
6
     Public DTP As String : Public DTP1 As String : Public DTP2 As String : Public DTP3 As String
7
     Public 登入權限 As String = "姓名, 帳號, 密碼, ID卡號, 主客戶, 到期日, CC01, CC02, CC03, CC04, CC05, CC06, CC07, CC08, CC09, CC10, CC11, CC12, CC13, 
7
     Public 登入權限 As String = "姓名, 帳號, 密碼, ID卡號, 主客戶, 到期日, CC01, CC02, CC03, CC04, CC05, CC06, CC07, CC08, CC09, CC10, CC11, CC12, CC13, 
8
-                                 CC14, CC15, CC16, CC17, CC18, CC19, CC20, CC21"
9
-    Public 權限數量 As Integer = 21
8
+                                 CC14, CC15, CC16, CC17, CC18, CC19, CC20, CC21, CC22, CC23, CC24, CC25"
9
+    Public 權限數量 As Integer = 25
10
     Friend Sub ConnOpen()
10
     Friend Sub ConnOpen()
11
         conn.Close() : If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
11
         conn.Close() : If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
12
     End Sub
12
     End Sub

+ 29
- 13
GA-ERP-SYS/Module/SQL_子系統管理.vb Просмотреть файл

74
     Friend Sub SQL_基本資料_客戶下資料表()
74
     Friend Sub SQL_基本資料_客戶下資料表()
75
         ConnOpen_子SQL()
75
         ConnOpen_子SQL()
76
         SQL1 = "SELECT     商客基本資料表.商品, 下行客戶.網址, 下行客戶.帳號 AS 老闆帳號, 下行客戶.客戶下 AS 客戶帳號, 下行客戶.客名 AS 客戶名稱, 下行客戶.流水號, 
76
         SQL1 = "SELECT     商客基本資料表.商品, 下行客戶.網址, 下行客戶.帳號 AS 老闆帳號, 下行客戶.客戶下 AS 客戶帳號, 下行客戶.客名 AS 客戶名稱, 下行客戶.流水號, 
77
-                           下行客戶.基數, 下行客戶.基數 AS 階級, 下行客戶.計算, 下行客戶.同帳, 下行客戶.所得
77
+                           下行客戶.基數, 下行客戶.基數 AS 階級, 下行客戶.計算, 下行客戶.同帳, 下行客戶.所得, 下行客戶.所得另算
78
                 FROM       下行客戶 LEFT OUTER JOIN
78
                 FROM       下行客戶 LEFT OUTER JOIN
79
                            商客基本資料表 ON 下行客戶.網址 = 商客基本資料表.網址 AND 下行客戶.帳號 = 商客基本資料表.帳號
79
                            商客基本資料表 ON 下行客戶.網址 = 商客基本資料表.網址 AND 下行客戶.帳號 = 商客基本資料表.帳號
80
                 WHERE      下行客戶.客戶下 LIKE N'%" & PA & "%' " & PA9 & "
80
                 WHERE      下行客戶.客戶下 LIKE N'%" & PA & "%' " & PA9 & "
102
     Friend Sub SQL_系統編碼規則_客戶下修改()
102
     Friend Sub SQL_系統編碼規則_客戶下修改()
103
         ConnOpen_子SQL()
103
         ConnOpen_子SQL()
104
         SQL1 = "UPDATE 下行客戶 SET 客戶下 = N'" & PA & "', 網址 = N'" & PA1 & "', 帳號 = N'" & PA2 & "', 基數 = N'" & PA3 & "', 客名 = N'" & PA4 & "', 
104
         SQL1 = "UPDATE 下行客戶 SET 客戶下 = N'" & PA & "', 網址 = N'" & PA1 & "', 帳號 = N'" & PA2 & "', 基數 = N'" & PA3 & "', 客名 = N'" & PA4 & "', 
105
-                                    計算 = '" & 基本資料.參與計算_ch.Checked & "', 同帳 = '" & 基本資料.上下同帳_ch.Checked & "', 所得 = '" & 基本資料.所得計算_ch.Checked & "'
105
+                                    計算 = '" & 基本資料.參與計算_ch.Checked & "', 同帳 = '" & 基本資料.上下同帳_ch.Checked & "', 所得 = '" & 基本資料.所得計算_ch.Checked & "', 
106
+                                    所得另算 = N'" & PA5 & "'
106
                 WHERE  流水號 LIKE N'" & 基本資料.流水號_tb.Text & "'"
107
                 WHERE  流水號 LIKE N'" & 基本資料.流水號_tb.Text & "'"
107
         CmdSet_For_dr()
108
         CmdSet_For_dr()
108
     End Sub
109
     End Sub
109
     Friend Sub SQL_系統編碼規則_客戶下批改()
110
     Friend Sub SQL_系統編碼規則_客戶下批改()
110
-        ConnOpen_子SQL() : SQL1 = "UPDATE 下行客戶 SET 計算 = '" & BL1 & "', 同帳 = '" & BL2 & "', 所得 = '" & BL3 & "' WHERE  流水號 LIKE N'" & PA & "'" : CmdSet_For_dr()
111
+        ConnOpen_子SQL() : SQL1 = "UPDATE 下行客戶 SET 計算 = '" & BL1 & "', 同帳 = '" & BL2 & "', 所得 = '" & BL3 & "', 所得另算 = N'" & PA1 & "' WHERE  流水號 LIKE N'" & PA & "'" : CmdSet_For_dr()
111
     End Sub
112
     End Sub
112
     Friend Sub SQL_商客資料表2()
113
     Friend Sub SQL_商客資料表2()
113
         ConnOpen_子SQL()
114
         ConnOpen_子SQL()
327
                             QQQ.中獎s, QQQ.輸贏s, QQQ.客戶小計s, QQQ.代理小計s, QQQ.總代理小計s, QQQ.股東小計s, QQQ.大股東小計s, 
328
                             QQQ.中獎s, QQQ.輸贏s, QQQ.客戶小計s, QQQ.代理小計s, QQQ.總代理小計s, QQQ.股東小計s, QQQ.大股東小計s, 
328
                             QQQ.總監小計s, QQQ.個人所得s, QQQ.水差s, QQQ.下注明細s, QQQ.查看對帳s, QQQ.客帳, 選擇按鈕.按鈕, 
329
                             QQQ.總監小計s, QQQ.個人所得s, QQQ.水差s, QQQ.下注明細s, QQQ.查看對帳s, QQQ.客帳, 選擇按鈕.按鈕, 
329
                             QQQ.帳戶 AS 客名, 選擇按鈕.按鈕 AS 計算, 選擇按鈕.按鈕 AS 同帳, QQQ.帳戶 AS 同帳指定, 選擇按鈕.按鈕 AS 所得, 
330
                             QQQ.帳戶 AS 客名, 選擇按鈕.按鈕 AS 計算, 選擇按鈕.按鈕 AS 同帳, QQQ.帳戶 AS 同帳指定, 選擇按鈕.按鈕 AS 所得, 
330
-                            QQQ.個人所得 AS 所得另算
331
+                            QQQ.個人所得 AS 所得另算, QQQ.總監
331
                 FROM        選擇按鈕 RIGHT OUTER JOIN
332
                 FROM        選擇按鈕 RIGHT OUTER JOIN
332
                            (SELECT          流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50) AS 網址, 流水帳.帳戶, 
333
                            (SELECT          流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50) AS 網址, 流水帳.帳戶, 
333
                                             商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
334
                                             商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
339
                                             流水帳.退水, 流水帳.中獎, 流水帳.輸贏, 流水帳.佔成輸贏, 流水帳.水倍差, 流水帳.上繳金額, 
340
                                             流水帳.退水, 流水帳.中獎, 流水帳.輸贏, 流水帳.佔成輸贏, 流水帳.水倍差, 流水帳.上繳金額, 
340
                                             流水帳.自已總輸贏, 流水帳.上繳貢獻額, 流水帳.貢獻額, 流水帳.貢獻度, 流水帳.下注明細, 
341
                                             流水帳.自已總輸贏, 流水帳.上繳貢獻額, 流水帳.貢獻額, 流水帳.貢獻度, 流水帳.下注明細, 
341
                                             流水帳.玩法明細, 流水帳.調盤退水, 流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 
342
                                             流水帳.玩法明細, 流水帳.調盤退水, 流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 
342
-                                            流水帳.總代理, 流水帳.股東, 流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 
343
+                                            流水帳.總代理, 流水帳.股東, 流水帳.大股東, 流水帳.總監, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 
343
                                             流水帳.輸贏s, 流水帳.客戶小計s, 流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 
344
                                             流水帳.輸贏s, 流水帳.客戶小計s, 流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 
344
                                             流水帳.大股東小計s, 流水帳.總監小計s, 流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 
345
                                             流水帳.大股東小計s, 流水帳.總監小計s, 流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 
345
                                             流水帳.查看對帳s, 商客基本資料表.上繳源 AS 客帳
346
                                             流水帳.查看對帳s, 商客基本資料表.上繳源 AS 客帳
358
                                             流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
359
                                             流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
359
                                             流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
360
                                             流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
360
                                             流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
361
                                             流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
361
-                                            流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s) AS QQQ ON 
362
+                                            流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s, 流水帳.總監) AS QQQ ON 
362
                             選擇按鈕.選擇 = QQQ.商品
363
                             選擇按鈕.選擇 = QQQ.商品
363
                 ORDER BY    QQQ.商品, QQQ.網址, QQQ.帳戶"
364
                 ORDER BY    QQQ.商品, QQQ.網址, QQQ.帳戶"
364
         CmdSet_For_DGV()
365
         CmdSet_For_DGV()
466
                 ORDER BY   下行客戶.客名"
467
                 ORDER BY   下行客戶.客名"
467
         CmdSet_For_dr()
468
         CmdSet_For_dr()
468
     End Sub
469
     End Sub
470
+    Friend Sub SQL_客戶下所得名稱清單()
471
+        ConnOpen_子SQL()
472
+        SQL1 = "SELECT 所得另算 FROM 下行客戶 WHERE (所得另算 IS NOT NULL) GROUP BY 所得另算 ORDER BY 所得另算"
473
+        CmdSet_For_dr()
474
+    End Sub
469
     Friend Sub SQL_流水帳商品()
475
     Friend Sub SQL_流水帳商品()
470
         ConnOpen_子SQL() : SQL1 = "SELECT 商品 FROM 商客基本資料表 GROUP BY 商品 ORDER BY 商品" : CmdSet_For_dr()
476
         ConnOpen_子SQL() : SQL1 = "SELECT 商品 FROM 商客基本資料表 GROUP BY 商品 ORDER BY 商品" : CmdSet_For_dr()
471
     End Sub
477
     End Sub
481
         CmdSet_For_dr()
487
         CmdSet_For_dr()
482
     End Sub
488
     End Sub
483
     Friend Sub SQL_客戶下資料表()
489
     Friend Sub SQL_客戶下資料表()
484
-        ConnOpen_子SQL() : SQL1 = "SELECT 客戶下 AS 客戶帳號, 網址, 帳號, 客名 AS 客戶名稱, 計算, 同帳, 所得, 基數, 流水號  FROM 下行客戶" : CmdSet_For_DGV()
490
+        ConnOpen_子SQL() : SQL1 = "SELECT 客戶下 AS 客戶帳號, 網址, 帳號, 客名 AS 客戶名稱, 計算, 同帳, 所得, 基數, 流水號, 所得另算  FROM 下行客戶" : CmdSet_For_DGV()
485
     End Sub
491
     End Sub
486
     Friend Sub SQL_客戶下名稱()
492
     Friend Sub SQL_客戶下名稱()
487
         ConnOpen_子SQL()
493
         ConnOpen_子SQL()
541
                             QQQ.中獎s, QQQ.輸贏s, QQQ.客戶小計s, QQQ.代理小計s, QQQ.總代理小計s, QQQ.股東小計s, QQQ.大股東小計s, 
547
                             QQQ.中獎s, QQQ.輸贏s, QQQ.客戶小計s, QQQ.代理小計s, QQQ.總代理小計s, QQQ.股東小計s, QQQ.大股東小計s, 
542
                             QQQ.總監小計s, QQQ.個人所得s, QQQ.水差s, QQQ.下注明細s, QQQ.查看對帳s, QQQ.客帳 AS 客戶帳號, 選擇按鈕.按鈕, 
548
                             QQQ.總監小計s, QQQ.個人所得s, QQQ.水差s, QQQ.下注明細s, QQQ.查看對帳s, QQQ.客帳 AS 客戶帳號, 選擇按鈕.按鈕, 
543
                             QQQ.帳戶 AS 客戶名稱, 選擇按鈕.按鈕 AS 計算, 選擇按鈕.按鈕 AS 同帳, QQQ.帳戶 AS 同帳指定, 選擇按鈕.按鈕 AS 所得, 
549
                             QQQ.帳戶 AS 客戶名稱, 選擇按鈕.按鈕 AS 計算, 選擇按鈕.按鈕 AS 同帳, QQQ.帳戶 AS 同帳指定, 選擇按鈕.按鈕 AS 所得, 
544
-                            QQQ.個人所得 AS 所得另算, QQQ.[index], QQQ.帳戶 AS 下客流水
550
+                            QQQ.個人所得 AS 所得另算, QQQ.[index], QQQ.帳戶 AS 下客流水, QQQ.總監, QQQ.帳戶 AS 所得指定
545
                 FROM        選擇按鈕 RIGHT OUTER JOIN
551
                 FROM        選擇按鈕 RIGHT OUTER JOIN
546
                            (SELECT     流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50) AS 網址, 流水帳.帳戶, 
552
                            (SELECT     流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50) AS 網址, 流水帳.帳戶, 
547
                                        商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
553
                                        商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
557
                                        流水帳.佔成輸贏, 流水帳.水倍差, 流水帳.上繳金額, 流水帳.自已總輸贏, 流水帳.上繳貢獻額, 
563
                                        流水帳.佔成輸贏, 流水帳.水倍差, 流水帳.上繳金額, 流水帳.自已總輸贏, 流水帳.上繳貢獻額, 
558
                                        流水帳.貢獻額, 流水帳.貢獻度, 流水帳.下注明細, 流水帳.玩法明細, 流水帳.調盤退水, 
564
                                        流水帳.貢獻額, 流水帳.貢獻度, 流水帳.下注明細, 流水帳.玩法明細, 流水帳.調盤退水, 
559
                                        流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
565
                                        流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
560
-                                       流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
566
+                                       流水帳.大股東, 流水帳.總監, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
561
                                        流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
567
                                        流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
562
                                        流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s, 
568
                                        流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s, 
563
                                        商客基本資料表.上繳源 AS 客帳, 流水帳.[index]
569
                                        商客基本資料表.上繳源 AS 客帳, 流水帳.[index]
565
                              WHERE    (流水帳.開始日期 LIKE N'" & Strings.Left(帳務明細查詢表.資料_cb.Text, 10) & "') AND 
571
                              WHERE    (流水帳.開始日期 LIKE N'" & Strings.Left(帳務明細查詢表.資料_cb.Text, 10) & "') AND 
566
                                       (流水帳.結束日期 LIKE N'" & Strings.Right(帳務明細查詢表.資料_cb.Text, 10) & "') AND 
572
                                       (流水帳.結束日期 LIKE N'" & Strings.Right(帳務明細查詢表.資料_cb.Text, 10) & "') AND 
567
                                       (商客基本資料表.商品 LIKE N'%" & 帳務明細查詢表.商品_cb.Text & "%') AND 
573
                                       (商客基本資料表.商品 LIKE N'%" & 帳務明細查詢表.商品_cb.Text & "%') AND 
568
-                                      (商客基本資料表.上繳源 LIKE N'%" & 帳務明細查詢表.老闆_cb.Text & "%') AND 
569
-                                       (流水帳.查看對帳s LIKE N'" & PA32 & "')
574
+                                      (商客基本資料表.上繳源 LIKE N'%" & 帳務明細查詢表.老闆_cb.Text & "%') " & PA32 & "
570
                              GROUP BY  流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50), 流水帳.帳戶, 
575
                              GROUP BY  流水帳.開始日期, 流水帳.結束日期, SUBSTRING(流水帳.網址, 7, 50), 流水帳.帳戶, 
571
                                        商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
576
                                        商客基本資料表.商品, 商客基本資料表.資料, 商客基本資料表.上行基數, 商客基本資料表.下行基數, 
572
                                        商客基本資料表.上繳源, 流水帳.名稱, 流水帳.總量, 流水帳.退水, 流水帳.中獎, 流水帳.輸贏, 
577
                                        商客基本資料表.上繳源, 流水帳.名稱, 流水帳.總量, 流水帳.退水, 流水帳.中獎, 流水帳.輸贏, 
575
                                        流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
580
                                        流水帳.調退實佔, 流水帳.上繳, 流水帳.會員, 流水帳.代理, 流水帳.總代理, 流水帳.股東, 
576
                                        流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
581
                                        流水帳.大股東, 流水帳.客戶s, 流水帳.總量s, 流水帳.中獎s, 流水帳.輸贏s, 流水帳.客戶小計s, 
577
                                        流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
582
                                        流水帳.代理小計s, 流水帳.總代理小計s, 流水帳.股東小計s, 流水帳.大股東小計s, 流水帳.總監小計s, 
578
-                                       流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s, 流水帳.[index]) AS QQQ ON 選擇按鈕.選擇 = QQQ.商品
583
+                                       流水帳.個人所得s, 流水帳.水差s, 流水帳.下注明細s, 流水帳.查看對帳s, 流水帳.[index], 流水帳.總監) AS QQQ ON 選擇按鈕.選擇 = QQQ.商品
579
                 ORDER BY   QQQ.商品, QQQ.網址, QQQ.帳戶"
584
                 ORDER BY   QQQ.商品, QQQ.網址, QQQ.帳戶"
580
         CmdSet_For_DGV()
585
         CmdSet_For_DGV()
581
     End Sub
586
     End Sub
582
     Friend Sub SQL_帳務明細查詢表客戶寫入()
587
     Friend Sub SQL_帳務明細查詢表客戶寫入()
583
         ConnOpen_子SQL()
588
         ConnOpen_子SQL()
584
-        SQL1 = "UPDATE 流水帳 SET 查看對帳s = N'" & PA38 & "' 
589
+        SQL1 = "UPDATE 流水帳 SET 查看對帳s = N'" & PA38 & "', 下注明細s = N'" & PA32 & "'
585
                 WHERE ([index] LIKE N'" & PA37 & "') AND (開始日期 LIKE N'" & PA36 & "') AND (結束日期 LIKE N'" & PA35 & "') AND 
590
                 WHERE ([index] LIKE N'" & PA37 & "') AND (開始日期 LIKE N'" & PA36 & "') AND (結束日期 LIKE N'" & PA35 & "') AND 
586
                       (SUBSTRING(網址, 7, 50) LIKE N'" & PA34 & "') AND (帳戶 LIKE N'" & PA33 & "')"
591
                       (SUBSTRING(網址, 7, 50) LIKE N'" & PA34 & "') AND (帳戶 LIKE N'" & PA33 & "')"
587
         CmdSet_For_dr()
592
         CmdSet_For_dr()
588
     End Sub
593
     End Sub
594
+    Friend Sub SQL_所得另算表()
595
+        ConnOpen_子SQL()
596
+        SQL1 = "SELECT     商客基本資料表.商品, 商客基本資料表.商品 AS 所得
597
+                FROM       流水帳 LEFT OUTER JOIN
598
+                           商客基本資料表 ON 流水帳.帳戶 = 商客基本資料表.帳號 AND SUBSTRING(流水帳.網址, 7, 50) = 商客基本資料表.網址
599
+                WHERE     (流水帳.下注明細s LIKE N'%" & 帳務明細查詢表.所得指定_cb.Text & "%') AND (流水帳.開始日期 LIKE N'" & Strings.Left(帳務明細查詢表.資料_cb.Text, 10) & "') AND 
600
+                          (流水帳.結束日期 LIKE N'" & Strings.Right(帳務明細查詢表.資料_cb.Text, 10) & "')
601
+                GROUP BY   商客基本資料表.商品
602
+                ORDER BY   商客基本資料表.商品"
603
+        CmdSet_For_DGV()
604
+    End Sub
589
 End Module
605
 End Module

+ 17
- 14
GA-ERP-SYS/Module/SQL_資料庫系統管理.vb Просмотреть файл

41
                         N'" & 系統使用者管理.CheckBox10.Checked & "', N'" & 系統使用者管理.CheckBox11.Checked & "', N'" & 系統使用者管理.CheckBox12.Checked & "', 
41
                         N'" & 系統使用者管理.CheckBox10.Checked & "', N'" & 系統使用者管理.CheckBox11.Checked & "', N'" & 系統使用者管理.CheckBox12.Checked & "', 
42
                         N'" & 系統使用者管理.CheckBox13.Checked & "', N'" & 系統使用者管理.CheckBox14.Checked & "', N'" & 系統使用者管理.CheckBox15.Checked & "', 
42
                         N'" & 系統使用者管理.CheckBox13.Checked & "', N'" & 系統使用者管理.CheckBox14.Checked & "', N'" & 系統使用者管理.CheckBox15.Checked & "', 
43
                         N'" & 系統使用者管理.CheckBox16.Checked & "', N'" & 系統使用者管理.CheckBox17.Checked & "', N'" & 系統使用者管理.CheckBox18.Checked & "', 
43
                         N'" & 系統使用者管理.CheckBox16.Checked & "', N'" & 系統使用者管理.CheckBox17.Checked & "', N'" & 系統使用者管理.CheckBox18.Checked & "', 
44
-                        N'" & 系統使用者管理.CheckBox19.Checked & "', N'" & 系統使用者管理.CheckBox20.Checked & "', N'" & 系統使用者管理.CheckBox21.Checked & "')"
44
+                        N'" & 系統使用者管理.CheckBox19.Checked & "', N'" & 系統使用者管理.CheckBox20.Checked & "', N'" & 系統使用者管理.CheckBox21.Checked & "', 
45
+                        N'" & 系統使用者管理.CheckBox22.Checked & "', N'" & 系統使用者管理.CheckBox23.Checked & "', N'" & 系統使用者管理.CheckBox24.Checked & "', 
46
+                        N'" & 系統使用者管理.CheckBox25.Checked & "')"
45
         CmdSet_For_dr()
47
         CmdSet_For_dr()
46
     End Sub
48
     End Sub
47
     Friend Sub SQL_系統使用者修改()
49
     Friend Sub SQL_系統使用者修改()
57
                                             CC15 = N'" & 系統使用者管理.CheckBox15.Checked & "', CC16 = N'" & 系統使用者管理.CheckBox16.Checked & "', 
59
                                             CC15 = N'" & 系統使用者管理.CheckBox15.Checked & "', CC16 = N'" & 系統使用者管理.CheckBox16.Checked & "', 
58
                                             CC17 = N'" & 系統使用者管理.CheckBox17.Checked & "', CC18 = N'" & 系統使用者管理.CheckBox18.Checked & "', 
60
                                             CC17 = N'" & 系統使用者管理.CheckBox17.Checked & "', CC18 = N'" & 系統使用者管理.CheckBox18.Checked & "', 
59
                                             CC19 = N'" & 系統使用者管理.CheckBox19.Checked & "', CC20 = N'" & 系統使用者管理.CheckBox20.Checked & "', 
61
                                             CC19 = N'" & 系統使用者管理.CheckBox19.Checked & "', CC20 = N'" & 系統使用者管理.CheckBox20.Checked & "', 
60
-                                            CC21 = N'" & 系統使用者管理.CheckBox21.Checked & "'                  
62
+                                            CC21 = N'" & 系統使用者管理.CheckBox21.Checked & "', CC22 = N'" & 系統使用者管理.CheckBox22.Checked & "', 
63
+                                            CC23 = N'" & 系統使用者管理.CheckBox23.Checked & "', CC24 = N'" & 系統使用者管理.CheckBox24.Checked & "', 
64
+                                            CC25 = N'" & 系統使用者管理.CheckBox25.Checked & "'                  
61
                 WHERE (帳號 = N'" & 系統使用者管理.帳號_tb.Text & "')"
65
                 WHERE (帳號 = N'" & 系統使用者管理.帳號_tb.Text & "')"
62
         CmdSet_For_dr()
66
         CmdSet_For_dr()
63
     End Sub
67
     End Sub
186
         CmdSet_For_dr()
190
         CmdSet_For_dr()
187
     End Sub
191
     End Sub
188
     Friend Sub SQL_資料庫轉換3()
192
     Friend Sub SQL_資料庫轉換3()
189
-        ConnOpen_備份1() : SQL1 = "SELECT 客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得 FROM 下行客戶" : CmdSet_For_DGV()
193
+        ConnOpen_備份1() : SQL1 = "SELECT 客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得, 所得另算 FROM 下行客戶" : CmdSet_For_DGV()
190
     End Sub
194
     End Sub
191
     Friend Sub SQL_資料庫轉換3_1()
195
     Friend Sub SQL_資料庫轉換3_1()
192
-        ConnOpen_備份2() : SQL1 = "SELECT 客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得 FROM 下行客戶" : CmdSet_For_DGV()
196
+        ConnOpen_備份2() : SQL1 = "SELECT 客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得, 所得另算 FROM 下行客戶" : CmdSet_For_DGV()
193
     End Sub
197
     End Sub
194
     Friend Sub SQL_資料庫轉換3_刪除()
198
     Friend Sub SQL_資料庫轉換3_刪除()
195
         ConnOpen_備份2() : SQL1 = "DELETE FROM 下行客戶" : CmdSet_For_dr()
199
         ConnOpen_備份2() : SQL1 = "DELETE FROM 下行客戶" : CmdSet_For_dr()
196
     End Sub
200
     End Sub
197
     Friend Sub SQL_資料庫轉換3_新增()
201
     Friend Sub SQL_資料庫轉換3_新增()
198
         ConnOpen_備份2()
202
         ConnOpen_備份2()
199
-        SQL1 = "INSERT INTO 下行客戶 (客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得) 
200
-                VALUES (N'" & PA & "', N'" & PA1 & "', N'" & PA2 & "', N'" & PA3 & "', N'" & PA4 & "', N'" & PA5 & "', N'" & PA6 & "', N'" & PA7 & "', N'" & PA8 & "')"
203
+        SQL1 = "INSERT INTO 下行客戶 (客戶下, 網址, 帳號, 基數, 流水號, 客名, 計算, 同帳, 所得, 所得另算) 
204
+                VALUES (N'" & PA & "', N'" & PA1 & "', N'" & PA2 & "', N'" & PA3 & "', N'" & PA4 & "', N'" & PA5 & "', N'" & PA6 & "', N'" & PA7 & "', N'" & PA8 & "', N'" & PA9 & "')"
201
         CmdSet_For_dr()
205
         CmdSet_For_dr()
202
     End Sub
206
     End Sub
203
     Friend Sub SQL_資料庫轉換4()
207
     Friend Sub SQL_資料庫轉換4()
204
         ConnOpen_備份1()
208
         ConnOpen_備份1()
205
         SQL1 = "SELECT [index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
209
         SQL1 = "SELECT [index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
206
-                       上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 客戶s, 
210
+                       上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 總監, 客戶s, 
207
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
211
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
208
                        下注明細s, 查看對帳s, 隨機碼
212
                        下注明細s, 查看對帳s, 隨機碼
209
                 FROM   流水帳
213
                 FROM   流水帳
210
-                WHERE  (結束日期 BETWEEN '2021-06-01' AND 
211
-                                                       '" & Strings.Format(資料備份轉移.日期_dtp.Value, "yyyy-MM-dd") & "')
212
                 ORDER BY 結束日期"
214
                 ORDER BY 結束日期"
213
         CmdSet_For_DGV()
215
         CmdSet_For_DGV()
214
     End Sub
216
     End Sub
215
     Friend Sub SQL_資料庫轉換4_1()
217
     Friend Sub SQL_資料庫轉換4_1()
216
         ConnOpen_備份2()
218
         ConnOpen_備份2()
217
         SQL1 = "SELECT [index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
219
         SQL1 = "SELECT [index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
218
-                       上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 客戶s, 
220
+                       上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 總監, 客戶s, 
219
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
221
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
220
                        下注明細s, 查看對帳s, 隨機碼
222
                        下注明細s, 查看對帳s, 隨機碼
221
                 FROM   流水帳
223
                 FROM   流水帳
222
-                WHERE  (結束日期 BETWEEN '2021-06-01' AND 
223
-                                                       '" & Strings.Format(資料備份轉移.日期_dtp.Value, "yyyy-MM-dd") & "')
224
                 ORDER BY 結束日期"
224
                 ORDER BY 結束日期"
225
         CmdSet_For_DGV()
225
         CmdSet_For_DGV()
226
     End Sub
226
     End Sub
235
         SQL1 = "INSERT INTO 流水帳 ([index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
235
         SQL1 = "INSERT INTO 流水帳 ([index], 開始日期, 結束日期, 網址, 帳戶, 名稱, 總量, 退水, 中獎, 輸贏, 佔成輸贏, 水倍差, 上繳金額, 自已總輸贏, 
236
                        上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 客戶s, 
236
                        上繳貢獻額, 貢獻額, 貢獻度, 下注明細, 玩法明細, 調盤退水, 調退實佔, 上繳, 會員, 代理, 總代理, 股東, 大股東, 客戶s, 
237
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
237
                        總量s, 中獎s, 輸贏s, 客戶小計s, 代理小計s, 總代理小計s, 股東小計s, 大股東小計s, 總監小計s, 個人所得s, 水差s, 
238
-                       下注明細s, 查看對帳s, 隨機碼) 
238
+                       下注明細s, 查看對帳s, 隨機碼, 總監) 
239
                 VALUES (N'" & PA & "', N'" & PA1 & "', N'" & PA2 & "', N'" & PA3 & "', N'" & PA4 & "', N'" & PA6 & "', N'" & PA7 & "', N'" & PA8 & "', 
239
                 VALUES (N'" & PA & "', N'" & PA1 & "', N'" & PA2 & "', N'" & PA3 & "', N'" & PA4 & "', N'" & PA6 & "', N'" & PA7 & "', N'" & PA8 & "', 
240
                         N'" & PA9 & "', N'" & PA10 & "', N'" & PA11 & "', N'" & PA12 & "', N'" & PA13 & "', N'" & PA14 & "', N'" & PA15 & "', N'" & PA16 & "', 
240
                         N'" & PA9 & "', N'" & PA10 & "', N'" & PA11 & "', N'" & PA12 & "', N'" & PA13 & "', N'" & PA14 & "', N'" & PA15 & "', N'" & PA16 & "', 
241
                         N'" & PA17 & "', N'" & PA18 & "', N'" & PA19 & "', N'" & PA20 & "', N'" & PA21 & "', N'" & PA22 & "', N'" & PA23 & "', N'" & PA24 & "', 
241
                         N'" & PA17 & "', N'" & PA18 & "', N'" & PA19 & "', N'" & PA20 & "', N'" & PA21 & "', N'" & PA22 & "', N'" & PA23 & "', N'" & PA24 & "', 
242
                         N'" & PA25 & "', N'" & PA26 & "', N'" & PA27 & "', N'" & PA28 & "', N'" & PA29 & "', N'" & PA30 & "', N'" & PA31 & "', N'" & PA32 & "', 
242
                         N'" & PA25 & "', N'" & PA26 & "', N'" & PA27 & "', N'" & PA28 & "', N'" & PA29 & "', N'" & PA30 & "', N'" & PA31 & "', N'" & PA32 & "', 
243
                         N'" & PA33 & "', N'" & PA34 & "', N'" & PA35 & "', N'" & PA36 & "', N'" & PA37 & "', N'" & PA38 & "', N'" & PA39 & "', N'" & PA40 & "', 
243
                         N'" & PA33 & "', N'" & PA34 & "', N'" & PA35 & "', N'" & PA36 & "', N'" & PA37 & "', N'" & PA38 & "', N'" & PA39 & "', N'" & PA40 & "', 
244
-                        N'" & PA41 & "', N'" & PA5 & "')"
244
+                        N'" & PA41 & "', N'" & PA5 & "', N'" & PA42 & "')"
245
         CmdSet_For_dr()
245
         CmdSet_For_dr()
246
     End Sub
246
     End Sub
247
+    Friend Sub SQL_轉換連線用()
248
+        ConnOpen() : SQL1 = "SELECT  客戶, 資料庫, IP位置, 帳號, 密碼, 備份, 備份IP, 備份帳號, 密碼密碼 AS 備份密碼 FROM 客戶資料表 WHERE 資料庫 LIKE N'" & 子SQL名稱 & "'" : CmdSet_For_dr()
249
+    End Sub
247
 End Module
250
 End Module

Двоичные данные
GA-ERP-SYS/Module/cefsharp.common.93.1.111.nupkg Просмотреть файл


+ 2
- 1
GA-ERP-SYS/Module/全域變數.vb Просмотреть файл

10
     Public AA(99) As String : Public BB(99) As Boolean : Public CC(99) As Boolean : Public 登入判斷 As Boolean : Public 登入客戶 As String : Public 登入資料庫 As String : Public 業務名稱 As String
10
     Public AA(99) As String : Public BB(99) As Boolean : Public CC(99) As Boolean : Public 登入判斷 As Boolean : Public 登入客戶 As String : Public 登入資料庫 As String : Public 業務名稱 As String
11
     Public QA1 As String : Public QA2 As String : Public QA3 As String : Public QA4 As String
11
     Public QA1 As String : Public QA2 As String : Public QA3 As String : Public QA4 As String
12
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13
-    Public 版本 As String = "2021073001"
13
+    Public 版本 As String = "2021091601"
14
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16
     Public 判斷重登 As Boolean : Public 內外網 As Boolean : Public 重登確認 As Boolean : Public 主頁開啟 As Boolean
16
     Public 判斷重登 As Boolean : Public 內外網 As Boolean : Public 重登確認 As Boolean : Public 主頁開啟 As Boolean
23
     Public PA24 As String = "" : Public PA25 As String = "" : Public PA26 As String = "" : Public PA27 As String = "" : Public PA28 As String = "" : Public PA29 As String = ""
23
     Public PA24 As String = "" : Public PA25 As String = "" : Public PA26 As String = "" : Public PA27 As String = "" : Public PA28 As String = "" : Public PA29 As String = ""
24
     Public PA30 As String = "" : Public PA31 As String = "" : Public PA32 As String = "" : Public PA33 As String = "" : Public PA34 As String = "" : Public PA35 As String = ""
24
     Public PA30 As String = "" : Public PA31 As String = "" : Public PA32 As String = "" : Public PA33 As String = "" : Public PA34 As String = "" : Public PA35 As String = ""
25
     Public PA36 As String = "" : Public PA37 As String = "" : Public PA38 As String = "" : Public PA39 As String = "" : Public PA40 As String = "" : Public PA41 As String = ""
25
     Public PA36 As String = "" : Public PA37 As String = "" : Public PA38 As String = "" : Public PA39 As String = "" : Public PA40 As String = "" : Public PA41 As String = ""
26
+    Public PA42 As String = ""
26
     '----全域數字變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27
     '----全域數字變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27
     Public NU1 As Double : Public NU2 As Double : Public NU3 As Double : Public NU4 As Double : Public NU5 As Double
28
     Public NU1 As Double : Public NU2 As Double : Public NU3 As Double : Public NU4 As Double : Public NU5 As Double
28
     '----全域布林含數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
29
     '----全域布林含數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

+ 50
- 0
GA-ERP-SYS/My Project/Resources.Designer.vb Просмотреть файл

60
             End Set
60
             End Set
61
         End Property
61
         End Property
62
         
62
         
63
+        '''<summary>
64
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
65
+        '''</summary>
66
+        Friend ReadOnly Property _00aa2ad767a242ddc3099a90a5c7edb() As System.Drawing.Bitmap
67
+            Get
68
+                Dim obj As Object = ResourceManager.GetObject("00aa2ad767a242ddc3099a90a5c7edb", resourceCulture)
69
+                Return CType(obj,System.Drawing.Bitmap)
70
+            End Get
71
+        End Property
72
+        
63
         '''<summary>
73
         '''<summary>
64
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
74
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
65
         '''</summary>
75
         '''</summary>
70
             End Get
80
             End Get
71
         End Property
81
         End Property
72
         
82
         
83
+        '''<summary>
84
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
85
+        '''</summary>
86
+        Friend ReadOnly Property _125425789654() As System.Drawing.Bitmap
87
+            Get
88
+                Dim obj As Object = ResourceManager.GetObject("125425789654", resourceCulture)
89
+                Return CType(obj,System.Drawing.Bitmap)
90
+            End Get
91
+        End Property
92
+        
73
         '''<summary>
93
         '''<summary>
74
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
94
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
75
         '''</summary>
95
         '''</summary>
90
             End Get
110
             End Get
91
         End Property
111
         End Property
92
         
112
         
113
+        '''<summary>
114
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
115
+        '''</summary>
116
+        Friend ReadOnly Property _1631414926457() As System.Drawing.Bitmap
117
+            Get
118
+                Dim obj As Object = ResourceManager.GetObject("1631414926457", resourceCulture)
119
+                Return CType(obj,System.Drawing.Bitmap)
120
+            End Get
121
+        End Property
122
+        
123
+        '''<summary>
124
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
125
+        '''</summary>
126
+        Friend ReadOnly Property _47526ccfe6fd81c95524745ad12d1f7() As System.Drawing.Bitmap
127
+            Get
128
+                Dim obj As Object = ResourceManager.GetObject("47526ccfe6fd81c95524745ad12d1f7", resourceCulture)
129
+                Return CType(obj,System.Drawing.Bitmap)
130
+            End Get
131
+        End Property
132
+        
133
+        '''<summary>
134
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
135
+        '''</summary>
136
+        Friend ReadOnly Property _5bb63d4ef7f776f75809dfb810d8a16() As System.Drawing.Bitmap
137
+            Get
138
+                Dim obj As Object = ResourceManager.GetObject("5bb63d4ef7f776f75809dfb810d8a16", resourceCulture)
139
+                Return CType(obj,System.Drawing.Bitmap)
140
+            End Get
141
+        End Property
142
+        
93
         '''<summary>
143
         '''<summary>
94
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
144
         '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
95
         '''</summary>
145
         '''</summary>

+ 24
- 9
GA-ERP-SYS/My Project/Resources.resx Просмотреть файл

121
   <data name="Personnel1" type="System.Resources.ResXFileRef, System.Windows.Forms">
121
   <data name="Personnel1" type="System.Resources.ResXFileRef, System.Windows.Forms">
122
     <value>..\圖片\Personnel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
122
     <value>..\圖片\Personnel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123
   </data>
123
   </data>
124
+  <data name="125425789654" type="System.Resources.ResXFileRef, System.Windows.Forms">
125
+    <value>..\圖片\125425789654.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126
+  </data>
124
   <data name="Shipping51" type="System.Resources.ResXFileRef, System.Windows.Forms">
127
   <data name="Shipping51" type="System.Resources.ResXFileRef, System.Windows.Forms">
125
     <value>..\圖片\Shipping5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
128
     <value>..\圖片\Shipping5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126
   </data>
129
   </data>
130
+  <data name="0111121hh" type="System.Resources.ResXFileRef, System.Windows.Forms">
131
+    <value>..\圖片\0111121hh.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
132
+  </data>
127
   <data name="Delivery-Icon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
133
   <data name="Delivery-Icon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
128
     <value>..\圖片\Delivery-Icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
134
     <value>..\圖片\Delivery-Icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
129
   </data>
135
   </data>
133
   <data name="pen1" type="System.Resources.ResXFileRef, System.Windows.Forms">
139
   <data name="pen1" type="System.Resources.ResXFileRef, System.Windows.Forms">
134
     <value>..\圖片\pen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
140
     <value>..\圖片\pen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
135
   </data>
141
   </data>
142
+  <data name="Shipping5" type="System.Resources.ResXFileRef, System.Windows.Forms">
143
+    <value>..\圖片\Shipping5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
144
+  </data>
136
   <data name="check-icon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
145
   <data name="check-icon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
137
     <value>..\圖片\check-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
146
     <value>..\圖片\check-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
138
   </data>
147
   </data>
160
   <data name="Sys-Command" type="System.Resources.ResXFileRef, System.Windows.Forms">
169
   <data name="Sys-Command" type="System.Resources.ResXFileRef, System.Windows.Forms">
161
     <value>..\圖片\Sys-Command.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
170
     <value>..\圖片\Sys-Command.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
162
   </data>
171
   </data>
163
-  <data name="0111121hh" type="System.Resources.ResXFileRef, System.Windows.Forms">
164
-    <value>..\圖片\0111121hh.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
172
+  <data name="1631414926457" type="System.Resources.ResXFileRef, System.Windows.Forms">
173
+    <value>..\圖片\1631414926457.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
174
+  </data>
175
+  <data name="1627008239188" type="System.Resources.ResXFileRef, System.Windows.Forms">
176
+    <value>..\圖片\1627008239188.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
165
   </data>
177
   </data>
166
   <data name="delivery" type="System.Resources.ResXFileRef, System.Windows.Forms">
178
   <data name="delivery" type="System.Resources.ResXFileRef, System.Windows.Forms">
167
     <value>..\圖片\delivery.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
179
     <value>..\圖片\delivery.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
168
   </data>
180
   </data>
169
-  <data name="timg03" type="System.Resources.ResXFileRef, System.Windows.Forms">
170
-    <value>..\圖片\timg03.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
171
-  </data>
172
   <data name="depositphotos_189846782-stock-illustration-ga-g-a-letter-logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
181
   <data name="depositphotos_189846782-stock-illustration-ga-g-a-letter-logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
173
     <value>..\圖片\depositphotos_189846782-stock-illustration-ga-g-a-letter-logo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
182
     <value>..\圖片\depositphotos_189846782-stock-illustration-ga-g-a-letter-logo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
174
   </data>
183
   </data>
184
   <data name="check" type="System.Resources.ResXFileRef, System.Windows.Forms">
193
   <data name="check" type="System.Resources.ResXFileRef, System.Windows.Forms">
185
     <value>..\圖片\check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
194
     <value>..\圖片\check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
186
   </data>
195
   </data>
196
+  <data name="5bb63d4ef7f776f75809dfb810d8a16" type="System.Resources.ResXFileRef, System.Windows.Forms">
197
+    <value>..\圖片\5bb63d4ef7f776f75809dfb810d8a16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
198
+  </data>
187
   <data name="timg13" type="System.Resources.ResXFileRef, System.Windows.Forms">
199
   <data name="timg13" type="System.Resources.ResXFileRef, System.Windows.Forms">
188
     <value>..\圖片\timg13.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
200
     <value>..\圖片\timg13.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
189
   </data>
201
   </data>
196
   <data name="check1" type="System.Resources.ResXFileRef, System.Windows.Forms">
208
   <data name="check1" type="System.Resources.ResXFileRef, System.Windows.Forms">
197
     <value>..\圖片\check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
209
     <value>..\圖片\check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
198
   </data>
210
   </data>
199
-  <data name="Shipping5" type="System.Resources.ResXFileRef, System.Windows.Forms">
200
-    <value>..\圖片\Shipping5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
211
+  <data name="timg03" type="System.Resources.ResXFileRef, System.Windows.Forms">
212
+    <value>..\圖片\timg03.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
201
   </data>
213
   </data>
202
   <data name="basket_back1" type="System.Resources.ResXFileRef, System.Windows.Forms">
214
   <data name="basket_back1" type="System.Resources.ResXFileRef, System.Windows.Forms">
203
     <value>..\圖片\basket_back.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
215
     <value>..\圖片\basket_back.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
214
   <data name="check-icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
226
   <data name="check-icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
215
     <value>..\圖片\check-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
227
     <value>..\圖片\check-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
216
   </data>
228
   </data>
229
+  <data name="47526ccfe6fd81c95524745ad12d1f7" type="System.Resources.ResXFileRef, System.Windows.Forms">
230
+    <value>..\圖片\47526ccfe6fd81c95524745ad12d1f7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
231
+  </data>
217
   <data name="timg02" type="System.Resources.ResXFileRef, System.Windows.Forms">
232
   <data name="timg02" type="System.Resources.ResXFileRef, System.Windows.Forms">
218
     <value>..\圖片\timg02.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
233
     <value>..\圖片\timg02.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
219
   </data>
234
   </data>
226
   <data name="business-info" type="System.Resources.ResXFileRef, System.Windows.Forms">
241
   <data name="business-info" type="System.Resources.ResXFileRef, System.Windows.Forms">
227
     <value>..\圖片\business-info.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
242
     <value>..\圖片\business-info.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
228
   </data>
243
   </data>
229
-  <data name="1627008239188" type="System.Resources.ResXFileRef, System.Windows.Forms">
230
-    <value>..\圖片\1627008239188.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
244
+  <data name="00aa2ad767a242ddc3099a90a5c7edb" type="System.Resources.ResXFileRef, System.Windows.Forms">
245
+    <value>..\圖片\00aa2ad767a242ddc3099a90a5c7edb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
231
   </data>
246
   </data>
232
 </root>
247
 </root>

+ 36
- 36
GA-ERP-SYS/My Project/Settings.Designer.vb Просмотреть файл

1
 '------------------------------------------------------------------------------
1
 '------------------------------------------------------------------------------
2
 ' <auto-generated>
2
 ' <auto-generated>
3
-'     This code was generated by a tool.
4
-'     Runtime Version:4.0.30319.42000
3
+'     這段程式碼是由工具產生的。
4
+'     執行階段版本:4.0.30319.42000
5
 '
5
 '
6
-'     Changes to this file may cause incorrect behavior and will be lost if
7
-'     the code is regenerated.
6
+'     對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
7
+'     變更將會遺失。
8
 ' </auto-generated>
8
 ' </auto-generated>
9
 '------------------------------------------------------------------------------
9
 '------------------------------------------------------------------------------
10
 
10
 
13
 
13
 
14
 
14
 
15
 Namespace My
15
 Namespace My
16
-
17
-    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18
-     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
19
-     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
16
+    
17
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
18
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.5.0.0"),  _
19
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
20
     Partial Friend NotInheritable Class MySettings
20
     Partial Friend NotInheritable Class MySettings
21
         Inherits Global.System.Configuration.ApplicationSettingsBase
21
         Inherits Global.System.Configuration.ApplicationSettingsBase
22
-
23
-        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
24
-
25
-#Region "My.Settings Auto-Save Functionality"
22
+        
23
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
24
+        
25
+#Region "My.Settings 自動儲存功能"
26
 #If _MyType = "WindowsForms" Then
26
 #If _MyType = "WindowsForms" Then
27
-        Private Shared addedHandler As Boolean
27
+    Private Shared addedHandler As Boolean
28
 
28
 
29
-        Private Shared addedHandlerLockObject As New Object
29
+    Private Shared addedHandlerLockObject As New Object
30
 
30
 
31
-        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
-        Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33
-            If My.Application.SaveMySettingsOnExit Then
34
-                My.Settings.Save()
35
-            End If
36
-        End Sub
31
+    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
+    Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
33
+        If My.Application.SaveMySettingsOnExit Then
34
+            My.Settings.Save()
35
+        End If
36
+    End Sub
37
 #End If
37
 #End If
38
 #End Region
38
 #End Region
39
-
39
+        
40
         Public Shared ReadOnly Property [Default]() As MySettings
40
         Public Shared ReadOnly Property [Default]() As MySettings
41
             Get
41
             Get
42
-
42
+                
43
 #If _MyType = "WindowsForms" Then
43
 #If _MyType = "WindowsForms" Then
44
-                   If Not addedHandler Then
45
-                        SyncLock addedHandlerLockObject
46
-                            If Not addedHandler Then
47
-                                AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
-                                addedHandler = True
49
-                            End If
50
-                        End SyncLock
51
-                    End If
44
+               If Not addedHandler Then
45
+                    SyncLock addedHandlerLockObject
46
+                        If Not addedHandler Then
47
+                            AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
+                            addedHandler = True
49
+                        End If
50
+                    End SyncLock
51
+                End If
52
 #End If
52
 #End If
53
                 Return defaultInstance
53
                 Return defaultInstance
54
             End Get
54
             End Get
57
 End Namespace
57
 End Namespace
58
 
58
 
59
 Namespace My
59
 Namespace My
60
-
61
-    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
62
-     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63
-     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
60
+    
61
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
62
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
63
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
64
     Friend Module MySettingsProperty
64
     Friend Module MySettingsProperty
65
-
66
-        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
65
+        
66
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
67
         Friend ReadOnly Property Settings() As Global.GA_ERP_SYS.My.MySettings
67
         Friend ReadOnly Property Settings() As Global.GA_ERP_SYS.My.MySettings
68
             Get
68
             Get
69
                 Return Global.GA_ERP_SYS.My.MySettings.Default
69
                 Return Global.GA_ERP_SYS.My.MySettings.Default

Двоичные данные
GA-ERP-SYS/bin/Debug/Auto.exe Просмотреть файл


Двоичные данные
GA-ERP-SYS/bin/Debug/GA-ERP-SYS.exe Просмотреть файл


+ 3
- 3
GA-ERP-SYS/bin/Debug/GA-ERP-SYS.exe.config Просмотреть файл

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

Двоичные данные
GA-ERP-SYS/bin/Debug/GA-ERP-SYS.pdb Просмотреть файл


+ 25
- 0
GA-ERP-SYS/bin/Debug/GA-ERP-SYS.xml Просмотреть файл

22
   使用這個強類型資源類別的資源查閱。
22
   使用這個強類型資源類別的資源查閱。
23
 </summary>
23
 </summary>
24
 </member>
24
 </member>
25
+<member name="P:GA_ERP_SYS.My.Resources.Resources._00aa2ad767a242ddc3099a90a5c7edb">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
25
 <member name="P:GA_ERP_SYS.My.Resources.Resources._0111121hh">
30
 <member name="P:GA_ERP_SYS.My.Resources.Resources._0111121hh">
26
 <summary>
31
 <summary>
27
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
32
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
 </summary>
33
 </summary>
29
 </member>
34
 </member>
35
+<member name="P:GA_ERP_SYS.My.Resources.Resources._125425789654">
36
+<summary>
37
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
38
+</summary>
39
+</member>
30
 <member name="P:GA_ERP_SYS.My.Resources.Resources._1627008239187">
40
 <member name="P:GA_ERP_SYS.My.Resources.Resources._1627008239187">
31
 <summary>
41
 <summary>
32
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
42
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
37
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
47
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
38
 </summary>
48
 </summary>
39
 </member>
49
 </member>
50
+<member name="P:GA_ERP_SYS.My.Resources.Resources._1631414926457">
51
+<summary>
52
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
53
+</summary>
54
+</member>
55
+<member name="P:GA_ERP_SYS.My.Resources.Resources._47526ccfe6fd81c95524745ad12d1f7">
56
+<summary>
57
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
58
+</summary>
59
+</member>
60
+<member name="P:GA_ERP_SYS.My.Resources.Resources._5bb63d4ef7f776f75809dfb810d8a16">
61
+<summary>
62
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
63
+</summary>
64
+</member>
40
 <member name="P:GA_ERP_SYS.My.Resources.Resources.basket_back">
65
 <member name="P:GA_ERP_SYS.My.Resources.Resources.basket_back">
41
 <summary>
66
 <summary>
42
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
67
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。

Двоичные данные
GA-ERP-SYS/bin/Debug/chromedriver.exe Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.exe Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.pdb Просмотреть файл


+ 1
- 1
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.CoreCompileInputs.cache Просмотреть файл

1
-21f061c57a10f84251eafdb24fe43be1b961d696
1
+6526e6772923c5594ab2b4b0d5a97d2ed4a7694f

+ 1
- 0
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.FileListAbsolute.txt Просмотреть файл

119
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.資料備份轉移.resources
119
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.資料備份轉移.resources
120
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.帳務彙總計算表.resources
120
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.帳務彙總計算表.resources
121
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.帳務明細查詢表.resources
121
 D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.帳務明細查詢表.resources
122
+D:\工巧明\GAME- Accounting-SYS\GA-ERP-SYS\GA-ERP-SYS\obj\Debug\GA_ERP_SYS.錯誤排除手冊.resources

Двоичные данные
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbproj.GenerateResource.cache Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.vbprojAssemblyReference.cache Просмотреть файл


+ 25
- 0
GA-ERP-SYS/obj/Debug/GA-ERP-SYS.xml Просмотреть файл

22
   使用這個強類型資源類別的資源查閱。
22
   使用這個強類型資源類別的資源查閱。
23
 </summary>
23
 </summary>
24
 </member>
24
 </member>
25
+<member name="P:GA_ERP_SYS.My.Resources.Resources._00aa2ad767a242ddc3099a90a5c7edb">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
25
 <member name="P:GA_ERP_SYS.My.Resources.Resources._0111121hh">
30
 <member name="P:GA_ERP_SYS.My.Resources.Resources._0111121hh">
26
 <summary>
31
 <summary>
27
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
32
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
 </summary>
33
 </summary>
29
 </member>
34
 </member>
35
+<member name="P:GA_ERP_SYS.My.Resources.Resources._125425789654">
36
+<summary>
37
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
38
+</summary>
39
+</member>
30
 <member name="P:GA_ERP_SYS.My.Resources.Resources._1627008239187">
40
 <member name="P:GA_ERP_SYS.My.Resources.Resources._1627008239187">
31
 <summary>
41
 <summary>
32
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
42
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
37
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
47
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
38
 </summary>
48
 </summary>
39
 </member>
49
 </member>
50
+<member name="P:GA_ERP_SYS.My.Resources.Resources._1631414926457">
51
+<summary>
52
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
53
+</summary>
54
+</member>
55
+<member name="P:GA_ERP_SYS.My.Resources.Resources._47526ccfe6fd81c95524745ad12d1f7">
56
+<summary>
57
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
58
+</summary>
59
+</member>
60
+<member name="P:GA_ERP_SYS.My.Resources.Resources._5bb63d4ef7f776f75809dfb810d8a16">
61
+<summary>
62
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
63
+</summary>
64
+</member>
40
 <member name="P:GA_ERP_SYS.My.Resources.Resources.basket_back">
65
 <member name="P:GA_ERP_SYS.My.Resources.Resources.basket_back">
41
 <summary>
66
 <summary>
42
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。
67
   查詢類型 System.Drawing.Bitmap 的當地語系化資源。

Двоичные данные
GA-ERP-SYS/obj/Debug/GA_ERP_SYS.Resources.resources Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/GA_ERP_SYS.錯誤排除手冊.resources Просмотреть файл


Двоичные данные
GA-ERP-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll Просмотреть файл


Двоичные данные
GA-ERP-SYS/圖片/00aa2ad767a242ddc3099a90a5c7edb.png Просмотреть файл


Двоичные данные
GA-ERP-SYS/圖片/125425789654.png Просмотреть файл


Двоичные данные
GA-ERP-SYS/圖片/1631414926457.jpg Просмотреть файл


Двоичные данные
GA-ERP-SYS/圖片/47526ccfe6fd81c95524745ad12d1f7.png Просмотреть файл


Двоичные данные
GA-ERP-SYS/圖片/5bb63d4ef7f776f75809dfb810d8a16.png Просмотреть файл


+ 103
- 80
GA-ERP-SYS/基本資料管理/基本資料.Designer.vb Просмотреть файл

23
     <System.Diagnostics.DebuggerStepThrough()> _
23
     <System.Diagnostics.DebuggerStepThrough()> _
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle40 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle41 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle42 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle43 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle44 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle45 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle46 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle47 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
-        Dim DataGridViewCellStyle48 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
-        Dim DataGridViewCellStyle49 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
-        Dim DataGridViewCellStyle50 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
-        Dim DataGridViewCellStyle51 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
-        Dim DataGridViewCellStyle52 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
+        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
+        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
+        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
+        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
+        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
39
         Me.GroupBox1 = New System.Windows.Forms.GroupBox()
39
         Me.GroupBox1 = New System.Windows.Forms.GroupBox()
40
         Me.取消_bt = New System.Windows.Forms.Button()
40
         Me.取消_bt = New System.Windows.Forms.Button()
41
         Me.存檔_bt = New System.Windows.Forms.Button()
41
         Me.存檔_bt = New System.Windows.Forms.Button()
155
         Me.PictureBox1 = New System.Windows.Forms.PictureBox()
155
         Me.PictureBox1 = New System.Windows.Forms.PictureBox()
156
         Me.所得取消_bt = New System.Windows.Forms.Button()
156
         Me.所得取消_bt = New System.Windows.Forms.Button()
157
         Me.所得全選_bt = New System.Windows.Forms.Button()
157
         Me.所得全選_bt = New System.Windows.Forms.Button()
158
+        Me.所得指定_tb = New System.Windows.Forms.TextBox()
159
+        Me.Label28 = New System.Windows.Forms.Label()
158
         Me.GroupBox1.SuspendLayout()
160
         Me.GroupBox1.SuspendLayout()
159
         Me.GroupBox2.SuspendLayout()
161
         Me.GroupBox2.SuspendLayout()
160
         CType(Me.基數_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
162
         CType(Me.基數_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
235
         '
237
         '
236
         '基數_dgv
238
         '基數_dgv
237
         '
239
         '
238
-        DataGridViewCellStyle40.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
239
-        Me.基數_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle40
240
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
241
+        Me.基數_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
240
         Me.基數_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
242
         Me.基數_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
241
             Or System.Windows.Forms.AnchorStyles.Left) _
243
             Or System.Windows.Forms.AnchorStyles.Left) _
242
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
244
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
261
         '
263
         '
262
         '資料_dgv
264
         '資料_dgv
263
         '
265
         '
264
-        DataGridViewCellStyle41.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
265
-        Me.資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle41
266
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
267
+        Me.資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
266
         Me.資料_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
268
         Me.資料_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
267
             Or System.Windows.Forms.AnchorStyles.Left) _
269
             Or System.Windows.Forms.AnchorStyles.Left) _
268
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
270
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
365
         '
367
         '
366
         '商品_dgv
368
         '商品_dgv
367
         '
369
         '
368
-        DataGridViewCellStyle42.BackColor = System.Drawing.Color.LavenderBlush
369
-        Me.商品_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle42
370
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.LavenderBlush
371
+        Me.商品_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
370
         Me.商品_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
372
         Me.商品_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
371
             Or System.Windows.Forms.AnchorStyles.Left) _
373
             Or System.Windows.Forms.AnchorStyles.Left) _
372
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
374
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
475
         '
477
         '
476
         Me.GroupBox5.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
478
         Me.GroupBox5.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
477
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
479
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
480
+        Me.GroupBox5.Controls.Add(Me.所得指定_tb)
481
+        Me.GroupBox5.Controls.Add(Me.Label28)
478
         Me.GroupBox5.Controls.Add(Me.所得計算_ch)
482
         Me.GroupBox5.Controls.Add(Me.所得計算_ch)
479
         Me.GroupBox5.Controls.Add(Me.參與計算_ch)
483
         Me.GroupBox5.Controls.Add(Me.參與計算_ch)
480
         Me.GroupBox5.Controls.Add(Me.取消2_bt)
484
         Me.GroupBox5.Controls.Add(Me.取消2_bt)
531
         '取消2_bt
535
         '取消2_bt
532
         '
536
         '
533
         Me.取消2_bt.ForeColor = System.Drawing.Color.Black
537
         Me.取消2_bt.ForeColor = System.Drawing.Color.Black
534
-        Me.取消2_bt.Location = New System.Drawing.Point(389, 89)
538
+        Me.取消2_bt.Location = New System.Drawing.Point(389, 93)
535
         Me.取消2_bt.Name = "取消2_bt"
539
         Me.取消2_bt.Name = "取消2_bt"
536
         Me.取消2_bt.Size = New System.Drawing.Size(76, 24)
540
         Me.取消2_bt.Size = New System.Drawing.Size(76, 24)
537
         Me.取消2_bt.TabIndex = 1551
541
         Me.取消2_bt.TabIndex = 1551
541
         '存檔2_bt
545
         '存檔2_bt
542
         '
546
         '
543
         Me.存檔2_bt.ForeColor = System.Drawing.Color.Green
547
         Me.存檔2_bt.ForeColor = System.Drawing.Color.Green
544
-        Me.存檔2_bt.Location = New System.Drawing.Point(389, 64)
548
+        Me.存檔2_bt.Location = New System.Drawing.Point(389, 68)
545
         Me.存檔2_bt.Name = "存檔2_bt"
549
         Me.存檔2_bt.Name = "存檔2_bt"
546
         Me.存檔2_bt.Size = New System.Drawing.Size(76, 24)
550
         Me.存檔2_bt.Size = New System.Drawing.Size(76, 24)
547
         Me.存檔2_bt.TabIndex = 1550
551
         Me.存檔2_bt.TabIndex = 1550
636
         '
640
         '
637
         Me.客戶下刪除_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
641
         Me.客戶下刪除_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
638
         Me.客戶下刪除_bt.ForeColor = System.Drawing.Color.Red
642
         Me.客戶下刪除_bt.ForeColor = System.Drawing.Color.Red
639
-        Me.客戶下刪除_bt.Location = New System.Drawing.Point(389, 114)
643
+        Me.客戶下刪除_bt.Location = New System.Drawing.Point(389, 119)
640
         Me.客戶下刪除_bt.Name = "客戶下刪除_bt"
644
         Me.客戶下刪除_bt.Name = "客戶下刪除_bt"
641
         Me.客戶下刪除_bt.Size = New System.Drawing.Size(76, 24)
645
         Me.客戶下刪除_bt.Size = New System.Drawing.Size(76, 24)
642
         Me.客戶下刪除_bt.TabIndex = 1505
646
         Me.客戶下刪除_bt.TabIndex = 1505
653
         '客戶下修正_bt
657
         '客戶下修正_bt
654
         '
658
         '
655
         Me.客戶下修正_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
659
         Me.客戶下修正_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
656
-        Me.客戶下修正_bt.Location = New System.Drawing.Point(389, 39)
660
+        Me.客戶下修正_bt.Location = New System.Drawing.Point(389, 43)
657
         Me.客戶下修正_bt.Name = "客戶下修正_bt"
661
         Me.客戶下修正_bt.Name = "客戶下修正_bt"
658
         Me.客戶下修正_bt.Size = New System.Drawing.Size(76, 24)
662
         Me.客戶下修正_bt.Size = New System.Drawing.Size(76, 24)
659
         Me.客戶下修正_bt.TabIndex = 1504
663
         Me.客戶下修正_bt.TabIndex = 1504
675
         Me.客戶下新增_bt.BackColor = System.Drawing.SystemColors.ControlLight
679
         Me.客戶下新增_bt.BackColor = System.Drawing.SystemColors.ControlLight
676
         Me.客戶下新增_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
680
         Me.客戶下新增_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
677
         Me.客戶下新增_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
681
         Me.客戶下新增_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
678
-        Me.客戶下新增_bt.Location = New System.Drawing.Point(389, 14)
682
+        Me.客戶下新增_bt.Location = New System.Drawing.Point(389, 17)
679
         Me.客戶下新增_bt.Name = "客戶下新增_bt"
683
         Me.客戶下新增_bt.Name = "客戶下新增_bt"
680
         Me.客戶下新增_bt.Size = New System.Drawing.Size(76, 24)
684
         Me.客戶下新增_bt.Size = New System.Drawing.Size(76, 24)
681
         Me.客戶下新增_bt.TabIndex = 1503
685
         Me.客戶下新增_bt.TabIndex = 1503
684
         '
688
         '
685
         '客戶下_dgv
689
         '客戶下_dgv
686
         '
690
         '
687
-        DataGridViewCellStyle43.BackColor = System.Drawing.Color.Linen
688
-        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle43
691
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.Linen
692
+        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
689
         Me.客戶下_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
693
         Me.客戶下_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
690
             Or System.Windows.Forms.AnchorStyles.Left) _
694
             Or System.Windows.Forms.AnchorStyles.Left) _
691
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
695
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1173
         '
1177
         '
1174
         '商客_dgv
1178
         '商客_dgv
1175
         '
1179
         '
1176
-        DataGridViewCellStyle44.BackColor = System.Drawing.Color.LightCyan
1177
-        Me.商客_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle44
1180
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.LightCyan
1181
+        Me.商客_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
1178
         Me.商客_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1182
         Me.商客_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1179
             Or System.Windows.Forms.AnchorStyles.Left) _
1183
             Or System.Windows.Forms.AnchorStyles.Left) _
1180
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1184
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1327
         '
1331
         '
1328
         'LOG1_dgv
1332
         'LOG1_dgv
1329
         '
1333
         '
1330
-        DataGridViewCellStyle45.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1331
-        Me.LOG1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle45
1334
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1335
+        Me.LOG1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
1332
         Me.LOG1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1336
         Me.LOG1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1333
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1337
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1334
-        DataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1335
-        DataGridViewCellStyle46.BackColor = System.Drawing.SystemColors.Control
1336
-        DataGridViewCellStyle46.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1337
-        DataGridViewCellStyle46.ForeColor = System.Drawing.SystemColors.WindowText
1338
-        DataGridViewCellStyle46.SelectionBackColor = System.Drawing.SystemColors.Highlight
1339
-        DataGridViewCellStyle46.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1340
-        DataGridViewCellStyle46.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1341
-        Me.LOG1_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle46
1338
+        DataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1339
+        DataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control
1340
+        DataGridViewCellStyle7.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1341
+        DataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText
1342
+        DataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight
1343
+        DataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1344
+        DataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1345
+        Me.LOG1_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle7
1342
         Me.LOG1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1346
         Me.LOG1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1343
-        DataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1344
-        DataGridViewCellStyle47.BackColor = System.Drawing.SystemColors.Window
1345
-        DataGridViewCellStyle47.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1346
-        DataGridViewCellStyle47.ForeColor = System.Drawing.SystemColors.ControlText
1347
-        DataGridViewCellStyle47.SelectionBackColor = System.Drawing.SystemColors.Highlight
1348
-        DataGridViewCellStyle47.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1349
-        DataGridViewCellStyle47.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
1350
-        Me.LOG1_dgv.DefaultCellStyle = DataGridViewCellStyle47
1347
+        DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1348
+        DataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window
1349
+        DataGridViewCellStyle8.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1350
+        DataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText
1351
+        DataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight
1352
+        DataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1353
+        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
1354
+        Me.LOG1_dgv.DefaultCellStyle = DataGridViewCellStyle8
1351
         Me.LOG1_dgv.Location = New System.Drawing.Point(6, 18)
1355
         Me.LOG1_dgv.Location = New System.Drawing.Point(6, 18)
1352
         Me.LOG1_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1356
         Me.LOG1_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1353
         Me.LOG1_dgv.Name = "LOG1_dgv"
1357
         Me.LOG1_dgv.Name = "LOG1_dgv"
1354
-        DataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1355
-        DataGridViewCellStyle48.BackColor = System.Drawing.SystemColors.Control
1356
-        DataGridViewCellStyle48.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1357
-        DataGridViewCellStyle48.ForeColor = System.Drawing.SystemColors.WindowText
1358
-        DataGridViewCellStyle48.SelectionBackColor = System.Drawing.SystemColors.Highlight
1359
-        DataGridViewCellStyle48.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1360
-        DataGridViewCellStyle48.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1361
-        Me.LOG1_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle48
1358
+        DataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1359
+        DataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control
1360
+        DataGridViewCellStyle9.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1361
+        DataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText
1362
+        DataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight
1363
+        DataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1364
+        DataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1365
+        Me.LOG1_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle9
1362
         Me.LOG1_dgv.RowHeadersWidth = 4
1366
         Me.LOG1_dgv.RowHeadersWidth = 4
1363
         Me.LOG1_dgv.RowTemplate.Height = 24
1367
         Me.LOG1_dgv.RowTemplate.Height = 24
1364
         Me.LOG1_dgv.Size = New System.Drawing.Size(296, 457)
1368
         Me.LOG1_dgv.Size = New System.Drawing.Size(296, 457)
1366
         '
1370
         '
1367
         'LOG2_dgv
1371
         'LOG2_dgv
1368
         '
1372
         '
1369
-        DataGridViewCellStyle49.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
1370
-        Me.LOG2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle49
1373
+        DataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
1374
+        Me.LOG2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle10
1371
         Me.LOG2_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1375
         Me.LOG2_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1372
             Or System.Windows.Forms.AnchorStyles.Left) _
1376
             Or System.Windows.Forms.AnchorStyles.Left) _
1373
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1377
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1374
-        DataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1375
-        DataGridViewCellStyle50.BackColor = System.Drawing.SystemColors.Control
1376
-        DataGridViewCellStyle50.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1377
-        DataGridViewCellStyle50.ForeColor = System.Drawing.SystemColors.WindowText
1378
-        DataGridViewCellStyle50.SelectionBackColor = System.Drawing.SystemColors.Highlight
1379
-        DataGridViewCellStyle50.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1380
-        DataGridViewCellStyle50.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1381
-        Me.LOG2_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle50
1378
+        DataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1379
+        DataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control
1380
+        DataGridViewCellStyle11.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1381
+        DataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText
1382
+        DataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight
1383
+        DataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1384
+        DataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1385
+        Me.LOG2_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle11
1382
         Me.LOG2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1386
         Me.LOG2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1383
-        DataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1384
-        DataGridViewCellStyle51.BackColor = System.Drawing.SystemColors.Window
1385
-        DataGridViewCellStyle51.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1386
-        DataGridViewCellStyle51.ForeColor = System.Drawing.SystemColors.ControlText
1387
-        DataGridViewCellStyle51.SelectionBackColor = System.Drawing.SystemColors.Highlight
1388
-        DataGridViewCellStyle51.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1389
-        DataGridViewCellStyle51.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
1390
-        Me.LOG2_dgv.DefaultCellStyle = DataGridViewCellStyle51
1387
+        DataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1388
+        DataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window
1389
+        DataGridViewCellStyle12.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1390
+        DataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText
1391
+        DataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight
1392
+        DataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1393
+        DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
1394
+        Me.LOG2_dgv.DefaultCellStyle = DataGridViewCellStyle12
1391
         Me.LOG2_dgv.Location = New System.Drawing.Point(6, 478)
1395
         Me.LOG2_dgv.Location = New System.Drawing.Point(6, 478)
1392
         Me.LOG2_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1396
         Me.LOG2_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1393
         Me.LOG2_dgv.Name = "LOG2_dgv"
1397
         Me.LOG2_dgv.Name = "LOG2_dgv"
1394
-        DataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1395
-        DataGridViewCellStyle52.BackColor = System.Drawing.SystemColors.Control
1396
-        DataGridViewCellStyle52.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1397
-        DataGridViewCellStyle52.ForeColor = System.Drawing.SystemColors.WindowText
1398
-        DataGridViewCellStyle52.SelectionBackColor = System.Drawing.SystemColors.Highlight
1399
-        DataGridViewCellStyle52.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1400
-        DataGridViewCellStyle52.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1401
-        Me.LOG2_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle52
1398
+        DataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
1399
+        DataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control
1400
+        DataGridViewCellStyle13.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1401
+        DataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText
1402
+        DataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight
1403
+        DataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText
1404
+        DataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1405
+        Me.LOG2_dgv.RowHeadersDefaultCellStyle = DataGridViewCellStyle13
1402
         Me.LOG2_dgv.RowHeadersWidth = 4
1406
         Me.LOG2_dgv.RowHeadersWidth = 4
1403
         Me.LOG2_dgv.RowTemplate.Height = 24
1407
         Me.LOG2_dgv.RowTemplate.Height = 24
1404
         Me.LOG2_dgv.Size = New System.Drawing.Size(296, 210)
1408
         Me.LOG2_dgv.Size = New System.Drawing.Size(296, 210)
1545
         Me.所得全選_bt.Text = "所得全選"
1549
         Me.所得全選_bt.Text = "所得全選"
1546
         Me.所得全選_bt.UseVisualStyleBackColor = False
1550
         Me.所得全選_bt.UseVisualStyleBackColor = False
1547
         '
1551
         '
1552
+        '所得指定_tb
1553
+        '
1554
+        Me.所得指定_tb.Location = New System.Drawing.Point(253, 119)
1555
+        Me.所得指定_tb.Name = "所得指定_tb"
1556
+        Me.所得指定_tb.Size = New System.Drawing.Size(133, 23)
1557
+        Me.所得指定_tb.TabIndex = 1558
1558
+        '
1559
+        'Label28
1560
+        '
1561
+        Me.Label28.AutoSize = True
1562
+        Me.Label28.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1563
+        Me.Label28.Location = New System.Drawing.Point(197, 123)
1564
+        Me.Label28.Name = "Label28"
1565
+        Me.Label28.Size = New System.Drawing.Size(56, 16)
1566
+        Me.Label28.TabIndex = 1557
1567
+        Me.Label28.Text = "所得指定"
1568
+        '
1548
         '基本資料
1569
         '基本資料
1549
         '
1570
         '
1550
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
1571
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
1718
     Friend WithEvents Label27 As Label
1739
     Friend WithEvents Label27 As Label
1719
     Friend WithEvents 所得取消_bt As Button
1740
     Friend WithEvents 所得取消_bt As Button
1720
     Friend WithEvents 所得全選_bt As Button
1741
     Friend WithEvents 所得全選_bt As Button
1742
+    Friend WithEvents 所得指定_tb As TextBox
1743
+    Friend WithEvents Label28 As Label
1721
 End Class
1744
 End Class

+ 12
- 8
GA-ERP-SYS/基本資料管理/基本資料.vb Просмотреть файл

132
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
132
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
133
         商品_tb.Enabled = False : 網址2_tb.Enabled = False : 編號_tb.Enabled = False : 帳號_tb.Enabled = False : 密碼_tb.Enabled = False : 上繳源_tb.Enabled = False
133
         商品_tb.Enabled = False : 網址2_tb.Enabled = False : 編號_tb.Enabled = False : 帳號_tb.Enabled = False : 密碼_tb.Enabled = False : 上繳源_tb.Enabled = False
134
         客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False : L50.Visible = False : 參與計算_ch.Enabled = False : 上下同帳_ch.Enabled = False : 所得計算_ch.Enabled = False
134
         客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False : L50.Visible = False : 參與計算_ch.Enabled = False : 上下同帳_ch.Enabled = False : 所得計算_ch.Enabled = False
135
-
135
+        所得指定_tb.Enabled = False
136
         PictureBox1.BringToFront()
136
         PictureBox1.BringToFront()
137
         '-------------------------------------------------------------------------------------------------------
137
         '-------------------------------------------------------------------------------------------------------
138
         SQL_下拉資料清單讀取()
138
         SQL_下拉資料清單讀取()
262
     End Sub
262
     End Sub
263
     '----------------------------------------------下行客戶----------------------------------------------------------------
263
     '----------------------------------------------下行客戶----------------------------------------------------------------
264
     Private Sub 客戶下新增_bt_Click(sender As Object, e As EventArgs) Handles 客戶下新增_bt.Click
264
     Private Sub 客戶下新增_bt_Click(sender As Object, e As EventArgs) Handles 客戶下新增_bt.Click
265
-        客戶下新增_bt.Enabled = False : 客戶下_tb.Enabled = True : 客戶名稱_tb.Enabled = True
265
+        客戶下新增_bt.Enabled = False : 客戶下_tb.Enabled = True : 客戶名稱_tb.Enabled = True : 所得指定_tb.Enabled = True
266
         客戶下_tb.Text = "" : 客戶名稱_tb.Text = "" : 參與計算_ch.Checked = True : 上下同帳_ch.Checked = False : 所得計算_ch.Checked = True
266
         客戶下_tb.Text = "" : 客戶名稱_tb.Text = "" : 參與計算_ch.Checked = True : 上下同帳_ch.Checked = False : 所得計算_ch.Checked = True
267
     End Sub
267
     End Sub
268
     Private Sub 客戶下修正_bt_Click(sender As Object, e As EventArgs) Handles 客戶下修正_bt.Click
268
     Private Sub 客戶下修正_bt_Click(sender As Object, e As EventArgs) Handles 客戶下修正_bt.Click
269
-        客戶下修正_bt.Enabled = False : 客戶下_tb.Enabled = True : 客戶名稱_tb.Enabled = True
269
+        客戶下修正_bt.Enabled = False : 客戶下_tb.Enabled = True : 客戶名稱_tb.Enabled = True : 所得指定_tb.Enabled = True
270
     End Sub
270
     End Sub
271
     Private Sub 存檔2_bt_Click(sender As Object, e As EventArgs) Handles 存檔2_bt.Click
271
     Private Sub 存檔2_bt_Click(sender As Object, e As EventArgs) Handles 存檔2_bt.Click
272
         If 客戶下新增_bt.Enabled = False Then
272
         If 客戶下新增_bt.Enabled = False Then
288
                     ElseIf GP > 999999 Then : GPP = "GA" & GP : End If : PA10 = GPP
288
                     ElseIf GP > 999999 Then : GPP = "GA" & GP : End If : PA10 = GPP
289
 
289
 
290
                     SQL_系統編碼規則_客戶下新增() : MsgBox("新增完成") : conn.Close() : dr.Close()
290
                     SQL_系統編碼規則_客戶下新增() : MsgBox("新增完成") : conn.Close() : dr.Close()
291
-                    客戶下新增_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False
291
+                    客戶下新增_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False : 所得指定_tb.Enabled = False
292
                 End If
292
                 End If
293
             End If : PA = "" : Set_客戶下清單()
293
             End If : PA = "" : Set_客戶下清單()
294
         ElseIf 客戶下修正_bt.Enabled = False Then
294
         ElseIf 客戶下修正_bt.Enabled = False Then
295
             If 客戶下_tb.Text = "" Or 網址3_tb.Text = "" Or 帳號3_tb.Text = "" Then
295
             If 客戶下_tb.Text = "" Or 網址3_tb.Text = "" Or 帳號3_tb.Text = "" Then
296
                 MsgBox("資料有缺或有誤,請重新檢查")
296
                 MsgBox("資料有缺或有誤,請重新檢查")
297
             Else
297
             Else
298
-                PA = 客戶下_tb.Text : PA1 = 網址3_tb.Text : PA2 = 帳號3_tb.Text : PA3 = 下行1_cb.Text : PA4 = 客戶名稱_tb.Text
298
+                PA = 客戶下_tb.Text : PA1 = 網址3_tb.Text : PA2 = 帳號3_tb.Text : PA3 = 下行1_cb.Text : PA4 = 客戶名稱_tb.Text : PA5 = 所得指定_tb.Text
299
                 SQL_系統編碼規則_客戶下修改() : MsgBox("修改完成") : conn.Close() : dr.Close()
299
                 SQL_系統編碼規則_客戶下修改() : MsgBox("修改完成") : conn.Close() : dr.Close()
300
-                客戶下修正_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False
300
+                客戶下修正_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False : 所得指定_tb.Enabled = False
301
             End If : PA = "" : Set_客戶下清單()
301
             End If : PA = "" : Set_客戶下清單()
302
         End If
302
         End If
303
     End Sub
303
     End Sub
304
     Private Sub 取消2_bt_Click(sender As Object, e As EventArgs) Handles 取消2_bt.Click
304
     Private Sub 取消2_bt_Click(sender As Object, e As EventArgs) Handles 取消2_bt.Click
305
         客戶下修正_bt.Enabled = True : 客戶下新增_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False
305
         客戶下修正_bt.Enabled = True : 客戶下新增_bt.Enabled = True : 客戶下_tb.Enabled = False : 客戶名稱_tb.Enabled = False
306
-        參與計算_ch.Checked = False : 上下同帳_ch.Checked = False : 所得計算_ch.Checked = False
306
+        參與計算_ch.Checked = False : 上下同帳_ch.Checked = False : 所得計算_ch.Checked = False : 所得指定_tb.Enabled = False
307
     End Sub
307
     End Sub
308
     Private Sub 客戶下刪除_bt_Click(sender As Object, e As EventArgs) Handles 客戶下刪除_bt.Click
308
     Private Sub 客戶下刪除_bt_Click(sender As Object, e As EventArgs) Handles 客戶下刪除_bt.Click
309
         Dim aa As MsgBoxResult = MsgBox("確定要刪除該筆資料?", MsgBoxStyle.OkCancel)
309
         Dim aa As MsgBoxResult = MsgBox("確定要刪除該筆資料?", MsgBoxStyle.OkCancel)
336
             For i As Integer = 0 To 客戶下_dgv.Rows.Count - 1
336
             For i As Integer = 0 To 客戶下_dgv.Rows.Count - 1
337
                 MyModule1.進度條()
337
                 MyModule1.進度條()
338
                 PA = 客戶下_dgv("流水號", i).Value.ToString : BL1 = 客戶下_dgv("計算", i).Value : BL2 = 客戶下_dgv("同帳", i).Value : BL3 = 客戶下_dgv("所得", i).Value
338
                 PA = 客戶下_dgv("流水號", i).Value.ToString : BL1 = 客戶下_dgv("計算", i).Value : BL2 = 客戶下_dgv("同帳", i).Value : BL3 = 客戶下_dgv("所得", i).Value
339
+                PA1 = 客戶下_dgv("所得指定", i).Value.ToString
339
                 SQL_系統編碼規則_客戶下批改()
340
                 SQL_系統編碼規則_客戶下批改()
340
             Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0 : MsgBox("批量存檔完成!!!")
341
             Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0 : MsgBox("批量存檔完成!!!")
341
         End If : conn.Close() : PA = ""
342
         End If : conn.Close() : PA = ""
533
         End If
534
         End If
534
     End Sub
535
     End Sub
535
     Private Sub 開網站_bt_Click(sender As Object, e As EventArgs) Handles 開網站_bt.Click
536
     Private Sub 開網站_bt_Click(sender As Object, e As EventArgs) Handles 開網站_bt.Click
536
-        Shell("Rundll32.exe url.dll, FileProtocolHandler http://" & 網址2_tb.Text, vbNormalFocus)
537
+        Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
538
+        Dim fullPath As String
539
+        fullPath = Path.GetFullPath(fileName)
540
+        Process.Start(fullPath, "--app= http://" & 網址2_tb.Text)
537
     End Sub
541
     End Sub
538
     Public Sub Delay(ByRef Interval As Double)  'Interval单位为毫秒
542
     Public Sub Delay(ByRef Interval As Double)  'Interval单位为毫秒
539
         Dim time As DateTime = DateTime.Now
543
         Dim time As DateTime = DateTime.Now

+ 49
- 49
GA-ERP-SYS/報表系統管理/帳務彙總計算表.Designer.vb Просмотреть файл

23
     <System.Diagnostics.DebuggerStepThrough()>
23
     <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
-        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
-        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
-        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
39
-        Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
40
-        Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle21 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle22 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle23 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
+        Dim DataGridViewCellStyle24 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
+        Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
+        Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
+        Dim DataGridViewCellStyle27 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
+        Dim DataGridViewCellStyle28 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
39
+        Dim DataGridViewCellStyle29 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
40
+        Dim DataGridViewCellStyle30 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
41
         Me.流水帳_dgv = New System.Windows.Forms.DataGridView()
41
         Me.流水帳_dgv = New System.Windows.Forms.DataGridView()
42
         Me.Label9 = New System.Windows.Forms.Label()
42
         Me.Label9 = New System.Windows.Forms.Label()
43
         Me.資料_cb = New System.Windows.Forms.ComboBox()
43
         Me.資料_cb = New System.Windows.Forms.ComboBox()
164
         '
164
         '
165
         '流水帳_dgv
165
         '流水帳_dgv
166
         '
166
         '
167
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
168
-        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
167
+        DataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
168
+        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle16
169
         Me.流水帳_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
169
         Me.流水帳_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
170
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
170
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
171
         Me.流水帳_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
171
         Me.流水帳_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
242
         '
242
         '
243
         '彙總_dgv
243
         '彙總_dgv
244
         '
244
         '
245
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
246
-        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
245
+        DataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
246
+        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
247
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
247
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
248
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
248
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
249
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
249
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
251
         Me.彙總_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
251
         Me.彙總_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
252
         Me.彙總_dgv.Name = "彙總_dgv"
252
         Me.彙總_dgv.Name = "彙總_dgv"
253
         Me.彙總_dgv.RowHeadersWidth = 4
253
         Me.彙總_dgv.RowHeadersWidth = 4
254
-        DataGridViewCellStyle3.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
255
-        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
254
+        DataGridViewCellStyle18.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
255
+        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle18
256
         Me.彙總_dgv.RowTemplate.Height = 24
256
         Me.彙總_dgv.RowTemplate.Height = 24
257
         Me.彙總_dgv.Size = New System.Drawing.Size(241, 961)
257
         Me.彙總_dgv.Size = New System.Drawing.Size(241, 961)
258
         Me.彙總_dgv.TabIndex = 1521
258
         Me.彙總_dgv.TabIndex = 1521
343
         '
343
         '
344
         '彙總1_dgv
344
         '彙總1_dgv
345
         '
345
         '
346
-        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
347
-        Me.彙總1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
346
+        DataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
347
+        Me.彙總1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle19
348
         Me.彙總1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
348
         Me.彙總1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
349
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
349
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
350
         Me.彙總1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
350
         Me.彙總1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
363
         Me.彙總2_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
363
         Me.彙總2_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
364
         Me.彙總2_dgv.Name = "彙總2_dgv"
364
         Me.彙總2_dgv.Name = "彙總2_dgv"
365
         Me.彙總2_dgv.RowHeadersWidth = 4
365
         Me.彙總2_dgv.RowHeadersWidth = 4
366
-        DataGridViewCellStyle5.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
367
-        Me.彙總2_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
366
+        DataGridViewCellStyle20.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
367
+        Me.彙總2_dgv.RowsDefaultCellStyle = DataGridViewCellStyle20
368
         Me.彙總2_dgv.RowTemplate.Height = 24
368
         Me.彙總2_dgv.RowTemplate.Height = 24
369
         Me.彙總2_dgv.Size = New System.Drawing.Size(512, 257)
369
         Me.彙總2_dgv.Size = New System.Drawing.Size(512, 257)
370
         Me.彙總2_dgv.TabIndex = 1535
370
         Me.彙總2_dgv.TabIndex = 1535
371
         '
371
         '
372
         '客戶下_dgv
372
         '客戶下_dgv
373
         '
373
         '
374
-        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
375
-        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
374
+        DataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
375
+        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle21
376
         Me.客戶下_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
376
         Me.客戶下_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
377
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
377
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
378
         Me.客戶下_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
378
         Me.客戶下_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
421
         '
421
         '
422
         'LOG1_dgv
422
         'LOG1_dgv
423
         '
423
         '
424
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
425
-        Me.LOG1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
424
+        DataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
425
+        Me.LOG1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle22
426
         Me.LOG1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
426
         Me.LOG1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
427
         Me.LOG1_dgv.Location = New System.Drawing.Point(6, 18)
427
         Me.LOG1_dgv.Location = New System.Drawing.Point(6, 18)
428
         Me.LOG1_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
428
         Me.LOG1_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
434
         '
434
         '
435
         'LOG2_dgv
435
         'LOG2_dgv
436
         '
436
         '
437
-        DataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
438
-        Me.LOG2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
437
+        DataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
438
+        Me.LOG2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle23
439
         Me.LOG2_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
439
         Me.LOG2_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
440
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
440
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
441
         Me.LOG2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
441
         Me.LOG2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
503
         '
503
         '
504
         '日期_dgv
504
         '日期_dgv
505
         '
505
         '
506
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
507
-        Me.日期_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
506
+        DataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
507
+        Me.日期_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle24
508
         Me.日期_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
508
         Me.日期_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
509
             Or System.Windows.Forms.AnchorStyles.Left) _
509
             Or System.Windows.Forms.AnchorStyles.Left) _
510
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
510
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
796
         '
796
         '
797
         '彙總3_dgv
797
         '彙總3_dgv
798
         '
798
         '
799
-        DataGridViewCellStyle10.BackColor = System.Drawing.Color.LightGoldenrodYellow
800
-        Me.彙總3_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle10
799
+        DataGridViewCellStyle25.BackColor = System.Drawing.Color.LightGoldenrodYellow
800
+        Me.彙總3_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle25
801
         Me.彙總3_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
801
         Me.彙總3_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
802
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
802
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
803
         Me.彙總3_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
803
         Me.彙總3_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
805
         Me.彙總3_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
805
         Me.彙總3_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
806
         Me.彙總3_dgv.Name = "彙總3_dgv"
806
         Me.彙總3_dgv.Name = "彙總3_dgv"
807
         Me.彙總3_dgv.RowHeadersWidth = 4
807
         Me.彙總3_dgv.RowHeadersWidth = 4
808
-        DataGridViewCellStyle11.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
809
-        Me.彙總3_dgv.RowsDefaultCellStyle = DataGridViewCellStyle11
808
+        DataGridViewCellStyle26.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
809
+        Me.彙總3_dgv.RowsDefaultCellStyle = DataGridViewCellStyle26
810
         Me.彙總3_dgv.RowTemplate.Height = 24
810
         Me.彙總3_dgv.RowTemplate.Height = 24
811
         Me.彙總3_dgv.Size = New System.Drawing.Size(512, 514)
811
         Me.彙總3_dgv.Size = New System.Drawing.Size(512, 514)
812
         Me.彙總3_dgv.TabIndex = 1579
812
         Me.彙總3_dgv.TabIndex = 1579
813
         '
813
         '
814
         '彙總4_dgv
814
         '彙總4_dgv
815
         '
815
         '
816
-        DataGridViewCellStyle12.BackColor = System.Drawing.Color.LightGoldenrodYellow
817
-        Me.彙總4_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle12
816
+        DataGridViewCellStyle27.BackColor = System.Drawing.Color.LightGoldenrodYellow
817
+        Me.彙總4_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle27
818
         Me.彙總4_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
818
         Me.彙總4_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
819
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
819
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
820
         Me.彙總4_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
820
         Me.彙總4_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
917
         Me.客戶_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
917
         Me.客戶_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
918
         Me.客戶_dgv.Name = "客戶_dgv"
918
         Me.客戶_dgv.Name = "客戶_dgv"
919
         Me.客戶_dgv.RowHeadersWidth = 4
919
         Me.客戶_dgv.RowHeadersWidth = 4
920
-        DataGridViewCellStyle13.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
921
-        Me.客戶_dgv.RowsDefaultCellStyle = DataGridViewCellStyle13
920
+        DataGridViewCellStyle28.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
921
+        Me.客戶_dgv.RowsDefaultCellStyle = DataGridViewCellStyle28
922
         Me.客戶_dgv.RowTemplate.Height = 24
922
         Me.客戶_dgv.RowTemplate.Height = 24
923
         Me.客戶_dgv.Size = New System.Drawing.Size(393, 257)
923
         Me.客戶_dgv.Size = New System.Drawing.Size(393, 257)
924
         Me.客戶_dgv.TabIndex = 1588
924
         Me.客戶_dgv.TabIndex = 1588
925
         '
925
         '
926
         '彙總5_dgv
926
         '彙總5_dgv
927
         '
927
         '
928
-        DataGridViewCellStyle14.BackColor = System.Drawing.Color.LightCyan
929
-        Me.彙總5_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle14
928
+        DataGridViewCellStyle29.BackColor = System.Drawing.Color.LightCyan
929
+        Me.彙總5_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle29
930
         Me.彙總5_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
930
         Me.彙總5_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
931
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
931
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
932
         Me.彙總5_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
932
         Me.彙總5_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
934
         Me.彙總5_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
934
         Me.彙總5_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
935
         Me.彙總5_dgv.Name = "彙總5_dgv"
935
         Me.彙總5_dgv.Name = "彙總5_dgv"
936
         Me.彙總5_dgv.RowHeadersWidth = 4
936
         Me.彙總5_dgv.RowHeadersWidth = 4
937
-        DataGridViewCellStyle15.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
938
-        Me.彙總5_dgv.RowsDefaultCellStyle = DataGridViewCellStyle15
937
+        DataGridViewCellStyle30.Font = New System.Drawing.Font("新細明體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
938
+        Me.彙總5_dgv.RowsDefaultCellStyle = DataGridViewCellStyle30
939
         Me.彙總5_dgv.RowTemplate.Height = 24
939
         Me.彙總5_dgv.RowTemplate.Height = 24
940
         Me.彙總5_dgv.Size = New System.Drawing.Size(393, 514)
940
         Me.彙總5_dgv.Size = New System.Drawing.Size(393, 514)
941
         Me.彙總5_dgv.TabIndex = 1589
941
         Me.彙總5_dgv.TabIndex = 1589
966
         Me.L6.AutoSize = True
966
         Me.L6.AutoSize = True
967
         Me.L6.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
967
         Me.L6.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
968
         Me.L6.ForeColor = System.Drawing.Color.Green
968
         Me.L6.ForeColor = System.Drawing.Color.Green
969
-        Me.L6.Location = New System.Drawing.Point(880, 351)
969
+        Me.L6.Location = New System.Drawing.Point(1013, 351)
970
         Me.L6.Name = "L6"
970
         Me.L6.Name = "L6"
971
         Me.L6.Size = New System.Drawing.Size(34, 17)
971
         Me.L6.Size = New System.Drawing.Size(34, 17)
972
         Me.L6.TabIndex = 1593
972
         Me.L6.TabIndex = 1593
975
         '合計_tb
975
         '合計_tb
976
         '
976
         '
977
         Me.合計_tb.ForeColor = System.Drawing.Color.Green
977
         Me.合計_tb.ForeColor = System.Drawing.Color.Green
978
-        Me.合計_tb.Location = New System.Drawing.Point(916, 348)
978
+        Me.合計_tb.Location = New System.Drawing.Point(1049, 348)
979
         Me.合計_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
979
         Me.合計_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
980
         Me.合計_tb.Name = "合計_tb"
980
         Me.合計_tb.Name = "合計_tb"
981
         Me.合計_tb.Size = New System.Drawing.Size(111, 23)
981
         Me.合計_tb.Size = New System.Drawing.Size(111, 23)
1285
         '所得2_tb
1285
         '所得2_tb
1286
         '
1286
         '
1287
         Me.所得2_tb.ForeColor = System.Drawing.Color.Green
1287
         Me.所得2_tb.ForeColor = System.Drawing.Color.Green
1288
-        Me.所得2_tb.Location = New System.Drawing.Point(1067, 348)
1288
+        Me.所得2_tb.Location = New System.Drawing.Point(915, 348)
1289
         Me.所得2_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1289
         Me.所得2_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
1290
         Me.所得2_tb.Name = "所得2_tb"
1290
         Me.所得2_tb.Name = "所得2_tb"
1291
         Me.所得2_tb.Size = New System.Drawing.Size(95, 23)
1291
         Me.所得2_tb.Size = New System.Drawing.Size(95, 23)
1297
         Me.Label7.AutoSize = True
1297
         Me.Label7.AutoSize = True
1298
         Me.Label7.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1298
         Me.Label7.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1299
         Me.Label7.ForeColor = System.Drawing.Color.Green
1299
         Me.Label7.ForeColor = System.Drawing.Color.Green
1300
-        Me.Label7.Location = New System.Drawing.Point(1033, 351)
1300
+        Me.Label7.Location = New System.Drawing.Point(881, 351)
1301
         Me.Label7.Name = "Label7"
1301
         Me.Label7.Name = "Label7"
1302
         Me.Label7.Size = New System.Drawing.Size(34, 17)
1302
         Me.Label7.Size = New System.Drawing.Size(34, 17)
1303
         Me.Label7.TabIndex = 1626
1303
         Me.Label7.TabIndex = 1626

+ 30
- 18
GA-ERP-SYS/報表系統管理/帳務彙總計算表.vb Просмотреть файл

48
         流水帳_dgv.Columns(7).Visible = False : 流水帳_dgv.Columns(6).Visible = False : 流水帳_dgv.Columns("資料").Visible = False
48
         流水帳_dgv.Columns(7).Visible = False : 流水帳_dgv.Columns(6).Visible = False : 流水帳_dgv.Columns("資料").Visible = False
49
         流水帳_dgv.Columns(0).Visible = False : 流水帳_dgv.Columns(1).Visible = False : 流水帳_dgv.Columns("同帳指定").Visible = False
49
         流水帳_dgv.Columns(0).Visible = False : 流水帳_dgv.Columns(1).Visible = False : 流水帳_dgv.Columns("同帳指定").Visible = False
50
         流水帳_dgv.Columns("網址").Visible = False : 流水帳_dgv.Columns("水差").Visible = False : 流水帳_dgv.Columns("所得另算").Visible = False
50
         流水帳_dgv.Columns("網址").Visible = False : 流水帳_dgv.Columns("水差").Visible = False : 流水帳_dgv.Columns("所得另算").Visible = False
51
-
51
+        流水帳_dgv.Columns("總監").Visible = False
52
         流水帳_dgv.Columns("天帳").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
52
         流水帳_dgv.Columns("天帳").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
53
         流水帳_dgv.Columns("地帳").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
53
         流水帳_dgv.Columns("地帳").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
54
         流水帳_dgv.Columns("水差").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
54
         流水帳_dgv.Columns("水差").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
175
                     流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString
175
                     流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString
176
                     流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString
176
                     流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString
177
                     If 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "總監" Then
177
                     If 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "總監" Then
178
-                        流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
178
+                        流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("總監").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
179
                     ElseIf 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "大股東" Then
179
                     ElseIf 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "大股東" Then
180
                         流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
180
                         流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
181
                     ElseIf 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "股東" Then
181
                     ElseIf 流水帳_dgv.Rows(i).Cells("下行基數").Value.ToString = "股東" Then
191
                     End If
191
                     End If
192
                     If 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "上缴金额" Then
192
                     If 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "上缴金额" Then
193
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value
193
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value
194
+                    ElseIf 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "總監" Then
195
+                        流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("總監").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
194
                     ElseIf 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "大股東" Then
196
                     ElseIf 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "大股東" Then
195
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
197
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
196
                     ElseIf 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "股東" Then
198
                     ElseIf 流水帳_dgv.Rows(i).Cells("上行基數").Value.ToString = "股東" Then
208
                     流水帳_dgv.Rows(i).Cells("個人所得").Value = "0" : 流水帳_dgv.Rows(i).Cells("水差").Value = "0"
210
                     流水帳_dgv.Rows(i).Cells("個人所得").Value = "0" : 流水帳_dgv.Rows(i).Cells("水差").Value = "0"
209
                     流水帳_dgv.Rows(i).Cells("個人所得1").Value = "0" : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
211
                     流水帳_dgv.Rows(i).Cells("個人所得1").Value = "0" : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
210
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
212
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
211
-                        流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
213
+                        流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("總監").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
212
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
214
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
213
                         流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
215
                         流水帳_dgv.Rows(i).Cells("地帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("地帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
214
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "股東" Then
216
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "股東" Then
224
                     End If
226
                     End If
225
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "上缴金额" Then
227
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "上缴金额" Then
226
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value
228
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("上繳金額").Value
229
+                    ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
230
+                        流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("總監").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
227
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
231
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
228
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
232
                         流水帳_dgv.Rows(i).Cells("天帳").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value : 流水帳_dgv.Rows(i).Cells("天帳1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
229
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "股東" Then
233
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "股東" Then
522
                        彙總5_dgv.Rows(i).Cells("客戶帳號").Value.ToString = 流水帳_dgv.Rows(ii).Cells("客帳").Value.ToString Then
526
                        彙總5_dgv.Rows(i).Cells("客戶帳號").Value.ToString = 流水帳_dgv.Rows(ii).Cells("客帳").Value.ToString Then
523
                         If 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總監" Then
527
                         If 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總監" Then
524
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總監小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總監小計s").Value = "0" : End If
528
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總監小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總監小計s").Value = "0" : End If
525
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總監小計s").Value)
529
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總監小計s").Value)) * -1
526
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "大股東" Then
530
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "大股東" Then
527
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("大股東小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("大股東小計s").Value = "0" : End If
531
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("大股東小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("大股東小計s").Value = "0" : End If
528
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("大股東小計s").Value)
532
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("大股東小計s").Value)) * -1
529
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "股東" Then
533
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "股東" Then
530
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("股東小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("股東小計s").Value = "0" : End If
534
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("股東小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("股東小計s").Value = "0" : End If
531
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("股東小計s").Value)
535
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("股東小計s").Value)) * -1
532
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總代理" Then
536
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總代理" Then
533
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總代理小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總代理小計s").Value = "0" : End If
537
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總代理小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總代理小計s").Value = "0" : End If
534
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總代理小計s").Value)
538
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總代理小計s").Value)) * -1
535
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "代理" Then
539
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "代理" Then
536
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("代理小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("代理小計s").Value = "0" : End If
540
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("代理小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("代理小計s").Value = "0" : End If
537
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("代理小計s").Value)
541
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("代理小計s").Value)) * -1
538
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "會員" Then
542
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "會員" Then
539
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("客戶小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("客戶小計s").Value = "0" : End If
543
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("客戶小計s").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("客戶小計s").Value = "0" : End If
540
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("客戶小計s").Value)
544
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("客戶小計s").Value)) * -1
541
                         End If
545
                         End If
542
                         彙總5_dgv.Rows(i).Cells("個人所得").Value = Val(彙總5_dgv.Rows(i).Cells("個人所得").Value) + Val(流水帳_dgv.Rows(ii).Cells("所得另算").Value)
546
                         彙總5_dgv.Rows(i).Cells("個人所得").Value = Val(彙總5_dgv.Rows(i).Cells("個人所得").Value) + Val(流水帳_dgv.Rows(ii).Cells("所得另算").Value)
543
                     End If
547
                     End If
547
                        彙總5_dgv.Rows(i).Cells("客戶帳號").Value.ToString = 流水帳_dgv.Rows(ii).Cells("客帳").Value.ToString Then
551
                        彙總5_dgv.Rows(i).Cells("客戶帳號").Value.ToString = 流水帳_dgv.Rows(ii).Cells("客帳").Value.ToString Then
548
                         If 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總監" Then
552
                         If 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總監" Then
549
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總監").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總監").Value = "0" : End If
553
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總監").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總監").Value = "0" : End If
550
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總監").Value)
554
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總監").Value)) * -1
551
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "大股東" Then
555
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "大股東" Then
552
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("大股東").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("大股東").Value = "0" : End If
556
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("大股東").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("大股東").Value = "0" : End If
553
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("大股東").Value)
557
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("大股東").Value)) * -1
554
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "股東" Then
558
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "股東" Then
555
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("股東").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("股東").Value = "0" : End If
559
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("股東").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("股東").Value = "0" : End If
556
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("股東").Value)
560
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("股東").Value)) * -1
557
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總代理" Then
561
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "總代理" Then
558
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總代理").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總代理").Value = "0" : End If
562
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("總代理").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("總代理").Value = "0" : End If
559
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總代理").Value)
563
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("總代理").Value)) * -1
560
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "代理" Then
564
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "代理" Then
561
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("代理").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("代理").Value = "0" : End If
565
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("代理").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("代理").Value = "0" : End If
562
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("代理").Value)
566
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("代理").Value)) * -1
563
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "會員" Then
567
                         ElseIf 彙總5_dgv.Rows(i).Cells("基數").Value.ToString = "會員" Then
564
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("會員").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("會員").Value = "0" : End If
568
                             If IsDBNull(流水帳_dgv.Rows(ii).Cells("會員").Value) = True Then : 流水帳_dgv.Rows(ii).Cells("會員").Value = "0" : End If
565
-                            彙總5_dgv.Rows(i).Cells("應收").Value = Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("會員").Value)
569
+                            彙總5_dgv.Rows(i).Cells("應收").Value = (Val(彙總5_dgv.Rows(i).Cells("應收").Value) + Val(流水帳_dgv.Rows(ii).Cells("會員").Value)) * -1
566
                         End If
570
                         End If
567
                         彙總5_dgv.Rows(i).Cells("個人所得").Value = Val(彙總5_dgv.Rows(i).Cells("個人所得").Value) + Val(流水帳_dgv.Rows(ii).Cells("所得另算").Value)
571
                         彙總5_dgv.Rows(i).Cells("個人所得").Value = Val(彙總5_dgv.Rows(i).Cells("個人所得").Value) + Val(流水帳_dgv.Rows(ii).Cells("所得另算").Value)
568
                     End If
572
                     End If
667
         End If
671
         End If
668
         MsgBox("讀取完成!!!")
672
         MsgBox("讀取完成!!!")
669
     End Sub
673
     End Sub
670
-    Private Sub 流水帳查詢_Load(sender As Object, e As EventArgs) Handles MyBase.Load
674
+    Private Sub 帳務彙總計算表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
671
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
675
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
672
         天_ch.Checked = False : 周_ch.Checked = True : 月_ch.Checked = False : DA1_bt.Text = "上一週" : DA2_bt.Text = "本週" : DA3_bt.Text = "下一週"
676
         天_ch.Checked = False : 周_ch.Checked = True : 月_ch.Checked = False : DA1_bt.Text = "上一週" : DA2_bt.Text = "本週" : DA3_bt.Text = "下一週"
673
         L50.Visible = False : 客戶下_dgv.Visible = False : L6.Visible = True : 流水帳_dgv.Visible = False : 彙總1_dgv.Visible = False
677
         L50.Visible = False : 客戶下_dgv.Visible = False : L6.Visible = True : 流水帳_dgv.Visible = False : 彙總1_dgv.Visible = False
675
         L1.Visible = True : L2.Visible = True : L3.Visible = True : L4.Visible = True : L5.Visible = True : 老闆_tb.Visible = True : 所得1_tb.Visible = True
679
         L1.Visible = True : L2.Visible = True : L3.Visible = True : L4.Visible = True : L5.Visible = True : 老闆_tb.Visible = True : 所得1_tb.Visible = True
676
         天帳1_tb.Visible = True : 地帳1_tb.Visible = True : 客戶_dgv.Visible = True : 彙總5_dgv.Visible = True : 客戶_tb.Visible = True : 合計_tb.Visible = True
680
         天帳1_tb.Visible = True : 地帳1_tb.Visible = True : 客戶_dgv.Visible = True : 彙總5_dgv.Visible = True : 客戶_tb.Visible = True : 合計_tb.Visible = True
677
     End Sub
681
     End Sub
678
-    Private Sub 流水帳查詢_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
682
+    Private Sub 帳務彙總計算表_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
679
         資料數 = 8
683
         資料數 = 8
680
         If CC(8) = False Then : Delete_bT.Enabled = False : End If : MyModule1.進度條()
684
         If CC(8) = False Then : Delete_bT.Enabled = False : End If : MyModule1.進度條()
681
         If CC(19) = False Then : 進階控制_bt.Enabled = False : End If : MyModule1.進度條()
685
         If CC(19) = False Then : 進階控制_bt.Enabled = False : End If : MyModule1.進度條()
1170
     End Sub
1174
     End Sub
1171
     Private Sub 開網站_bt_Click(sender As Object, e As EventArgs) Handles 開網站_bt.Click
1175
     Private Sub 開網站_bt_Click(sender As Object, e As EventArgs) Handles 開網站_bt.Click
1172
         If 網址_tb.Text <> "" Then
1176
         If 網址_tb.Text <> "" Then
1173
-            Shell("Rundll32.exe url.dll, FileProtocolHandler http://" & 網址_tb.Text, vbNormalFocus)
1177
+            Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
1178
+            Dim fullPath As String
1179
+            fullPath = Path.GetFullPath(fileName)
1180
+            Process.Start(fullPath, "--app= http://" & 網址_tb.Text)
1174
             使用網址_ch.Checked = False : 網址_tb.Text = ""
1181
             使用網址_ch.Checked = False : 網址_tb.Text = ""
1175
         End If
1182
         End If
1176
     End Sub
1183
     End Sub
1501
             End If
1508
             End If
1502
         End If
1509
         End If
1503
     End Sub
1510
     End Sub
1511
+
1512
+    Private Sub 客戶_dgv_CellContentClick_1(sender As Object, e As DataGridViewCellEventArgs) Handles 客戶_dgv.CellContentClick
1513
+
1514
+    End Sub
1515
+
1504
     Private Sub EXCEL位置1()
1516
     Private Sub EXCEL位置1()
1505
         If NN2 = 0 Then : 第一 = "H" : 第二 = "I" : ElseIf NN2 = 4 Then : 第一 = "L" : 第二 = "M" : ElseIf NN2 = 8 Then : 第一 = "P" : 第二 = "Q"
1517
         If NN2 = 0 Then : 第一 = "H" : 第二 = "I" : ElseIf NN2 = 4 Then : 第一 = "L" : 第二 = "M" : ElseIf NN2 = 8 Then : 第一 = "P" : 第二 = "Q"
1506
         ElseIf NN2 = 12 Then : 第一 = "T" : 第二 = "U" : ElseIf NN2 = 16 Then : 第一 = "X" : 第二 = "Y" : ElseIf NN2 = 20 Then : 第一 = "AB" : 第二 = "AC"
1518
         ElseIf NN2 = 12 Then : 第一 = "T" : 第二 = "U" : ElseIf NN2 = 16 Then : 第一 = "X" : 第二 = "Y" : ElseIf NN2 = 20 Then : 第一 = "AB" : 第二 = "AC"

+ 106
- 14
GA-ERP-SYS/報表系統管理/帳務明細查詢表.Designer.vb Просмотреть файл

23
     <System.Diagnostics.DebuggerStepThrough()> _
23
     <System.Diagnostics.DebuggerStepThrough()> _
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(帳務明細查詢表))
29
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(帳務明細查詢表))
30
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
         Me.流水帳_dgv = New System.Windows.Forms.DataGridView()
31
         Me.流水帳_dgv = New System.Windows.Forms.DataGridView()
31
         Me.客戶下_dgv = New System.Windows.Forms.DataGridView()
32
         Me.客戶下_dgv = New System.Windows.Forms.DataGridView()
32
         Me.日期_dgv = New System.Windows.Forms.DataGridView()
33
         Me.日期_dgv = New System.Windows.Forms.DataGridView()
75
         Me.批量存檔_bt = New System.Windows.Forms.Button()
76
         Me.批量存檔_bt = New System.Windows.Forms.Button()
76
         Me.開啟帳務彙總_bt = New System.Windows.Forms.Button()
77
         Me.開啟帳務彙總_bt = New System.Windows.Forms.Button()
77
         Me.列印_bt = New System.Windows.Forms.Button()
78
         Me.列印_bt = New System.Windows.Forms.Button()
79
+        Me.Panel1 = New System.Windows.Forms.Panel()
80
+        Me.列印1_bt = New System.Windows.Forms.Button()
81
+        Me.所得彙總_dgv = New System.Windows.Forms.DataGridView()
82
+        Me.所得指定_cb = New System.Windows.Forms.ComboBox()
83
+        Me.Label10 = New System.Windows.Forms.Label()
84
+        Me.所得指定整合_bt = New System.Windows.Forms.Button()
78
         CType(Me.流水帳_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
85
         CType(Me.流水帳_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
79
         CType(Me.客戶下_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
86
         CType(Me.客戶下_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
80
         CType(Me.日期_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
87
         CType(Me.日期_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
81
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
88
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
82
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
89
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
90
+        Me.Panel1.SuspendLayout()
91
+        CType(Me.所得彙總_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
83
         Me.SuspendLayout()
92
         Me.SuspendLayout()
84
         '
93
         '
85
         '流水帳_dgv
94
         '流水帳_dgv
86
         '
95
         '
87
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
88
-        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
96
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
97
+        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
89
         Me.流水帳_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
98
         Me.流水帳_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
90
             Or System.Windows.Forms.AnchorStyles.Left) _
99
             Or System.Windows.Forms.AnchorStyles.Left) _
91
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
100
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
101
+        Me.流水帳_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
92
         Me.流水帳_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
102
         Me.流水帳_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
93
         Me.流水帳_dgv.Location = New System.Drawing.Point(4, 61)
103
         Me.流水帳_dgv.Location = New System.Drawing.Point(4, 61)
94
         Me.流水帳_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
104
         Me.流水帳_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
100
         '
110
         '
101
         '客戶下_dgv
111
         '客戶下_dgv
102
         '
112
         '
103
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
104
-        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
113
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
114
+        Me.客戶下_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
105
         Me.客戶下_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
115
         Me.客戶下_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
106
-        Me.客戶下_dgv.Location = New System.Drawing.Point(12, 538)
116
+        Me.客戶下_dgv.Location = New System.Drawing.Point(30, 75)
107
         Me.客戶下_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
117
         Me.客戶下_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
108
         Me.客戶下_dgv.Name = "客戶下_dgv"
118
         Me.客戶下_dgv.Name = "客戶下_dgv"
109
         Me.客戶下_dgv.RowHeadersWidth = 4
119
         Me.客戶下_dgv.RowHeadersWidth = 4
110
         Me.客戶下_dgv.RowTemplate.Height = 24
120
         Me.客戶下_dgv.RowTemplate.Height = 24
111
-        Me.客戶下_dgv.Size = New System.Drawing.Size(100, 100)
121
+        Me.客戶下_dgv.Size = New System.Drawing.Size(975, 406)
112
         Me.客戶下_dgv.TabIndex = 1537
122
         Me.客戶下_dgv.TabIndex = 1537
113
         '
123
         '
114
         '日期_dgv
124
         '日期_dgv
115
         '
125
         '
116
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
117
-        Me.日期_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
126
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
127
+        Me.日期_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
118
         Me.日期_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
128
         Me.日期_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
119
-        Me.日期_dgv.Location = New System.Drawing.Point(118, 538)
129
+        Me.日期_dgv.Location = New System.Drawing.Point(827, 514)
120
         Me.日期_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
130
         Me.日期_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
121
         Me.日期_dgv.Name = "日期_dgv"
131
         Me.日期_dgv.Name = "日期_dgv"
122
         Me.日期_dgv.RowHeadersWidth = 4
132
         Me.日期_dgv.RowHeadersWidth = 4
123
         Me.日期_dgv.RowTemplate.Height = 24
133
         Me.日期_dgv.RowTemplate.Height = 24
124
-        Me.日期_dgv.Size = New System.Drawing.Size(100, 100)
134
+        Me.日期_dgv.Size = New System.Drawing.Size(178, 100)
125
         Me.日期_dgv.TabIndex = 1550
135
         Me.日期_dgv.TabIndex = 1550
126
         '
136
         '
127
         'DA3_bt
137
         'DA3_bt
593
         Me.列印_bt.Text = "列印資料"
603
         Me.列印_bt.Text = "列印資料"
594
         Me.列印_bt.UseVisualStyleBackColor = True
604
         Me.列印_bt.UseVisualStyleBackColor = True
595
         '
605
         '
606
+        'Panel1
607
+        '
608
+        Me.Panel1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
609
+            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
610
+        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
611
+        Me.Panel1.Controls.Add(Me.列印1_bt)
612
+        Me.Panel1.Controls.Add(Me.所得彙總_dgv)
613
+        Me.Panel1.Controls.Add(Me.所得指定_cb)
614
+        Me.Panel1.Controls.Add(Me.Label10)
615
+        Me.Panel1.Location = New System.Drawing.Point(415, 60)
616
+        Me.Panel1.Name = "Panel1"
617
+        Me.Panel1.Size = New System.Drawing.Size(241, 606)
618
+        Me.Panel1.TabIndex = 1653
619
+        '
620
+        '列印1_bt
621
+        '
622
+        Me.列印1_bt.ForeColor = System.Drawing.Color.Green
623
+        Me.列印1_bt.Location = New System.Drawing.Point(170, 3)
624
+        Me.列印1_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
625
+        Me.列印1_bt.Name = "列印1_bt"
626
+        Me.列印1_bt.Size = New System.Drawing.Size(65, 26)
627
+        Me.列印1_bt.TabIndex = 1653
628
+        Me.列印1_bt.Text = "列印資料"
629
+        Me.列印1_bt.UseVisualStyleBackColor = True
630
+        '
631
+        '所得彙總_dgv
632
+        '
633
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
634
+        Me.所得彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
635
+        Me.所得彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
636
+            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
637
+        Me.所得彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
638
+        Me.所得彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
639
+        Me.所得彙總_dgv.Location = New System.Drawing.Point(3, 31)
640
+        Me.所得彙總_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
641
+        Me.所得彙總_dgv.Name = "所得彙總_dgv"
642
+        Me.所得彙總_dgv.RowHeadersWidth = 4
643
+        Me.所得彙總_dgv.RowTemplate.Height = 24
644
+        Me.所得彙總_dgv.Size = New System.Drawing.Size(231, 567)
645
+        Me.所得彙總_dgv.TabIndex = 1638
646
+        '
647
+        '所得指定_cb
648
+        '
649
+        Me.所得指定_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
650
+        Me.所得指定_cb.FormattingEnabled = True
651
+        Me.所得指定_cb.Location = New System.Drawing.Point(61, 4)
652
+        Me.所得指定_cb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
653
+        Me.所得指定_cb.Name = "所得指定_cb"
654
+        Me.所得指定_cb.Size = New System.Drawing.Size(106, 24)
655
+        Me.所得指定_cb.TabIndex = 1636
656
+        '
657
+        'Label10
658
+        '
659
+        Me.Label10.AutoSize = True
660
+        Me.Label10.Location = New System.Drawing.Point(5, 8)
661
+        Me.Label10.Name = "Label10"
662
+        Me.Label10.Size = New System.Drawing.Size(56, 16)
663
+        Me.Label10.TabIndex = 1637
664
+        Me.Label10.Text = "所得指定"
665
+        '
666
+        '所得指定整合_bt
667
+        '
668
+        Me.所得指定整合_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
669
+        Me.所得指定整合_bt.Location = New System.Drawing.Point(415, 33)
670
+        Me.所得指定整合_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
671
+        Me.所得指定整合_bt.Name = "所得指定整合_bt"
672
+        Me.所得指定整合_bt.Size = New System.Drawing.Size(96, 26)
673
+        Me.所得指定整合_bt.TabIndex = 1654
674
+        Me.所得指定整合_bt.Text = "所得指定整合"
675
+        Me.所得指定整合_bt.UseVisualStyleBackColor = True
676
+        '
596
         '帳務明細查詢表
677
         '帳務明細查詢表
597
         '
678
         '
598
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
679
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
599
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
680
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
600
         Me.ClientSize = New System.Drawing.Size(1181, 698)
681
         Me.ClientSize = New System.Drawing.Size(1181, 698)
682
+        Me.Controls.Add(Me.所得指定整合_bt)
683
+        Me.Controls.Add(Me.Panel1)
601
         Me.Controls.Add(Me.列印_bt)
684
         Me.Controls.Add(Me.列印_bt)
602
         Me.Controls.Add(Me.開啟帳務彙總_bt)
685
         Me.Controls.Add(Me.開啟帳務彙總_bt)
603
         Me.Controls.Add(Me.批量存檔_bt)
686
         Me.Controls.Add(Me.批量存檔_bt)
635
         Me.Controls.Add(Me.天_ch)
718
         Me.Controls.Add(Me.天_ch)
636
         Me.Controls.Add(Me.資料_cb)
719
         Me.Controls.Add(Me.資料_cb)
637
         Me.Controls.Add(Me.日期_dgv)
720
         Me.Controls.Add(Me.日期_dgv)
638
-        Me.Controls.Add(Me.客戶下_dgv)
639
         Me.Controls.Add(Me.PictureBox1)
721
         Me.Controls.Add(Me.PictureBox1)
640
         Me.Controls.Add(Me.Label1)
722
         Me.Controls.Add(Me.Label1)
641
         Me.Controls.Add(Me.流水帳_dgv)
723
         Me.Controls.Add(Me.流水帳_dgv)
645
         Me.Controls.Add(Me.同帳_ch)
727
         Me.Controls.Add(Me.同帳_ch)
646
         Me.Controls.Add(Me.計算_ch)
728
         Me.Controls.Add(Me.計算_ch)
647
         Me.Controls.Add(Me.Label9)
729
         Me.Controls.Add(Me.Label9)
730
+        Me.Controls.Add(Me.客戶下_dgv)
648
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
731
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
649
         Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
732
         Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
650
         Me.Name = "帳務明細查詢表"
733
         Me.Name = "帳務明細查詢表"
654
         CType(Me.日期_dgv, System.ComponentModel.ISupportInitialize).EndInit()
737
         CType(Me.日期_dgv, System.ComponentModel.ISupportInitialize).EndInit()
655
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
738
         CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
656
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
739
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
740
+        Me.Panel1.ResumeLayout(False)
741
+        Me.Panel1.PerformLayout()
742
+        CType(Me.所得彙總_dgv, System.ComponentModel.ISupportInitialize).EndInit()
657
         Me.ResumeLayout(False)
743
         Me.ResumeLayout(False)
658
         Me.PerformLayout()
744
         Me.PerformLayout()
659
 
745
 
707
     Friend WithEvents 批量存檔_bt As Button
793
     Friend WithEvents 批量存檔_bt As Button
708
     Friend WithEvents 開啟帳務彙總_bt As Button
794
     Friend WithEvents 開啟帳務彙總_bt As Button
709
     Friend WithEvents 列印_bt As Button
795
     Friend WithEvents 列印_bt As Button
796
+    Friend WithEvents Panel1 As Panel
797
+    Friend WithEvents 所得指定_cb As ComboBox
798
+    Friend WithEvents Label10 As Label
799
+    Friend WithEvents 所得彙總_dgv As DataGridView
800
+    Friend WithEvents 所得指定整合_bt As Button
801
+    Friend WithEvents 列印1_bt As Button
710
 End Class
802
 End Class

+ 153
- 19
GA-ERP-SYS/報表系統管理/帳務明細查詢表.vb Просмотреть файл

10
 Imports Microsoft.Office.Interop.Excel.XlThemeColor
10
 Imports Microsoft.Office.Interop.Excel.XlThemeColor
11
 Imports Microsoft.Office.Interop.Excel.XlWindowState
11
 Imports Microsoft.Office.Interop.Excel.XlWindowState
12
 Public Class 帳務明細查詢表
12
 Public Class 帳務明細查詢表
13
-    ReadOnly ds, ds4, ds7 As New DataSet : Private N1 As Integer
13
+    ReadOnly ds, ds1, ds4, ds7 As New DataSet : Private N1 As Integer : Private N2 As Integer
14
     Dim GP As Integer = 0 : Dim GPP As String : Dim 首次登入 As Boolean = True
14
     Dim GP As Integer = 0 : Dim GPP As String : Dim 首次登入 As Boolean = True
15
     Dim xlApp As Microsoft.Office.Interop.Excel.Application
15
     Dim xlApp As Microsoft.Office.Interop.Excel.Application
16
     Dim xlBook As Microsoft.Office.Interop.Excel.Workbook
16
     Dim xlBook As Microsoft.Office.Interop.Excel.Workbook
17
     Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet
17
     Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet
18
+    Private Sub Set_所得彙總()
19
+        所得彙總_dgv.DataSource = Nothing : ds1.Clear()
20
+        所得彙總_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
21
+        所得彙總_dgv.ColumnHeadersHeight = 25
22
+        所得彙總_dgv.AllowUserToAddRows = False
23
+        SQL_所得另算表()
24
+        da.Fill(ds1) : 所得彙總_dgv.DataSource = ds1.Tables(0) : conn.Close()
25
+        所得彙總_dgv.Columns("所得").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
26
+
27
+        For i As Integer = 0 To 所得彙總_dgv.Rows.Count - 1
28
+            所得彙總_dgv("所得", i).Value = "0"
29
+            For II As Integer = 0 To 流水帳_dgv.Rows.Count - 1
30
+                If 流水帳_dgv("所得指定", II).Value.ToString = 所得指定_cb.Text And 流水帳_dgv("所得", i).Value = True And
31
+                    流水帳_dgv("商品", II).Value.ToString = 所得彙總_dgv("商品", i).Value.ToString Then
32
+                    所得彙總_dgv("所得", i).Value = Val(所得彙總_dgv("所得", i).Value) + Val(流水帳_dgv("個人所得1", II).Value.ToString)
33
+                End If
34
+            Next
35
+            所得彙總_dgv.Rows(i).Cells("所得").Value = Strings.Format(Val(所得彙總_dgv.Rows(i).Cells("所得").Value), "#,##0")
36
+        Next
37
+    End Sub
18
     Private Sub Set_客戶下清單()
38
     Private Sub Set_客戶下清單()
19
         客戶下_dgv.DataSource = Nothing : ds4.Clear()
39
         客戶下_dgv.DataSource = Nothing : ds4.Clear()
20
         客戶下_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
40
         客戶下_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
68
         流水帳_dgv.DataSource = Nothing : ds.Clear() : 流水帳_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
88
         流水帳_dgv.DataSource = Nothing : ds.Clear() : 流水帳_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
69
         流水帳_dgv.ColumnHeadersHeight = 25
89
         流水帳_dgv.ColumnHeadersHeight = 25
70
         流水帳_dgv.AllowUserToAddRows = False
90
         流水帳_dgv.AllowUserToAddRows = False
91
+        流水帳_dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill
71
 
92
 
72
-        If 客戶_cb.Text = "" Then : PA32 = "%%" : Else : PA32 = 客戶_cb.Text : End If
93
+        If 客戶_cb.Text = "" Then
94
+            PA32 = " AND (流水帳.查看對帳s LIKE N'%%' OR 流水帳.查看對帳s IS NULL)"
95
+        Else
96
+            PA32 = " AND (流水帳.查看對帳s LIKE N'" & 客戶_cb.Text & "')"
97
+        End If
73
         SQL_帳務明細查詢表查詢()
98
         SQL_帳務明細查詢表查詢()
74
         da.Fill(ds) : 流水帳_dgv.DataSource = ds.Tables(0) : conn.Close()
99
         da.Fill(ds) : 流水帳_dgv.DataSource = ds.Tables(0) : conn.Close()
75
 
100
 
76
-        流水帳_dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill
101
+        流水帳_dgv.EditMode = DataGridViewEditMode.EditOnEnter
77
         流水帳_dgv.Columns("客戶").FillWeight = 110 : 流水帳_dgv.Columns("商品").FillWeight = 70
102
         流水帳_dgv.Columns("客戶").FillWeight = 110 : 流水帳_dgv.Columns("商品").FillWeight = 70
78
         流水帳_dgv.Columns("老闆").FillWeight = 55 : 流水帳_dgv.Columns("帳戶").FillWeight = 70
103
         流水帳_dgv.Columns("老闆").FillWeight = 55 : 流水帳_dgv.Columns("帳戶").FillWeight = 70
79
         流水帳_dgv.Columns("計算").FillWeight = 50 : 流水帳_dgv.Columns("同帳").FillWeight = 50
104
         流水帳_dgv.Columns("計算").FillWeight = 50 : 流水帳_dgv.Columns("同帳").FillWeight = 50
83
         流水帳_dgv.Columns(0).Visible = False : 流水帳_dgv.Columns(1).Visible = False : 流水帳_dgv.Columns("同帳指定").Visible = False
108
         流水帳_dgv.Columns(0).Visible = False : 流水帳_dgv.Columns(1).Visible = False : 流水帳_dgv.Columns("同帳指定").Visible = False
84
         流水帳_dgv.Columns("網址").Visible = False : 流水帳_dgv.Columns("所得另算").Visible = False : 流水帳_dgv.Columns("按鈕").Visible = False
109
         流水帳_dgv.Columns("網址").Visible = False : 流水帳_dgv.Columns("所得另算").Visible = False : 流水帳_dgv.Columns("按鈕").Visible = False
85
         流水帳_dgv.Columns("index").Visible = False : 流水帳_dgv.Columns("下客流水").Visible = False
110
         流水帳_dgv.Columns("index").Visible = False : 流水帳_dgv.Columns("下客流水").Visible = False
86
-
111
+        流水帳_dgv.Columns("總監").Visible = False
87
         For i As Integer = 0 To 67 : 流水帳_dgv.Columns(i).ReadOnly = True : Next
112
         For i As Integer = 0 To 67 : 流水帳_dgv.Columns(i).ReadOnly = True : Next
88
 
113
 
89
         流水帳_dgv.Columns("會員.").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
114
         流水帳_dgv.Columns("會員.").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
100
             If IsDBNull(流水帳_dgv("同帳", i).Value) = True Then : 流水帳_dgv("同帳", i).Value = False : End If
125
             If IsDBNull(流水帳_dgv("同帳", i).Value) = True Then : 流水帳_dgv("同帳", i).Value = False : End If
101
             If IsDBNull(流水帳_dgv("計算", i).Value) = True Then : 流水帳_dgv("計算", i).Value = False : End If
126
             If IsDBNull(流水帳_dgv("計算", i).Value) = True Then : 流水帳_dgv("計算", i).Value = False : End If
102
             If IsDBNull(流水帳_dgv("所得", i).Value) = True Then : 流水帳_dgv("所得", i).Value = False : End If
127
             If IsDBNull(流水帳_dgv("所得", i).Value) = True Then : 流水帳_dgv("所得", i).Value = False : End If
128
+            流水帳_dgv("所得指定", i).Value = ""
103
         Next
129
         Next
104
         計算()
130
         計算()
105
     End Sub
131
     End Sub
126
                 If 流水帳_dgv("客戶帳號", i).Value.ToString = 客戶下_dgv("客戶帳號", ii).Value.ToString And 流水帳_dgv("網址", i).Value.ToString = 客戶下_dgv("網址", ii).Value.ToString Then
152
                 If 流水帳_dgv("客戶帳號", i).Value.ToString = 客戶下_dgv("客戶帳號", ii).Value.ToString And 流水帳_dgv("網址", i).Value.ToString = 客戶下_dgv("網址", ii).Value.ToString Then
127
                     流水帳_dgv("客戶名稱", i).Value = 客戶下_dgv("客戶名稱", ii).Value.ToString : 流水帳_dgv("計算", i).Value = 客戶下_dgv("計算", ii).Value
153
                     流水帳_dgv("客戶名稱", i).Value = 客戶下_dgv("客戶名稱", ii).Value.ToString : 流水帳_dgv("計算", i).Value = 客戶下_dgv("計算", ii).Value
128
                     流水帳_dgv("同帳", i).Value = 客戶下_dgv("同帳", ii).Value : 流水帳_dgv("同帳指定", i).Value = 客戶下_dgv("基數", ii).Value
154
                     流水帳_dgv("同帳", i).Value = 客戶下_dgv("同帳", ii).Value : 流水帳_dgv("同帳指定", i).Value = 客戶下_dgv("基數", ii).Value
129
-                    流水帳_dgv("所得", i).Value = 客戶下_dgv("所得", ii).Value : 流水帳_dgv("下客流水", i).Value = 客戶下_dgv("流水號", ii).Value : Exit For
155
+                    流水帳_dgv("所得", i).Value = 客戶下_dgv("所得", ii).Value : 流水帳_dgv("下客流水", i).Value = 客戶下_dgv("流水號", ii).Value
156
+                    流水帳_dgv("所得指定", i).Value = 客戶下_dgv("所得另算", ii).Value
157
+                    Exit For
130
                 Else
158
                 Else
131
                     流水帳_dgv("客戶名稱", i).Value = "" : 流水帳_dgv("計算", i).Value = False : 流水帳_dgv("同帳", i).Value = False : 流水帳_dgv("所得", i).Value = False
159
                     流水帳_dgv("客戶名稱", i).Value = "" : 流水帳_dgv("計算", i).Value = False : 流水帳_dgv("同帳", i).Value = False : 流水帳_dgv("所得", i).Value = False
132
                 End If
160
                 End If
155
                 Else : 流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString : End If
183
                 Else : 流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString : End If
156
                 If 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
184
                 If 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
157
                 Else : 流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString : End If
185
                 Else : 流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString : End If
158
-                If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("總監1").Value = "0"
159
-                Else : 流水帳_dgv.Rows(i).Cells("總監1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
186
+                If 流水帳_dgv.Rows(i).Cells("總監").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("總監1").Value = "0"
187
+                Else : 流水帳_dgv.Rows(i).Cells("總監1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value.ToString : End If
160
                 If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("大股東1").Value = "0"
188
                 If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("大股東1").Value = "0"
161
                 Else : 流水帳_dgv.Rows(i).Cells("大股東1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
189
                 Else : 流水帳_dgv.Rows(i).Cells("大股東1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
162
                 If 流水帳_dgv.Rows(i).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("股東1").Value = "0"
190
                 If 流水帳_dgv.Rows(i).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("股東1").Value = "0"
191
                 流水帳_dgv.Rows(i).Cells("所得另算").Value = "0"
219
                 流水帳_dgv.Rows(i).Cells("所得另算").Value = "0"
192
             End If
220
             End If
193
         Next
221
         Next
194
-        'Set_LOG1() : MyModule1.進度條() : Set_LOG2() : MyModule1.進度條() : Set_流水帳清單2() : MyModule1.進度條() : Set_流水帳清單3() : MyModule1.進度條() : Set_流水帳清單4() : MyModule1.進度條()
195
-        '首次顯示()
196
         GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
222
         GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
197
 
223
 
198
         資料數 = 流水帳_dgv.Rows.Count
224
         資料數 = 流水帳_dgv.Rows.Count
199
         For i As Integer = 0 To 流水帳_dgv.Rows.Count - 1
225
         For i As Integer = 0 To 流水帳_dgv.Rows.Count - 1
226
+            If 流水帳_dgv("所得", i).Value = False Then
227
+                流水帳_dgv.Rows(i).Cells("個人所得").Value = "0"
228
+            End If
200
             If 流水帳_dgv("同帳", i).Value = True Then
229
             If 流水帳_dgv("同帳", i).Value = True Then
201
                 If Strings.Left(流水帳_dgv.Rows(i).Cells("資料").Value, 2) = "短版" Or Strings.Left(流水帳_dgv.Rows(i).Cells("資料").Value, 2) = "短板" Then
230
                 If Strings.Left(流水帳_dgv.Rows(i).Cells("資料").Value, 2) = "短版" Or Strings.Left(流水帳_dgv.Rows(i).Cells("資料").Value, 2) = "短板" Then
202
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
231
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
228
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
257
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
229
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
258
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
230
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = "0"
259
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = "0"
231
-                        流水帳_dgv.Rows(i).Cells("總監.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
260
+                        流水帳_dgv.Rows(i).Cells("總監.").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
232
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
261
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
233
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
262
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
234
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
263
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
253
                 End If
282
                 End If
254
             End If
283
             End If
255
             MyModule1.進度條()
284
             MyModule1.進度條()
256
-            If IsDBNull(流水帳_dgv("查看對帳s", i).Value) = True Then
285
+            If IsDBNull(流水帳_dgv("查看對帳s", i).Value) = True Or IsDBNull(流水帳_dgv("下注明細s", i).Value) = True Then
257
                 PA38 = 流水帳_dgv("客戶名稱", i).Value : PA37 = 流水帳_dgv("index", i).Value : PA36 = 流水帳_dgv("開始日期", i).Value
286
                 PA38 = 流水帳_dgv("客戶名稱", i).Value : PA37 = 流水帳_dgv("index", i).Value : PA36 = 流水帳_dgv("開始日期", i).Value
258
                 PA35 = 流水帳_dgv("結束日期", i).Value : PA34 = 流水帳_dgv("網址", i).Value : PA33 = 流水帳_dgv("帳戶", i).Value
287
                 PA35 = 流水帳_dgv("結束日期", i).Value : PA34 = 流水帳_dgv("網址", i).Value : PA33 = 流水帳_dgv("帳戶", i).Value
288
+                PA32 = 流水帳_dgv("所得指定", i).Value
259
                 SQL_帳務明細查詢表客戶寫入()
289
                 SQL_帳務明細查詢表客戶寫入()
260
-            ElseIf 流水帳_dgv("查看對帳s", i).Value = "查看" Or 流水帳_dgv("查看對帳s", i).Value = "" Then
290
+            ElseIf 流水帳_dgv("查看對帳s", i).Value = "查看" Or 流水帳_dgv("查看對帳s", i).Value = "" Or 流水帳_dgv("下注明細s", i).Value = "查看" Or 流水帳_dgv("下注明細s", i).Value = "" Then
261
                 PA38 = 流水帳_dgv("客戶名稱", i).Value : PA37 = 流水帳_dgv("index", i).Value : PA36 = 流水帳_dgv("開始日期", i).Value
291
                 PA38 = 流水帳_dgv("客戶名稱", i).Value : PA37 = 流水帳_dgv("index", i).Value : PA36 = 流水帳_dgv("開始日期", i).Value
262
                 PA35 = 流水帳_dgv("結束日期", i).Value : PA34 = 流水帳_dgv("網址", i).Value : PA33 = 流水帳_dgv("帳戶", i).Value
292
                 PA35 = 流水帳_dgv("結束日期", i).Value : PA34 = 流水帳_dgv("網址", i).Value : PA33 = 流水帳_dgv("帳戶", i).Value
293
+                PA32 = 流水帳_dgv("所得指定", i).Value
263
                 SQL_帳務明細查詢表客戶寫入()
294
                 SQL_帳務明細查詢表客戶寫入()
264
             End If
295
             End If
265
         Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
296
         Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
266
     End Sub
297
     End Sub
267
     Private Sub 帳務明細查詢表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
298
     Private Sub 帳務明細查詢表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
268
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
299
         Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
269
-        日期_dgv.Visible = False : 客戶下_dgv.Visible = False : PictureBox1.BringToFront()
300
+        日期_dgv.Visible = False : 客戶下_dgv.Visible = False : PictureBox1.BringToFront() : Panel1.Visible = False
270
         天_ch.Checked = False : 周_ch.Checked = True : 月_ch.Checked = False
301
         天_ch.Checked = False : 周_ch.Checked = True : 月_ch.Checked = False
271
         DA1_bt.Text = "上一週" : DA2_bt.Text = "本週" : DA3_bt.Text = "下一週"
302
         DA1_bt.Text = "上一週" : DA2_bt.Text = "本週" : DA3_bt.Text = "下一週"
272
     End Sub
303
     End Sub
277
         SQL_流水帳上繳_明細用() : 老闆_cb.Items.Clear() : 老闆_cb.Items.Add("") : While (dr.Read()) : 老闆_cb.Items.Add(dr("上繳源")) : End While : conn.Close()
308
         SQL_流水帳上繳_明細用() : 老闆_cb.Items.Clear() : 老闆_cb.Items.Add("") : While (dr.Read()) : 老闆_cb.Items.Add(dr("上繳源")) : End While : conn.Close()
278
         If 老闆_cb.Text = "" Then : PA39 = "%%" : Else : PA39 = 老闆_cb.Text : End If
309
         If 老闆_cb.Text = "" Then : PA39 = "%%" : Else : PA39 = 老闆_cb.Text : End If
279
         SQL_流水帳客戶_明細用() : 客戶_cb.Items.Clear() : 客戶_cb.Items.Add("") : While (dr.Read()) : 客戶_cb.Items.Add(dr("客名")) : End While : conn.Close()
310
         SQL_流水帳客戶_明細用() : 客戶_cb.Items.Clear() : 客戶_cb.Items.Add("") : While (dr.Read()) : 客戶_cb.Items.Add(dr("客名")) : End While : conn.Close()
311
+        SQL_客戶下所得名稱清單() : 所得指定_cb.Items.Clear() : While (dr.Read()) : 所得指定_cb.Items.Add(dr("所得另算")) : End While : conn.Close()
280
         首次登入 = False
312
         首次登入 = False
281
     End Sub
313
     End Sub
282
     Private Sub 帳務明細查詢表_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
314
     Private Sub 帳務明細查詢表_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
309
             e.CellStyle.ForeColor = Color.Red
341
             e.CellStyle.ForeColor = Color.Red
310
         End If
342
         End If
311
     End Sub
343
     End Sub
344
+    Private Sub 所得彙總_dgv_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles 所得彙總_dgv.CellFormatting
345
+        If IsNumeric(Val(e.Value.ToString)) = True And Val(e.Value.ToString) < 0 Then
346
+            e.CellStyle.ForeColor = Color.Red
347
+        End If
348
+    End Sub
312
     Private Sub 流水帳_dgv_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles 流水帳_dgv.CellMouseClick
349
     Private Sub 流水帳_dgv_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles 流水帳_dgv.CellMouseClick
313
         Dim YY As Integer
350
         Dim YY As Integer
314
         If 流水帳_dgv.SelectedCells.Count = 1 Then
351
         If 流水帳_dgv.SelectedCells.Count = 1 Then
350
                 Else : 流水帳_dgv.Rows(YY).Cells("個人所得1").Value = 流水帳_dgv.Rows(YY).Cells("自已總輸贏").Value.ToString : End If
387
                 Else : 流水帳_dgv.Rows(YY).Cells("個人所得1").Value = 流水帳_dgv.Rows(YY).Cells("自已總輸贏").Value.ToString : End If
351
                 If 流水帳_dgv.Rows(YY).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("水差1").Value = "0"
388
                 If 流水帳_dgv.Rows(YY).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("水差1").Value = "0"
352
                 Else : 流水帳_dgv.Rows(YY).Cells("水差1").Value = 流水帳_dgv.Rows(YY).Cells("水倍差").Value.ToString : End If
389
                 Else : 流水帳_dgv.Rows(YY).Cells("水差1").Value = 流水帳_dgv.Rows(YY).Cells("水倍差").Value.ToString : End If
353
-                If 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("總監1").Value = "0"
354
-                Else : 流水帳_dgv.Rows(YY).Cells("總監1").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString : End If
390
+                If 流水帳_dgv.Rows(YY).Cells("總監").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("總監1").Value = "0"
391
+                Else : 流水帳_dgv.Rows(YY).Cells("總監1").Value = 流水帳_dgv.Rows(YY).Cells("總監").Value.ToString : End If
355
                 If 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("大股東1").Value = "0"
392
                 If 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("大股東1").Value = "0"
356
                 Else : 流水帳_dgv.Rows(YY).Cells("大股東1").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString : End If
393
                 Else : 流水帳_dgv.Rows(YY).Cells("大股東1").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value.ToString : End If
357
                 If 流水帳_dgv.Rows(YY).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("股東1").Value = "0"
394
                 If 流水帳_dgv.Rows(YY).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(YY).Cells("股東1").Value = "0"
416
                     If 流水帳_dgv.Rows(YY).Cells("同帳指定").Value.ToString = "總監" Then
453
                     If 流水帳_dgv.Rows(YY).Cells("同帳指定").Value.ToString = "總監" Then
417
                         流水帳_dgv.Rows(YY).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("總代理.").Value = "0"
454
                         流水帳_dgv.Rows(YY).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("總代理.").Value = "0"
418
                         流水帳_dgv.Rows(YY).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("大股東.").Value = "0"
455
                         流水帳_dgv.Rows(YY).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("大股東.").Value = "0"
419
-                        流水帳_dgv.Rows(YY).Cells("總監.").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value
456
+                        流水帳_dgv.Rows(YY).Cells("總監.").Value = 流水帳_dgv.Rows(YY).Cells("總監").Value
420
                     ElseIf 流水帳_dgv.Rows(YY).Cells("同帳指定").Value.ToString = "大股東" Then
457
                     ElseIf 流水帳_dgv.Rows(YY).Cells("同帳指定").Value.ToString = "大股東" Then
421
                         流水帳_dgv.Rows(YY).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("總代理.").Value = "0"
458
                         流水帳_dgv.Rows(YY).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("總代理.").Value = "0"
422
                         流水帳_dgv.Rows(YY).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("大股東.").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value
459
                         流水帳_dgv.Rows(YY).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(YY).Cells("大股東.").Value = 流水帳_dgv.Rows(YY).Cells("大股東").Value
751
                 Else : 流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString : End If
788
                 Else : 流水帳_dgv.Rows(i).Cells("個人所得1").Value = 流水帳_dgv.Rows(i).Cells("自已總輸贏").Value.ToString : End If
752
                 If 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
789
                 If 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("水差1").Value = "0"
753
                 Else : 流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString : End If
790
                 Else : 流水帳_dgv.Rows(i).Cells("水差1").Value = 流水帳_dgv.Rows(i).Cells("水倍差").Value.ToString : End If
754
-                If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("總監1").Value = "0"
755
-                Else : 流水帳_dgv.Rows(i).Cells("總監1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
791
+                If 流水帳_dgv.Rows(i).Cells("總監").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("總監1").Value = "0"
792
+                Else : 流水帳_dgv.Rows(i).Cells("總監1").Value = 流水帳_dgv.Rows(i).Cells("總監").Value.ToString : End If
756
                 If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("大股東1").Value = "0"
793
                 If 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("大股東1").Value = "0"
757
                 Else : 流水帳_dgv.Rows(i).Cells("大股東1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
794
                 Else : 流水帳_dgv.Rows(i).Cells("大股東1").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value.ToString : End If
758
                 If 流水帳_dgv.Rows(i).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("股東1").Value = "0"
795
                 If 流水帳_dgv.Rows(i).Cells("股東").Value.ToString = "" Then : 流水帳_dgv.Rows(i).Cells("股東1").Value = "0"
817
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
854
                     If 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "總監" Then
818
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
855
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
819
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = "0"
856
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = "0"
820
-                        流水帳_dgv.Rows(i).Cells("總監.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
857
+                        流水帳_dgv.Rows(i).Cells("總監.").Value = 流水帳_dgv.Rows(i).Cells("總監").Value
821
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
858
                     ElseIf 流水帳_dgv.Rows(i).Cells("同帳指定").Value.ToString = "大股東" Then
822
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
859
                         流水帳_dgv.Rows(i).Cells("會員.").Value = "0" : 流水帳_dgv.Rows(i).Cells("代理.").Value = "0" : 流水帳_dgv.Rows(i).Cells("總代理.").Value = "0"
823
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
860
                         流水帳_dgv.Rows(i).Cells("股東.").Value = "0" : 流水帳_dgv.Rows(i).Cells("大股東.").Value = 流水帳_dgv.Rows(i).Cells("大股東").Value
904
             For i As Integer = 0 To 流水帳_dgv.Rows.Count - 1
941
             For i As Integer = 0 To 流水帳_dgv.Rows.Count - 1
905
                 MyModule1.進度條()
942
                 MyModule1.進度條()
906
                 PA = 流水帳_dgv("下客流水", i).Value.ToString : BL1 = 流水帳_dgv("計算", i).Value : BL2 = 流水帳_dgv("同帳", i).Value : BL3 = 流水帳_dgv("所得", i).Value
943
                 PA = 流水帳_dgv("下客流水", i).Value.ToString : BL1 = 流水帳_dgv("計算", i).Value : BL2 = 流水帳_dgv("同帳", i).Value : BL3 = 流水帳_dgv("所得", i).Value
944
+                PA1 = 流水帳_dgv("所得指定", i).Value.ToString
907
                 SQL_系統編碼規則_客戶下批改()
945
                 SQL_系統編碼規則_客戶下批改()
908
             Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0 : MsgBox("批量存檔完成!!!")
946
             Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0 : MsgBox("批量存檔完成!!!")
947
+            SQL_客戶下所得名稱清單() : 所得指定_cb.Items.Clear() : While (dr.Read()) : 所得指定_cb.Items.Add(dr("所得另算")) : End While : conn.Close()
909
         End If : conn.Close() : PA = ""
948
         End If : conn.Close() : PA = ""
910
     End Sub
949
     End Sub
950
+    Private Sub 所得指定整合_bt_Click(sender As Object, e As EventArgs) Handles 所得指定整合_bt.Click
951
+        If Panel1.Visible = False Then : Panel1.Visible = True : Else : Panel1.Visible = False : End If : Set_所得彙總()
952
+    End Sub
953
+    Private Sub 所得指定_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 所得指定_cb.SelectedIndexChanged
954
+        Set_所得彙總()
955
+    End Sub
956
+    Private Sub 列印1_bt_Click(sender As Object, e As EventArgs) Handles 列印1_bt.Click
957
+        xlApp = CType(CreateObject("Excel.Application"), Microsoft.Office.Interop.Excel.Application)
958
+        xlBook = xlApp.Workbooks.Add
959
+        xlApp.DisplayAlerts = True
960
+        xlApp.Visible = True
961
+        xlApp.Application.WindowState = xlMaximized
962
+        N1 = 0 : N2 = 0
963
+        If 所得指定_cb.Items.Count = 0 Then
964
+            Set_所得彙總()
965
+            xlSheet = NewMethod(xlBook)
966
+            If 所得指定_cb.Text = "" Then
967
+                xlApp.Sheets(1).Name = "未指定所得"
968
+            Else
969
+                xlApp.Sheets(1).Name = 所得指定_cb.Text
970
+            End If
971
+            xlBook.Activate() : xlSheet.Activate()
972
+            xlSheet.Cells(1, 1) = 所得指定_cb.Text
973
+            xlSheet.Cells(2, 1) = "商品" : xlSheet.Cells(2, 2) = "所得"
974
+            For II As Integer = 0 To 所得彙總_dgv.Rows.Count - 1
975
+                xlSheet.Cells(3 + II, 1) = 所得彙總_dgv.Rows(II).Cells("商品").Value : xlSheet.Cells(3 + II, 2) = 所得彙總_dgv.Rows(II).Cells("所得").Value
976
+                N1 = II
977
+            Next
978
+            N2 = 1
979
+            所得格式(xlApp, xlSheet)
980
+        Else
981
+            For i As Integer = 0 To 所得指定_cb.Items.Count - 1
982
+                所得指定_cb.SelectedIndex = i
983
+                xlSheet = NewMethod(xlBook)
984
+                If 所得指定_cb.Text = "" Then
985
+                    xlApp.Sheets(1).Name = "未指定所得"
986
+                Else
987
+                    xlApp.Sheets(1).Name = 所得指定_cb.Text
988
+                End If
989
+                xlBook.Activate() : xlSheet.Activate()
990
+                xlSheet.Cells(1, 1) = 所得指定_cb.Text
991
+                xlSheet.Cells(2, 1) = "商品" : xlSheet.Cells(2, 2) = "所得"
992
+                For II As Integer = 0 To 所得彙總_dgv.Rows.Count - 1
993
+                    xlSheet.Cells(3 + II, 1) = 所得彙總_dgv.Rows(II).Cells("商品").Value : xlSheet.Cells(3 + II, 2) = 所得彙總_dgv.Rows(II).Cells("所得").Value
994
+                    N1 = II
995
+                Next
996
+                N2 = i + 1
997
+                所得格式(xlApp, xlSheet)
998
+            Next
999
+        End If
1000
+
1001
+        xlApp.Sheets(N2 + 1).Delete
1002
+        xlSheet.PageSetup.PrintArea = ""
1003
+        xlApp.Cells.Select()
1004
+        xlSheet.Range("B1").Select()
1005
+        xlApp.Application.WindowState = xlMinimized
1006
+        MsgBox("列印完成")
1007
+    End Sub
911
     Private Sub 列印_bt_Click(sender As Object, e As EventArgs) Handles 列印_bt.Click
1008
     Private Sub 列印_bt_Click(sender As Object, e As EventArgs) Handles 列印_bt.Click
912
         xlApp = CType(CreateObject("Excel.Application"), Microsoft.Office.Interop.Excel.Application)
1009
         xlApp = CType(CreateObject("Excel.Application"), Microsoft.Office.Interop.Excel.Application)
913
         xlBook = xlApp.Workbooks.Add
1010
         xlBook = xlApp.Workbooks.Add
986
 
1083
 
987
         xlSheet.Rows("3:3").Select : myExcel.ActiveWindow.FreezePanes = True
1084
         xlSheet.Rows("3:3").Select : myExcel.ActiveWindow.FreezePanes = True
988
     End Sub
1085
     End Sub
1086
+    Private Sub 所得格式(ByVal myExcel As Microsoft.Office.Interop.Excel.Application, ByVal xlSheet As Microsoft.Office.Interop.Excel.Worksheet)
1087
+        xlSheet.Cells.Select()
1088
+        With myExcel.Selection.Font : .Name = "微軟正黑體" : .Size = 12 : .Strikethrough = False : .Superscript = False : .Subscript = False : .OutlineFont = False
1089
+            .Shadow = False : .Underline = xlUnderlineStyleNone : .ThemeColor = xlThemeColorLight1 : .TintAndShade = 0 : .ThemeFont = xlThemeFontNone : End With
1090
+
1091
+        xlSheet.Columns("A:B").Select : myExcel.Columns("A:B").EntireColumn.AutoFit
1092
+
1093
+        xlSheet.Range("A1:B1").Select()
1094
+        With myExcel.Selection : .HorizontalAlignment = xlCenter : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
1095
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With : myExcel.Selection.Merge
1096
+
1097
+        xlSheet.Range("A1:B" & N1 + 3).Select()
1098
+        myExcel.Selection.Borders(xlDiagonalDown).LineStyle = xlNone : myExcel.Selection.Borders(xlDiagonalUp).LineStyle = xlNone
1099
+        With myExcel.Selection.Borders(xlEdgeLeft) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1100
+        With myExcel.Selection.Borders(xlEdgeTop) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1101
+        With myExcel.Selection.Borders(xlEdgeBottom) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1102
+        With myExcel.Selection.Borders(xlEdgeRight) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1103
+        With myExcel.Selection.Borders(xlInsideVertical) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1104
+        With myExcel.Selection.Borders(xlInsideHorizontal) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
1105
+
1106
+        xlSheet.Range("A1:B1").Select()
1107
+        With myExcel.Selection.Interior : .Pattern = xlSolid : .PatternColorIndex = xlAutomatic : .ThemeColor = xlThemeColorAccent2 : .TintAndShade = 0.399975585192419
1108
+            .PatternTintAndShade = 0 : End With
1109
+
1110
+        myExcel.ActiveWindow.DisplayGridlines = False
1111
+
1112
+        xlSheet.Columns("A:A").Select
1113
+        With myExcel.Selection : .HorizontalAlignment = xlCenter : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
1114
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext
1115
+        End With
1116
+        xlSheet.Columns("B:B").Select
1117
+        myExcel.Selection.NumberFormatLocal = "#,##0;[紅色]-#,##0"
1118
+        With myExcel.Selection : .HorizontalAlignment = xlRight : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
1119
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext
1120
+        End With
1121
+        xlSheet.Range("D1").Select()
1122
+    End Sub
989
 End Class
1123
 End Class

+ 305
- 0
GA-ERP-SYS/特殊操作功能/錯誤排除手冊.Designer.vb Просмотреть файл

1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class 錯誤排除手冊
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Me.TabControl1 = New System.Windows.Forms.TabControl()
26
+        Me.TabPage1 = New System.Windows.Forms.TabPage()
27
+        Me.PictureBox5 = New System.Windows.Forms.PictureBox()
28
+        Me.PictureBox4 = New System.Windows.Forms.PictureBox()
29
+        Me.Label6 = New System.Windows.Forms.Label()
30
+        Me.Label5 = New System.Windows.Forms.Label()
31
+        Me.PictureBox3 = New System.Windows.Forms.PictureBox()
32
+        Me.Label3 = New System.Windows.Forms.Label()
33
+        Me.Button2 = New System.Windows.Forms.Button()
34
+        Me.TextBox2 = New System.Windows.Forms.TextBox()
35
+        Me.Label4 = New System.Windows.Forms.Label()
36
+        Me.PictureBox2 = New System.Windows.Forms.PictureBox()
37
+        Me.TextBox1 = New System.Windows.Forms.TextBox()
38
+        Me.Button1 = New System.Windows.Forms.Button()
39
+        Me.Label2 = New System.Windows.Forms.Label()
40
+        Me.PictureBox1 = New System.Windows.Forms.PictureBox()
41
+        Me.Label1 = New System.Windows.Forms.Label()
42
+        Me.TabPage2 = New System.Windows.Forms.TabPage()
43
+        Me.Panel1 = New System.Windows.Forms.Panel()
44
+        Me.TabControl1.SuspendLayout()
45
+        Me.TabPage1.SuspendLayout()
46
+        CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).BeginInit()
47
+        CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).BeginInit()
48
+        CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
49
+        CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
50
+        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
51
+        Me.TabPage2.SuspendLayout()
52
+        Me.SuspendLayout()
53
+        '
54
+        'TabControl1
55
+        '
56
+        Me.TabControl1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
57
+            Or System.Windows.Forms.AnchorStyles.Left) _
58
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
59
+        Me.TabControl1.Controls.Add(Me.TabPage1)
60
+        Me.TabControl1.Controls.Add(Me.TabPage2)
61
+        Me.TabControl1.Location = New System.Drawing.Point(2, 2)
62
+        Me.TabControl1.Multiline = True
63
+        Me.TabControl1.Name = "TabControl1"
64
+        Me.TabControl1.SelectedIndex = 0
65
+        Me.TabControl1.Size = New System.Drawing.Size(1125, 596)
66
+        Me.TabControl1.TabIndex = 0
67
+        '
68
+        'TabPage1
69
+        '
70
+        Me.TabPage1.AutoScroll = True
71
+        Me.TabPage1.Controls.Add(Me.PictureBox5)
72
+        Me.TabPage1.Controls.Add(Me.PictureBox4)
73
+        Me.TabPage1.Controls.Add(Me.Label6)
74
+        Me.TabPage1.Controls.Add(Me.Label5)
75
+        Me.TabPage1.Controls.Add(Me.PictureBox3)
76
+        Me.TabPage1.Controls.Add(Me.Label3)
77
+        Me.TabPage1.Controls.Add(Me.Button2)
78
+        Me.TabPage1.Controls.Add(Me.TextBox2)
79
+        Me.TabPage1.Controls.Add(Me.Label4)
80
+        Me.TabPage1.Controls.Add(Me.PictureBox2)
81
+        Me.TabPage1.Controls.Add(Me.TextBox1)
82
+        Me.TabPage1.Controls.Add(Me.Button1)
83
+        Me.TabPage1.Controls.Add(Me.Label2)
84
+        Me.TabPage1.Controls.Add(Me.PictureBox1)
85
+        Me.TabPage1.Controls.Add(Me.Label1)
86
+        Me.TabPage1.Location = New System.Drawing.Point(4, 25)
87
+        Me.TabPage1.Name = "TabPage1"
88
+        Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
89
+        Me.TabPage1.Size = New System.Drawing.Size(1117, 567)
90
+        Me.TabPage1.TabIndex = 0
91
+        Me.TabPage1.Text = "網路DRIVER錯誤"
92
+        Me.TabPage1.UseVisualStyleBackColor = True
93
+        '
94
+        'PictureBox5
95
+        '
96
+        Me.PictureBox5.BackgroundImage = Global.GA_ERP_SYS.My.Resources.Resources._00aa2ad767a242ddc3099a90a5c7edb
97
+        Me.PictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
98
+        Me.PictureBox5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
99
+        Me.PictureBox5.Location = New System.Drawing.Point(502, 682)
100
+        Me.PictureBox5.Name = "PictureBox5"
101
+        Me.PictureBox5.Size = New System.Drawing.Size(476, 390)
102
+        Me.PictureBox5.TabIndex = 15
103
+        Me.PictureBox5.TabStop = False
104
+        '
105
+        'PictureBox4
106
+        '
107
+        Me.PictureBox4.BackgroundImage = Global.GA_ERP_SYS.My.Resources.Resources._125425789654
108
+        Me.PictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
109
+        Me.PictureBox4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
110
+        Me.PictureBox4.Location = New System.Drawing.Point(29, 682)
111
+        Me.PictureBox4.Name = "PictureBox4"
112
+        Me.PictureBox4.Size = New System.Drawing.Size(472, 390)
113
+        Me.PictureBox4.TabIndex = 14
114
+        Me.PictureBox4.TabStop = False
115
+        '
116
+        'Label6
117
+        '
118
+        Me.Label6.AutoSize = True
119
+        Me.Label6.ForeColor = System.Drawing.Color.Red
120
+        Me.Label6.Location = New System.Drawing.Point(26, 647)
121
+        Me.Label6.Name = "Label6"
122
+        Me.Label6.Size = New System.Drawing.Size(558, 32)
123
+        Me.Label6.TabIndex = 13
124
+        Me.Label6.Text = "3,下載解壓chromedriver,再將檔案複製貼到系統安裝目錄中,覆蓋掉之前的那個檔案即可完成更新。" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "       a、你可以在系統桌面的捷徑上按下滑鼠右鍵" &
125
+    ",開啟系統的安裝目錄。"
126
+        '
127
+        'Label5
128
+        '
129
+        Me.Label5.AutoSize = True
130
+        Me.Label5.ForeColor = System.Drawing.Color.Red
131
+        Me.Label5.Location = New System.Drawing.Point(44, 448)
132
+        Me.Label5.Name = "Label5"
133
+        Me.Label5.Size = New System.Drawing.Size(414, 16)
134
+        Me.Label5.TabIndex = 12
135
+        Me.Label5.Text = "列表裡的chromedriver主版本號都是與chrome版本的主版本號一一對應的。"
136
+        '
137
+        'PictureBox3
138
+        '
139
+        Me.PictureBox3.BackgroundImage = Global.GA_ERP_SYS.My.Resources.Resources._5bb63d4ef7f776f75809dfb810d8a16
140
+        Me.PictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
141
+        Me.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
142
+        Me.PictureBox3.Location = New System.Drawing.Point(29, 469)
143
+        Me.PictureBox3.Name = "PictureBox3"
144
+        Me.PictureBox3.Size = New System.Drawing.Size(949, 171)
145
+        Me.PictureBox3.TabIndex = 11
146
+        Me.PictureBox3.TabStop = False
147
+        '
148
+        'Label3
149
+        '
150
+        Me.Label3.AutoSize = True
151
+        Me.Label3.ForeColor = System.Drawing.Color.Red
152
+        Me.Label3.Location = New System.Drawing.Point(498, 223)
153
+        Me.Label3.Name = "Label3"
154
+        Me.Label3.Size = New System.Drawing.Size(269, 16)
155
+        Me.Label3.TabIndex = 10
156
+        Me.Label3.Text = "從Chrome瀏覽器中德茲你電腦中目前的版本號。"
157
+        '
158
+        'Button2
159
+        '
160
+        Me.Button2.Location = New System.Drawing.Point(758, 422)
161
+        Me.Button2.Name = "Button2"
162
+        Me.Button2.Size = New System.Drawing.Size(98, 23)
163
+        Me.Button2.TabIndex = 9
164
+        Me.Button2.Text = "打開瀏覽器"
165
+        Me.Button2.UseVisualStyleBackColor = True
166
+        '
167
+        'TextBox2
168
+        '
169
+        Me.TextBox2.Location = New System.Drawing.Point(419, 422)
170
+        Me.TextBox2.Name = "TextBox2"
171
+        Me.TextBox2.Size = New System.Drawing.Size(333, 23)
172
+        Me.TextBox2.TabIndex = 8
173
+        Me.TextBox2.Text = "https://chromedriver.storage.googleapis.com/index.html"
174
+        '
175
+        'Label4
176
+        '
177
+        Me.Label4.AutoSize = True
178
+        Me.Label4.ForeColor = System.Drawing.Color.Red
179
+        Me.Label4.Location = New System.Drawing.Point(26, 425)
180
+        Me.Label4.Name = "Label4"
181
+        Me.Label4.Size = New System.Drawing.Size(387, 16)
182
+        Me.Label4.TabIndex = 7
183
+        Me.Label4.Text = "2,訪問google的chromedriver官方下載站,找到對應的chromedriver"
184
+        '
185
+        'PictureBox2
186
+        '
187
+        Me.PictureBox2.BackgroundImage = Global.GA_ERP_SYS.My.Resources.Resources._47526ccfe6fd81c95524745ad12d1f7
188
+        Me.PictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
189
+        Me.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
190
+        Me.PictureBox2.Location = New System.Drawing.Point(26, 246)
191
+        Me.PictureBox2.Name = "PictureBox2"
192
+        Me.PictureBox2.Size = New System.Drawing.Size(949, 171)
193
+        Me.PictureBox2.TabIndex = 6
194
+        Me.PictureBox2.TabStop = False
195
+        '
196
+        'TextBox1
197
+        '
198
+        Me.TextBox1.Location = New System.Drawing.Point(281, 220)
199
+        Me.TextBox1.Name = "TextBox1"
200
+        Me.TextBox1.Size = New System.Drawing.Size(109, 23)
201
+        Me.TextBox1.TabIndex = 5
202
+        Me.TextBox1.Text = "chrome://version"
203
+        '
204
+        'Button1
205
+        '
206
+        Me.Button1.Location = New System.Drawing.Point(393, 220)
207
+        Me.Button1.Name = "Button1"
208
+        Me.Button1.Size = New System.Drawing.Size(98, 23)
209
+        Me.Button1.TabIndex = 3
210
+        Me.Button1.Text = "打開瀏覽器"
211
+        Me.Button1.UseVisualStyleBackColor = True
212
+        '
213
+        'Label2
214
+        '
215
+        Me.Label2.AutoSize = True
216
+        Me.Label2.ForeColor = System.Drawing.Color.Red
217
+        Me.Label2.Location = New System.Drawing.Point(26, 223)
218
+        Me.Label2.Name = "Label2"
219
+        Me.Label2.Size = New System.Drawing.Size(254, 16)
220
+        Me.Label2.TabIndex = 2
221
+        Me.Label2.Text = "1,查看chrome版本 : 查看chrome版本,输入"
222
+        '
223
+        'PictureBox1
224
+        '
225
+        Me.PictureBox1.BackgroundImage = Global.GA_ERP_SYS.My.Resources.Resources._1631414926457
226
+        Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
227
+        Me.PictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
228
+        Me.PictureBox1.Location = New System.Drawing.Point(26, 42)
229
+        Me.PictureBox1.Name = "PictureBox1"
230
+        Me.PictureBox1.Size = New System.Drawing.Size(949, 171)
231
+        Me.PictureBox1.TabIndex = 1
232
+        Me.PictureBox1.TabStop = False
233
+        '
234
+        'Label1
235
+        '
236
+        Me.Label1.AutoSize = True
237
+        Me.Label1.ForeColor = System.Drawing.Color.Red
238
+        Me.Label1.Location = New System.Drawing.Point(26, 25)
239
+        Me.Label1.Name = "Label1"
240
+        Me.Label1.Size = New System.Drawing.Size(356, 16)
241
+        Me.Label1.TabIndex = 0
242
+        Me.Label1.Text = "在執行資料導入時如果遇到下方描述的錯誤時請依照下方SOP除錯"
243
+        '
244
+        'TabPage2
245
+        '
246
+        Me.TabPage2.Controls.Add(Me.Panel1)
247
+        Me.TabPage2.Location = New System.Drawing.Point(4, 25)
248
+        Me.TabPage2.Name = "TabPage2"
249
+        Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
250
+        Me.TabPage2.Size = New System.Drawing.Size(1117, 567)
251
+        Me.TabPage2.TabIndex = 1
252
+        Me.TabPage2.Text = "[ ? ]"
253
+        Me.TabPage2.UseVisualStyleBackColor = True
254
+        '
255
+        'Panel1
256
+        '
257
+        Me.Panel1.Dock = System.Windows.Forms.DockStyle.Fill
258
+        Me.Panel1.Location = New System.Drawing.Point(3, 3)
259
+        Me.Panel1.Name = "Panel1"
260
+        Me.Panel1.Size = New System.Drawing.Size(1111, 561)
261
+        Me.Panel1.TabIndex = 8
262
+        '
263
+        '錯誤排除手冊
264
+        '
265
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
266
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
267
+        Me.ClientSize = New System.Drawing.Size(1129, 600)
268
+        Me.Controls.Add(Me.TabControl1)
269
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
270
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
271
+        Me.Name = "錯誤排除手冊"
272
+        Me.Text = "錯誤排除手冊"
273
+        Me.TabControl1.ResumeLayout(False)
274
+        Me.TabPage1.ResumeLayout(False)
275
+        Me.TabPage1.PerformLayout()
276
+        CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).EndInit()
277
+        CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).EndInit()
278
+        CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit()
279
+        CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
280
+        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
281
+        Me.TabPage2.ResumeLayout(False)
282
+        Me.ResumeLayout(False)
283
+
284
+    End Sub
285
+
286
+    Friend WithEvents TabControl1 As TabControl
287
+    Friend WithEvents TabPage1 As TabPage
288
+    Friend WithEvents Label1 As Label
289
+    Friend WithEvents TabPage2 As TabPage
290
+    Friend WithEvents PictureBox1 As PictureBox
291
+    Friend WithEvents TextBox1 As TextBox
292
+    Friend WithEvents Button1 As Button
293
+    Friend WithEvents Label2 As Label
294
+    Friend WithEvents PictureBox2 As PictureBox
295
+    Friend WithEvents Panel1 As Panel
296
+    Friend WithEvents TextBox2 As TextBox
297
+    Friend WithEvents Label4 As Label
298
+    Friend WithEvents Button2 As Button
299
+    Friend WithEvents Label5 As Label
300
+    Friend WithEvents PictureBox3 As PictureBox
301
+    Friend WithEvents Label3 As Label
302
+    Friend WithEvents Label6 As Label
303
+    Friend WithEvents PictureBox4 As PictureBox
304
+    Friend WithEvents PictureBox5 As PictureBox
305
+End Class

+ 120
- 0
GA-ERP-SYS/特殊操作功能/錯誤排除手冊.resx Просмотреть файл

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

+ 19
- 0
GA-ERP-SYS/特殊操作功能/錯誤排除手冊.vb Просмотреть файл

1
+Imports System.IO
2
+Public Class 錯誤排除手冊
3
+
4
+    Private Sub 錯誤排除手冊_Load(sender As Object, e As EventArgs) Handles MyBase.Load
5
+        Me.MdiParent = GA_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : GA_ERP_SYS.WindowState = 0
6
+    End Sub
7
+    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
8
+        Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
9
+        Dim fullPath As String
10
+        fullPath = Path.GetFullPath(fileName)
11
+        Process.Start(fullPath, "--app=")
12
+    End Sub
13
+    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
14
+        Dim fileName As String = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
15
+        Dim fullPath As String
16
+        fullPath = Path.GetFullPath(fileName)
17
+        Process.Start(fullPath, "--app=" & TextBox2.Text)
18
+    End Sub
19
+End Class

+ 89
- 29
GA-ERP-SYS/資料庫系統管理/系統使用者管理.Designer.vb Просмотреть файл

43
         Me.CheckBox2 = New System.Windows.Forms.CheckBox()
43
         Me.CheckBox2 = New System.Windows.Forms.CheckBox()
44
         Me.CheckBox1 = New System.Windows.Forms.CheckBox()
44
         Me.CheckBox1 = New System.Windows.Forms.CheckBox()
45
         Me.Panel1 = New System.Windows.Forms.Panel()
45
         Me.Panel1 = New System.Windows.Forms.Panel()
46
+        Me.CheckBox21 = New System.Windows.Forms.CheckBox()
46
         Me.CheckBox20 = New System.Windows.Forms.CheckBox()
47
         Me.CheckBox20 = New System.Windows.Forms.CheckBox()
47
         Me.CheckBox19 = New System.Windows.Forms.CheckBox()
48
         Me.CheckBox19 = New System.Windows.Forms.CheckBox()
48
         Me.CheckBox18 = New System.Windows.Forms.CheckBox()
49
         Me.CheckBox18 = New System.Windows.Forms.CheckBox()
68
         Me.Label5 = New System.Windows.Forms.Label()
69
         Me.Label5 = New System.Windows.Forms.Label()
69
         Me.Label7 = New System.Windows.Forms.Label()
70
         Me.Label7 = New System.Windows.Forms.Label()
70
         Me.到期日_dtp = New System.Windows.Forms.DateTimePicker()
71
         Me.到期日_dtp = New System.Windows.Forms.DateTimePicker()
71
-        Me.CheckBox21 = New System.Windows.Forms.CheckBox()
72
+        Me.CheckBox22 = New System.Windows.Forms.CheckBox()
73
+        Me.CheckBox23 = New System.Windows.Forms.CheckBox()
74
+        Me.CheckBox24 = New System.Windows.Forms.CheckBox()
75
+        Me.CheckBox25 = New System.Windows.Forms.CheckBox()
72
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
76
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
73
         CType(Me.使用者清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
77
         CType(Me.使用者清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
74
         Me.Panel1.SuspendLayout()
78
         Me.Panel1.SuspendLayout()
254
         '
258
         '
255
         Me.CheckBox5.AutoSize = True
259
         Me.CheckBox5.AutoSize = True
256
         Me.CheckBox5.ForeColor = System.Drawing.Color.Red
260
         Me.CheckBox5.ForeColor = System.Drawing.Color.Red
257
-        Me.CheckBox5.Location = New System.Drawing.Point(259, 286)
261
+        Me.CheckBox5.Location = New System.Drawing.Point(261, 260)
258
         Me.CheckBox5.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
262
         Me.CheckBox5.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
259
         Me.CheckBox5.Name = "CheckBox5"
263
         Me.CheckBox5.Name = "CheckBox5"
260
         Me.CheckBox5.Size = New System.Drawing.Size(142, 20)
264
         Me.CheckBox5.Size = New System.Drawing.Size(142, 20)
266
         '
270
         '
267
         Me.CheckBox4.AutoSize = True
271
         Me.CheckBox4.AutoSize = True
268
         Me.CheckBox4.ForeColor = System.Drawing.Color.Red
272
         Me.CheckBox4.ForeColor = System.Drawing.Color.Red
269
-        Me.CheckBox4.Location = New System.Drawing.Point(259, 258)
273
+        Me.CheckBox4.Location = New System.Drawing.Point(261, 232)
270
         Me.CheckBox4.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
274
         Me.CheckBox4.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
271
         Me.CheckBox4.Name = "CheckBox4"
275
         Me.CheckBox4.Name = "CheckBox4"
272
         Me.CheckBox4.Size = New System.Drawing.Size(170, 20)
276
         Me.CheckBox4.Size = New System.Drawing.Size(170, 20)
278
         '
282
         '
279
         Me.CheckBox3.AutoSize = True
283
         Me.CheckBox3.AutoSize = True
280
         Me.CheckBox3.ForeColor = System.Drawing.Color.Red
284
         Me.CheckBox3.ForeColor = System.Drawing.Color.Red
281
-        Me.CheckBox3.Location = New System.Drawing.Point(259, 230)
285
+        Me.CheckBox3.Location = New System.Drawing.Point(261, 204)
282
         Me.CheckBox3.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
286
         Me.CheckBox3.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
283
         Me.CheckBox3.Name = "CheckBox3"
287
         Me.CheckBox3.Name = "CheckBox3"
284
         Me.CheckBox3.Size = New System.Drawing.Size(134, 20)
288
         Me.CheckBox3.Size = New System.Drawing.Size(134, 20)
290
         '
294
         '
291
         Me.CheckBox2.AutoSize = True
295
         Me.CheckBox2.AutoSize = True
292
         Me.CheckBox2.ForeColor = System.Drawing.Color.Red
296
         Me.CheckBox2.ForeColor = System.Drawing.Color.Red
293
-        Me.CheckBox2.Location = New System.Drawing.Point(259, 146)
297
+        Me.CheckBox2.Location = New System.Drawing.Point(261, 34)
294
         Me.CheckBox2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
298
         Me.CheckBox2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
295
         Me.CheckBox2.Name = "CheckBox2"
299
         Me.CheckBox2.Name = "CheckBox2"
296
         Me.CheckBox2.Size = New System.Drawing.Size(146, 20)
300
         Me.CheckBox2.Size = New System.Drawing.Size(146, 20)
301
         'CheckBox1
305
         'CheckBox1
302
         '
306
         '
303
         Me.CheckBox1.AutoSize = True
307
         Me.CheckBox1.AutoSize = True
304
-        Me.CheckBox1.Location = New System.Drawing.Point(239, 118)
308
+        Me.CheckBox1.Location = New System.Drawing.Point(236, 6)
305
         Me.CheckBox1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
309
         Me.CheckBox1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
306
         Me.CheckBox1.Name = "CheckBox1"
310
         Me.CheckBox1.Name = "CheckBox1"
307
         Me.CheckBox1.Size = New System.Drawing.Size(146, 20)
311
         Me.CheckBox1.Size = New System.Drawing.Size(146, 20)
316
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
320
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
317
         Me.Panel1.AutoScroll = True
321
         Me.Panel1.AutoScroll = True
318
         Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
322
         Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
323
+        Me.Panel1.Controls.Add(Me.CheckBox25)
324
+        Me.Panel1.Controls.Add(Me.CheckBox24)
325
+        Me.Panel1.Controls.Add(Me.CheckBox23)
326
+        Me.Panel1.Controls.Add(Me.CheckBox22)
319
         Me.Panel1.Controls.Add(Me.CheckBox21)
327
         Me.Panel1.Controls.Add(Me.CheckBox21)
320
         Me.Panel1.Controls.Add(Me.CheckBox20)
328
         Me.Panel1.Controls.Add(Me.CheckBox20)
321
         Me.Panel1.Controls.Add(Me.CheckBox19)
329
         Me.Panel1.Controls.Add(Me.CheckBox19)
343
         Me.Panel1.Size = New System.Drawing.Size(1253, 910)
351
         Me.Panel1.Size = New System.Drawing.Size(1253, 910)
344
         Me.Panel1.TabIndex = 1513
352
         Me.Panel1.TabIndex = 1513
345
         '
353
         '
354
+        'CheckBox21
355
+        '
356
+        Me.CheckBox21.AutoSize = True
357
+        Me.CheckBox21.ForeColor = System.Drawing.Color.Red
358
+        Me.CheckBox21.Location = New System.Drawing.Point(33, 230)
359
+        Me.CheckBox21.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
360
+        Me.CheckBox21.Name = "CheckBox21"
361
+        Me.CheckBox21.Size = New System.Drawing.Size(146, 20)
362
+        Me.CheckBox21.TabIndex = 279
363
+        Me.CheckBox21.Text = "帳務彙總計算表-CC21"
364
+        Me.CheckBox21.UseVisualStyleBackColor = True
365
+        '
346
         'CheckBox20
366
         'CheckBox20
347
         '
367
         '
348
         Me.CheckBox20.AutoSize = True
368
         Me.CheckBox20.AutoSize = True
349
         Me.CheckBox20.ForeColor = System.Drawing.Color.Red
369
         Me.CheckBox20.ForeColor = System.Drawing.Color.Red
350
-        Me.CheckBox20.Location = New System.Drawing.Point(281, 202)
370
+        Me.CheckBox20.Location = New System.Drawing.Point(285, 90)
351
         Me.CheckBox20.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
371
         Me.CheckBox20.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
352
         Me.CheckBox20.Name = "CheckBox20"
372
         Me.CheckBox20.Name = "CheckBox20"
353
         Me.CheckBox20.Size = New System.Drawing.Size(110, 20)
373
         Me.CheckBox20.Size = New System.Drawing.Size(110, 20)
359
         '
379
         '
360
         Me.CheckBox19.AutoSize = True
380
         Me.CheckBox19.AutoSize = True
361
         Me.CheckBox19.ForeColor = System.Drawing.Color.Red
381
         Me.CheckBox19.ForeColor = System.Drawing.Color.Red
362
-        Me.CheckBox19.Location = New System.Drawing.Point(55, 174)
382
+        Me.CheckBox19.Location = New System.Drawing.Point(55, 146)
363
         Me.CheckBox19.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
383
         Me.CheckBox19.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
364
         Me.CheckBox19.Name = "CheckBox19"
384
         Me.CheckBox19.Name = "CheckBox19"
365
         Me.CheckBox19.Size = New System.Drawing.Size(110, 20)
385
         Me.CheckBox19.Size = New System.Drawing.Size(110, 20)
371
         '
391
         '
372
         Me.CheckBox18.AutoSize = True
392
         Me.CheckBox18.AutoSize = True
373
         Me.CheckBox18.ForeColor = System.Drawing.Color.Red
393
         Me.CheckBox18.ForeColor = System.Drawing.Color.Red
374
-        Me.CheckBox18.Location = New System.Drawing.Point(33, 146)
394
+        Me.CheckBox18.Location = New System.Drawing.Point(33, 118)
375
         Me.CheckBox18.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
395
         Me.CheckBox18.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
376
         Me.CheckBox18.Name = "CheckBox18"
396
         Me.CheckBox18.Name = "CheckBox18"
377
         Me.CheckBox18.Size = New System.Drawing.Size(146, 20)
397
         Me.CheckBox18.Size = New System.Drawing.Size(146, 20)
382
         'CheckBox17
402
         'CheckBox17
383
         '
403
         '
384
         Me.CheckBox17.AutoSize = True
404
         Me.CheckBox17.AutoSize = True
385
-        Me.CheckBox17.Location = New System.Drawing.Point(13, 118)
405
+        Me.CheckBox17.Location = New System.Drawing.Point(13, 90)
386
         Me.CheckBox17.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
406
         Me.CheckBox17.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
387
         Me.CheckBox17.Name = "CheckBox17"
407
         Me.CheckBox17.Name = "CheckBox17"
388
         Me.CheckBox17.Size = New System.Drawing.Size(134, 20)
408
         Me.CheckBox17.Size = New System.Drawing.Size(134, 20)
429
         '
449
         '
430
         Me.CheckBox13.AutoSize = True
450
         Me.CheckBox13.AutoSize = True
431
         Me.CheckBox13.ForeColor = System.Drawing.Color.Red
451
         Me.CheckBox13.ForeColor = System.Drawing.Color.Red
432
-        Me.CheckBox13.Location = New System.Drawing.Point(264, 89)
452
+        Me.CheckBox13.Location = New System.Drawing.Point(38, 372)
433
         Me.CheckBox13.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
453
         Me.CheckBox13.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
434
         Me.CheckBox13.Name = "CheckBox13"
454
         Me.CheckBox13.Name = "CheckBox13"
435
         Me.CheckBox13.Size = New System.Drawing.Size(134, 20)
455
         Me.CheckBox13.Size = New System.Drawing.Size(134, 20)
441
         '
461
         '
442
         Me.CheckBox12.AutoSize = True
462
         Me.CheckBox12.AutoSize = True
443
         Me.CheckBox12.ForeColor = System.Drawing.Color.Red
463
         Me.CheckBox12.ForeColor = System.Drawing.Color.Red
444
-        Me.CheckBox12.Location = New System.Drawing.Point(264, 61)
464
+        Me.CheckBox12.Location = New System.Drawing.Point(38, 344)
445
         Me.CheckBox12.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
465
         Me.CheckBox12.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
446
         Me.CheckBox12.Name = "CheckBox12"
466
         Me.CheckBox12.Name = "CheckBox12"
447
         Me.CheckBox12.Size = New System.Drawing.Size(146, 20)
467
         Me.CheckBox12.Size = New System.Drawing.Size(146, 20)
453
         '
473
         '
454
         Me.CheckBox11.AutoSize = True
474
         Me.CheckBox11.AutoSize = True
455
         Me.CheckBox11.ForeColor = System.Drawing.Color.Red
475
         Me.CheckBox11.ForeColor = System.Drawing.Color.Red
456
-        Me.CheckBox11.Location = New System.Drawing.Point(264, 33)
476
+        Me.CheckBox11.Location = New System.Drawing.Point(38, 316)
457
         Me.CheckBox11.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
477
         Me.CheckBox11.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
458
         Me.CheckBox11.Name = "CheckBox11"
478
         Me.CheckBox11.Name = "CheckBox11"
459
         Me.CheckBox11.Size = New System.Drawing.Size(146, 20)
479
         Me.CheckBox11.Size = New System.Drawing.Size(146, 20)
464
         'CheckBox10
484
         'CheckBox10
465
         '
485
         '
466
         Me.CheckBox10.AutoSize = True
486
         Me.CheckBox10.AutoSize = True
467
-        Me.CheckBox10.Location = New System.Drawing.Point(239, 5)
487
+        Me.CheckBox10.Location = New System.Drawing.Point(13, 288)
468
         Me.CheckBox10.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
488
         Me.CheckBox10.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
469
         Me.CheckBox10.Name = "CheckBox10"
489
         Me.CheckBox10.Name = "CheckBox10"
470
         Me.CheckBox10.Size = New System.Drawing.Size(134, 20)
490
         Me.CheckBox10.Size = New System.Drawing.Size(134, 20)
476
         '
496
         '
477
         Me.CheckBox9.AutoSize = True
497
         Me.CheckBox9.AutoSize = True
478
         Me.CheckBox9.ForeColor = System.Drawing.Color.Red
498
         Me.CheckBox9.ForeColor = System.Drawing.Color.Red
479
-        Me.CheckBox9.Location = New System.Drawing.Point(55, 204)
499
+        Me.CheckBox9.Location = New System.Drawing.Point(55, 176)
480
         Me.CheckBox9.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
500
         Me.CheckBox9.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
481
         Me.CheckBox9.Name = "CheckBox9"
501
         Me.CheckBox9.Name = "CheckBox9"
482
         Me.CheckBox9.Size = New System.Drawing.Size(170, 20)
502
         Me.CheckBox9.Size = New System.Drawing.Size(170, 20)
488
         '
508
         '
489
         Me.CheckBox8.AutoSize = True
509
         Me.CheckBox8.AutoSize = True
490
         Me.CheckBox8.ForeColor = System.Drawing.Color.Red
510
         Me.CheckBox8.ForeColor = System.Drawing.Color.Red
491
-        Me.CheckBox8.Location = New System.Drawing.Point(55, 232)
511
+        Me.CheckBox8.Location = New System.Drawing.Point(55, 204)
492
         Me.CheckBox8.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
512
         Me.CheckBox8.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
493
         Me.CheckBox8.Name = "CheckBox8"
513
         Me.CheckBox8.Name = "CheckBox8"
494
         Me.CheckBox8.Size = New System.Drawing.Size(146, 20)
514
         Me.CheckBox8.Size = New System.Drawing.Size(146, 20)
500
         '
520
         '
501
         Me.CheckBox7.AutoSize = True
521
         Me.CheckBox7.AutoSize = True
502
         Me.CheckBox7.ForeColor = System.Drawing.Color.Red
522
         Me.CheckBox7.ForeColor = System.Drawing.Color.Red
503
-        Me.CheckBox7.Location = New System.Drawing.Point(281, 174)
523
+        Me.CheckBox7.Location = New System.Drawing.Point(285, 62)
504
         Me.CheckBox7.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
524
         Me.CheckBox7.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
505
         Me.CheckBox7.Name = "CheckBox7"
525
         Me.CheckBox7.Name = "CheckBox7"
506
         Me.CheckBox7.Size = New System.Drawing.Size(110, 20)
526
         Me.CheckBox7.Size = New System.Drawing.Size(110, 20)
512
         '
532
         '
513
         Me.CheckBox6.AutoSize = True
533
         Me.CheckBox6.AutoSize = True
514
         Me.CheckBox6.ForeColor = System.Drawing.Color.Red
534
         Me.CheckBox6.ForeColor = System.Drawing.Color.Red
515
-        Me.CheckBox6.Location = New System.Drawing.Point(259, 314)
535
+        Me.CheckBox6.Location = New System.Drawing.Point(261, 120)
516
         Me.CheckBox6.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
536
         Me.CheckBox6.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
517
         Me.CheckBox6.Name = "CheckBox6"
537
         Me.CheckBox6.Name = "CheckBox6"
518
         Me.CheckBox6.Size = New System.Drawing.Size(182, 20)
538
         Me.CheckBox6.Size = New System.Drawing.Size(182, 20)
627
         Me.到期日_dtp.Size = New System.Drawing.Size(88, 23)
647
         Me.到期日_dtp.Size = New System.Drawing.Size(88, 23)
628
         Me.到期日_dtp.TabIndex = 1526
648
         Me.到期日_dtp.TabIndex = 1526
629
         '
649
         '
630
-        'CheckBox21
631
-        '
632
-        Me.CheckBox21.AutoSize = True
633
-        Me.CheckBox21.ForeColor = System.Drawing.Color.Red
634
-        Me.CheckBox21.Location = New System.Drawing.Point(33, 258)
635
-        Me.CheckBox21.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
636
-        Me.CheckBox21.Name = "CheckBox21"
637
-        Me.CheckBox21.Size = New System.Drawing.Size(146, 20)
638
-        Me.CheckBox21.TabIndex = 279
639
-        Me.CheckBox21.Text = "帳務彙總計算表-CC21"
640
-        Me.CheckBox21.UseVisualStyleBackColor = True
650
+        'CheckBox22
651
+        '
652
+        Me.CheckBox22.AutoSize = True
653
+        Me.CheckBox22.ForeColor = System.Drawing.Color.Red
654
+        Me.CheckBox22.Location = New System.Drawing.Point(33, 258)
655
+        Me.CheckBox22.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
656
+        Me.CheckBox22.Name = "CheckBox22"
657
+        Me.CheckBox22.Size = New System.Drawing.Size(134, 20)
658
+        Me.CheckBox22.TabIndex = 280
659
+        Me.CheckBox22.Text = "歷史資料查詢-CC22"
660
+        Me.CheckBox22.UseVisualStyleBackColor = True
661
+        '
662
+        'CheckBox23
663
+        '
664
+        Me.CheckBox23.AutoSize = True
665
+        Me.CheckBox23.ForeColor = System.Drawing.Color.Red
666
+        Me.CheckBox23.Location = New System.Drawing.Point(261, 148)
667
+        Me.CheckBox23.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
668
+        Me.CheckBox23.Name = "CheckBox23"
669
+        Me.CheckBox23.Size = New System.Drawing.Size(136, 20)
670
+        Me.CheckBox23.TabIndex = 281
671
+        Me.CheckBox23.Text = "USB KEY 指定-CC23" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
672
+        Me.CheckBox23.UseVisualStyleBackColor = True
673
+        '
674
+        'CheckBox24
675
+        '
676
+        Me.CheckBox24.AutoSize = True
677
+        Me.CheckBox24.ForeColor = System.Drawing.Color.Red
678
+        Me.CheckBox24.Location = New System.Drawing.Point(261, 176)
679
+        Me.CheckBox24.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
680
+        Me.CheckBox24.Name = "CheckBox24"
681
+        Me.CheckBox24.Size = New System.Drawing.Size(134, 20)
682
+        Me.CheckBox24.TabIndex = 282
683
+        Me.CheckBox24.Text = "資料備份轉移-CC24" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
684
+        Me.CheckBox24.UseVisualStyleBackColor = True
685
+        '
686
+        'CheckBox25
687
+        '
688
+        Me.CheckBox25.AutoSize = True
689
+        Me.CheckBox25.ForeColor = System.Drawing.Color.Red
690
+        Me.CheckBox25.Location = New System.Drawing.Point(261, 288)
691
+        Me.CheckBox25.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
692
+        Me.CheckBox25.Name = "CheckBox25"
693
+        Me.CheckBox25.Size = New System.Drawing.Size(161, 20)
694
+        Me.CheckBox25.TabIndex = 283
695
+        Me.CheckBox25.Text = "PY執行錯誤LOG檔-CC25" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
696
+        Me.CheckBox25.UseVisualStyleBackColor = True
641
         '
697
         '
642
         '系統使用者管理
698
         '系統使用者管理
643
         '
699
         '
726
     Friend WithEvents 到期日_dtp As DateTimePicker
782
     Friend WithEvents 到期日_dtp As DateTimePicker
727
     Friend WithEvents CheckBox20 As CheckBox
783
     Friend WithEvents CheckBox20 As CheckBox
728
     Friend WithEvents CheckBox21 As CheckBox
784
     Friend WithEvents CheckBox21 As CheckBox
785
+    Friend WithEvents CheckBox22 As CheckBox
786
+    Friend WithEvents CheckBox23 As CheckBox
787
+    Friend WithEvents CheckBox24 As CheckBox
788
+    Friend WithEvents CheckBox25 As CheckBox
729
 End Class
789
 End Class

+ 30
- 30
GA-ERP-SYS/資料庫系統管理/資料備份轉移.Designer.vb Просмотреть файл

1
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
2
 Partial Class 資料備份轉移
2
 Partial Class 資料備份轉移
3
     Inherits System.Windows.Forms.Form
3
     Inherits System.Windows.Forms.Form
4
 
4
 
5
     'Form 覆寫 Dispose 以清除元件清單。
5
     'Form 覆寫 Dispose 以清除元件清單。
6
-    <System.Diagnostics.DebuggerNonUserCode()> _
6
+    <System.Diagnostics.DebuggerNonUserCode()>
7
     Protected Overrides Sub Dispose(ByVal disposing As Boolean)
7
     Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
         Try
8
         Try
9
             If disposing AndAlso components IsNot Nothing Then
9
             If disposing AndAlso components IsNot Nothing Then
20
     '注意: 以下為 Windows Form 設計工具所需的程序
20
     '注意: 以下為 Windows Form 設計工具所需的程序
21
     '可以使用 Windows Form 設計工具進行修改。
21
     '可以使用 Windows Form 設計工具進行修改。
22
     '請勿使用程式碼編輯器進行修改。
22
     '請勿使用程式碼編輯器進行修改。
23
-    <System.Diagnostics.DebuggerStepThrough()> _
23
+    <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle21 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle22 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle23 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle24 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle27 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
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
         Me.客戶資料表_dgv = New System.Windows.Forms.DataGridView()
34
         Me.客戶資料表_dgv = New System.Windows.Forms.DataGridView()
35
         Me.商品資料表_dgv = New System.Windows.Forms.DataGridView()
35
         Me.商品資料表_dgv = New System.Windows.Forms.DataGridView()
36
         Me.商客基本資料表_dgv = New System.Windows.Forms.DataGridView()
36
         Me.商客基本資料表_dgv = New System.Windows.Forms.DataGridView()
64
         '
64
         '
65
         '客戶資料表_dgv
65
         '客戶資料表_dgv
66
         '
66
         '
67
-        DataGridViewCellStyle19.BackColor = System.Drawing.Color.LavenderBlush
68
-        Me.客戶資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle19
67
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.LavenderBlush
68
+        Me.客戶資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
69
         Me.客戶資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
69
         Me.客戶資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
70
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
70
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
71
         Me.客戶資料表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
71
         Me.客戶資料表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
79
         '
79
         '
80
         '商品資料表_dgv
80
         '商品資料表_dgv
81
         '
81
         '
82
-        DataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
83
-        Me.商品資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle20
82
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
83
+        Me.商品資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
84
         Me.商品資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
84
         Me.商品資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
85
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
85
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
86
         Me.商品資料表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
86
         Me.商品資料表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
94
         '
94
         '
95
         '商客基本資料表_dgv
95
         '商客基本資料表_dgv
96
         '
96
         '
97
-        DataGridViewCellStyle21.BackColor = System.Drawing.Color.Lavender
98
-        Me.商客基本資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle21
97
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.Lavender
98
+        Me.商客基本資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
99
         Me.商客基本資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
99
         Me.商客基本資料表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
100
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
100
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
101
         Me.商客基本資料表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
101
         Me.商客基本資料表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
109
         '
109
         '
110
         '下行客戶_dgv
110
         '下行客戶_dgv
111
         '
111
         '
112
-        DataGridViewCellStyle22.BackColor = System.Drawing.Color.Ivory
113
-        Me.下行客戶_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle22
112
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.Ivory
113
+        Me.下行客戶_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
114
         Me.下行客戶_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
114
         Me.下行客戶_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
115
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
115
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
116
         Me.下行客戶_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
116
         Me.下行客戶_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
124
         '
124
         '
125
         '流水帳_dgv
125
         '流水帳_dgv
126
         '
126
         '
127
-        DataGridViewCellStyle23.BackColor = System.Drawing.Color.Gainsboro
128
-        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle23
127
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.Gainsboro
128
+        Me.流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
129
         Me.流水帳_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
129
         Me.流水帳_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
130
             Or System.Windows.Forms.AnchorStyles.Left) _
130
             Or System.Windows.Forms.AnchorStyles.Left) _
131
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
131
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
213
         '
213
         '
214
         '流水帳1_dgv
214
         '流水帳1_dgv
215
         '
215
         '
216
-        DataGridViewCellStyle24.BackColor = System.Drawing.Color.Gainsboro
217
-        Me.流水帳1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle24
216
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.Gainsboro
217
+        Me.流水帳1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
218
         Me.流水帳1_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
218
         Me.流水帳1_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
219
             Or System.Windows.Forms.AnchorStyles.Left) _
219
             Or System.Windows.Forms.AnchorStyles.Left) _
220
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
220
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
229
         '
229
         '
230
         '下行客戶1_dgv
230
         '下行客戶1_dgv
231
         '
231
         '
232
-        DataGridViewCellStyle25.BackColor = System.Drawing.Color.Ivory
233
-        Me.下行客戶1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle25
232
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.Ivory
233
+        Me.下行客戶1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
234
         Me.下行客戶1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
234
         Me.下行客戶1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
235
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
235
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
236
         Me.下行客戶1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
236
         Me.下行客戶1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
244
         '
244
         '
245
         '商客基本資料表1_dgv
245
         '商客基本資料表1_dgv
246
         '
246
         '
247
-        DataGridViewCellStyle26.BackColor = System.Drawing.Color.Lavender
248
-        Me.商客基本資料表1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle26
247
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.Lavender
248
+        Me.商客基本資料表1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
249
         Me.商客基本資料表1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
249
         Me.商客基本資料表1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
250
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
250
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
251
         Me.商客基本資料表1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
251
         Me.商客基本資料表1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
259
         '
259
         '
260
         '商品資料表1_dgv
260
         '商品資料表1_dgv
261
         '
261
         '
262
-        DataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
263
-        Me.商品資料表1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle27
262
+        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
263
+        Me.商品資料表1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
264
         Me.商品資料表1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
264
         Me.商品資料表1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
265
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
265
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
266
         Me.商品資料表1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
266
         Me.商品資料表1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize

+ 55
- 46
GA-ERP-SYS/資料庫系統管理/資料備份轉移.vb Просмотреть файл

93
         End If
93
         End If
94
     End Sub
94
     End Sub
95
     Private Sub 資料轉移_bt_Click(sender As Object, e As EventArgs) Handles 資料轉移_bt.Click
95
     Private Sub 資料轉移_bt_Click(sender As Object, e As EventArgs) Handles 資料轉移_bt.Click
96
-        資料數1 = 客戶資料表_dgv.Rows.Count * 4
97
-        For i As Integer = 0 To 客戶資料表_dgv.Rows.Count - 1
98
-            SQL_資料庫轉換1_刪除() : 資料數 = 商品資料表_dgv.Rows.Count : 進度條1()
99
-            For ii As Integer = 0 To 商品資料表_dgv.Rows.Count - 1
100
-                MyModule1.進度條()
101
-                SQL1 = "SELECT 商品, 編號, 系統, 層級, 網址 FROM 商品資料表"
102
-                PA = 商品資料表_dgv("商品", ii).Value : PA1 = 商品資料表_dgv("編號", ii).Value : PA2 = 商品資料表_dgv("系統", ii).Value
103
-                PA3 = 商品資料表_dgv("層級", ii).Value : PA4 = 商品資料表_dgv("網址", ii).Value
104
-                SQL_資料庫轉換1_新增()
105
-            Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
106
-            SQL_資料庫轉換2_刪除() : 資料數 = 商客基本資料表_dgv.Rows.Count : 進度條1()
107
-            For ii As Integer = 0 To 商客基本資料表_dgv.Rows.Count - 1
108
-                MyModule1.進度條()
109
-                PA = 商客基本資料表_dgv("網址", ii).Value : PA1 = 商客基本資料表_dgv("帳號", ii).Value : PA2 = 商客基本資料表_dgv("密碼", ii).Value
110
-                PA3 = 商客基本資料表_dgv("資料", ii).Value : PA4 = 商客基本資料表_dgv("上繳源", ii).Value : PA5 = 商客基本資料表_dgv("商品", ii).Value
111
-                PA6 = 商客基本資料表_dgv("上行基數", ii).Value : PA7 = 商客基本資料表_dgv("下行基數", ii).Value : PA8 = 商客基本資料表_dgv("驗證", ii).Value
112
-                SQL_資料庫轉換2_新增()
113
-            Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
114
-            SQL_資料庫轉換3_刪除() : 資料數 = 下行客戶_dgv.Rows.Count : 進度條1()
115
-            For ii As Integer = 0 To 下行客戶_dgv.Rows.Count - 1
116
-                MyModule1.進度條()
117
-                PA = 下行客戶_dgv("客戶下", ii).Value : PA1 = 下行客戶_dgv("網址", ii).Value : PA2 = 下行客戶_dgv("帳號", ii).Value
118
-                PA3 = 下行客戶_dgv("基數", ii).Value : PA4 = 下行客戶_dgv("流水號", ii).Value : PA5 = 下行客戶_dgv("客名", ii).Value
119
-                PA6 = 下行客戶_dgv("計算", ii).Value : PA7 = 下行客戶_dgv("同帳", ii).Value : PA8 = 下行客戶_dgv("所得", ii).Value
120
-                SQL_資料庫轉換3_新增()
121
-            Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
122
-            資料數 = 下行客戶_dgv.Rows.Count : 進度條1()
123
-            For ii As Integer = 0 To 流水帳_dgv.Rows.Count - 1
124
-                MyModule1.進度條()
125
-                PA = 流水帳_dgv("index", ii).Value : PA1 = 流水帳_dgv("開始日期", ii).Value : PA2 = 流水帳_dgv("結束日期", ii).Value
126
-                PA3 = 流水帳_dgv("網址", ii).Value : PA4 = 流水帳_dgv("帳戶", ii).Value : PA5 = 流水帳_dgv("隨機碼", ii).Value
127
-                PA6 = 流水帳_dgv("名稱", ii).Value.ToString : PA7 = 流水帳_dgv("總量", ii).Value.ToString : PA8 = 流水帳_dgv("退水", ii).Value.ToString
128
-                PA9 = 流水帳_dgv("中獎", ii).Value.ToString : PA10 = 流水帳_dgv("輸贏", ii).Value.ToString : PA11 = 流水帳_dgv("佔成輸贏", ii).Value.ToString
129
-                PA12 = 流水帳_dgv("水倍差", ii).Value.ToString : PA13 = 流水帳_dgv("上繳金額", ii).Value.ToString : PA14 = 流水帳_dgv("自已總輸贏", ii).Value.ToString
130
-                PA15 = 流水帳_dgv("上繳貢獻額", ii).Value.ToString : PA16 = 流水帳_dgv("貢獻額", ii).Value.ToString : PA17 = 流水帳_dgv("貢獻度", ii).Value.ToString
131
-                PA18 = 流水帳_dgv("下注明細", ii).Value.ToString : PA19 = 流水帳_dgv("玩法明細", ii).Value.ToString : PA20 = 流水帳_dgv("調盤退水", ii).Value.ToString
132
-                PA21 = 流水帳_dgv("調退實佔", ii).Value.ToString : PA22 = 流水帳_dgv("上繳", ii).Value.ToString : PA23 = 流水帳_dgv("會員", ii).Value.ToString
133
-                PA24 = 流水帳_dgv("代理", ii).Value.ToString : PA25 = 流水帳_dgv("總代理", ii).Value.ToString : PA26 = 流水帳_dgv("股東", ii).Value.ToString
134
-                PA27 = 流水帳_dgv("大股東", ii).Value.ToString : PA28 = 流水帳_dgv("客戶s", ii).Value.ToString : PA29 = 流水帳_dgv("總量s", ii).Value.ToString
135
-                PA30 = 流水帳_dgv("中獎s", ii).Value.ToString : PA31 = 流水帳_dgv("輸贏s", ii).Value.ToString : PA32 = 流水帳_dgv("客戶小計s", ii).Value.ToString
136
-                PA33 = 流水帳_dgv("代理小計s", ii).Value.ToString : PA34 = 流水帳_dgv("總代理小計s", ii).Value.ToString : PA35 = 流水帳_dgv("股東小計s", ii).Value.ToString
137
-                PA36 = 流水帳_dgv("大股東小計s", ii).Value.ToString : PA37 = 流水帳_dgv("總監小計s", ii).Value.ToString : PA38 = 流水帳_dgv("個人所得s", ii).Value.ToString
138
-                PA39 = 流水帳_dgv("水差s", ii).Value.ToString : PA40 = 流水帳_dgv("下注明細s", ii).Value.ToString : PA41 = 流水帳_dgv("查看對帳s", ii).Value.ToString
139
-                ConnOpen_備份1() : SQL_資料庫轉換4_刪除() : ConnOpen_備份2() : SQL_資料庫轉換4_刪除() : SQL_資料庫轉換4_新增()
140
-            Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
141
-        Next : conn.Close() : ProgressBar1.Value = 0 : 最終數1 = 0
96
+        Dim aa As MsgBoxResult = MsgBox("即將啟動資料庫轉移?", MsgBoxStyle.OkCancel)
97
+        If aa = MsgBoxResult.Ok Then
98
+            Dim DT1, DT2 As DateTime
99
+            資料數1 = 客戶資料表_dgv.Rows.Count * 4
100
+            For i As Integer = 0 To 客戶資料表_dgv.Rows.Count - 1
101
+                SQL_資料庫轉換1_刪除() : 資料數 = 商品資料表_dgv.Rows.Count : 進度條1()
102
+                For ii As Integer = 0 To 商品資料表_dgv.Rows.Count - 1
103
+                    MyModule1.進度條()
104
+                    SQL1 = "SELECT 商品, 編號, 系統, 層級, 網址 FROM 商品資料表"
105
+                    PA = 商品資料表_dgv("商品", ii).Value : PA1 = 商品資料表_dgv("編號", ii).Value : PA2 = 商品資料表_dgv("系統", ii).Value
106
+                    PA3 = 商品資料表_dgv("層級", ii).Value : PA4 = 商品資料表_dgv("網址", ii).Value
107
+                    SQL_資料庫轉換1_新增()
108
+                Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
109
+                SQL_資料庫轉換2_刪除() : 資料數 = 商客基本資料表_dgv.Rows.Count : 進度條1()
110
+                For ii As Integer = 0 To 商客基本資料表_dgv.Rows.Count - 1
111
+                    MyModule1.進度條()
112
+                    PA = 商客基本資料表_dgv("網址", ii).Value : PA1 = 商客基本資料表_dgv("帳號", ii).Value : PA2 = 商客基本資料表_dgv("密碼", ii).Value
113
+                    PA3 = 商客基本資料表_dgv("資料", ii).Value : PA4 = 商客基本資料表_dgv("上繳源", ii).Value : PA5 = 商客基本資料表_dgv("商品", ii).Value
114
+                    PA6 = 商客基本資料表_dgv("上行基數", ii).Value : PA7 = 商客基本資料表_dgv("下行基數", ii).Value : PA8 = 商客基本資料表_dgv("驗證", ii).Value
115
+                    SQL_資料庫轉換2_新增()
116
+                Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
117
+                SQL_資料庫轉換3_刪除() : 資料數 = 下行客戶_dgv.Rows.Count : 進度條1()
118
+                For ii As Integer = 0 To 下行客戶_dgv.Rows.Count - 1
119
+                    MyModule1.進度條()
120
+                    PA = 下行客戶_dgv("客戶下", ii).Value : PA1 = 下行客戶_dgv("網址", ii).Value : PA2 = 下行客戶_dgv("帳號", ii).Value
121
+                    PA3 = 下行客戶_dgv("基數", ii).Value : PA4 = 下行客戶_dgv("流水號", ii).Value : PA5 = 下行客戶_dgv("客名", ii).Value
122
+                    PA6 = 下行客戶_dgv("計算", ii).Value : PA7 = 下行客戶_dgv("同帳", ii).Value : PA8 = 下行客戶_dgv("所得", ii).Value
123
+                    PA9 = 下行客戶_dgv("所得另算", ii).Value
124
+                    SQL_資料庫轉換3_新增()
125
+                Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
126
+                資料數 = 下行客戶_dgv.Rows.Count : 進度條1()
127
+                For ii As Integer = 0 To 流水帳_dgv.Rows.Count - 1
128
+                    MyModule1.進度條()
129
+                    DT1 = 日期_dtp.Value : DT2 = 流水帳_dgv("結束日期", ii).Value
130
+                    If DT1 >= DT2 Then
131
+                        PA = 流水帳_dgv("index", ii).Value : PA1 = 流水帳_dgv("開始日期", ii).Value : PA2 = 流水帳_dgv("結束日期", ii).Value
132
+                        PA3 = 流水帳_dgv("網址", ii).Value : PA4 = 流水帳_dgv("帳戶", ii).Value : PA5 = 流水帳_dgv("隨機碼", ii).Value
133
+                        PA6 = 流水帳_dgv("名稱", ii).Value.ToString : PA7 = 流水帳_dgv("總量", ii).Value.ToString : PA8 = 流水帳_dgv("退水", ii).Value.ToString
134
+                        PA9 = 流水帳_dgv("中獎", ii).Value.ToString : PA10 = 流水帳_dgv("輸贏", ii).Value.ToString : PA11 = 流水帳_dgv("佔成輸贏", ii).Value.ToString
135
+                        PA12 = 流水帳_dgv("水倍差", ii).Value.ToString : PA13 = 流水帳_dgv("上繳金額", ii).Value.ToString : PA14 = 流水帳_dgv("自已總輸贏", ii).Value.ToString
136
+                        PA15 = 流水帳_dgv("上繳貢獻額", ii).Value.ToString : PA16 = 流水帳_dgv("貢獻額", ii).Value.ToString : PA17 = 流水帳_dgv("貢獻度", ii).Value.ToString
137
+                        PA18 = 流水帳_dgv("下注明細", ii).Value.ToString : PA19 = 流水帳_dgv("玩法明細", ii).Value.ToString : PA20 = 流水帳_dgv("調盤退水", ii).Value.ToString
138
+                        PA21 = 流水帳_dgv("調退實佔", ii).Value.ToString : PA22 = 流水帳_dgv("上繳", ii).Value.ToString : PA23 = 流水帳_dgv("會員", ii).Value.ToString
139
+                        PA24 = 流水帳_dgv("代理", ii).Value.ToString : PA25 = 流水帳_dgv("總代理", ii).Value.ToString : PA26 = 流水帳_dgv("股東", ii).Value.ToString
140
+                        PA27 = 流水帳_dgv("大股東", ii).Value.ToString : PA28 = 流水帳_dgv("客戶s", ii).Value.ToString : PA29 = 流水帳_dgv("總量s", ii).Value.ToString
141
+                        PA30 = 流水帳_dgv("中獎s", ii).Value.ToString : PA31 = 流水帳_dgv("輸贏s", ii).Value.ToString : PA32 = 流水帳_dgv("客戶小計s", ii).Value.ToString
142
+                        PA33 = 流水帳_dgv("代理小計s", ii).Value.ToString : PA34 = 流水帳_dgv("總代理小計s", ii).Value.ToString : PA35 = 流水帳_dgv("股東小計s", ii).Value.ToString
143
+                        PA36 = 流水帳_dgv("大股東小計s", ii).Value.ToString : PA37 = 流水帳_dgv("總監小計s", ii).Value.ToString : PA38 = 流水帳_dgv("個人所得s", ii).Value.ToString
144
+                        PA39 = 流水帳_dgv("水差s", ii).Value.ToString : PA40 = 流水帳_dgv("下注明細s", ii).Value.ToString : PA41 = 流水帳_dgv("查看對帳s", ii).Value.ToString
145
+                        PA42 = 流水帳_dgv("總監", ii).Value.ToString
146
+                        ConnOpen_備份1() : SQL_資料庫轉換4_刪除() : ConnOpen_備份2() : SQL_資料庫轉換4_刪除() : SQL_資料庫轉換4_新增()
147
+                    End If
148
+                Next : GA_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
149
+            Next : conn.Close() : ProgressBar1.Value = 0 : 最終數1 = 0 : MsgBox("資料庫轉移完成")
150
+        End If
142
     End Sub
151
     End Sub
143
     Private Sub 進度條1()
152
     Private Sub 進度條1()
144
         平均數1 = 10000 / 資料數1
153
         平均數1 = 10000 / 資料數1

Загрузка…
Отмена
Сохранить