LEEHSIEHJUI 10 kuukautta sitten
vanhempi
commit
8cff333bea

BIN
.vs/BIFENG-ERP-SYS/FileContentIndex/cac9a443-9956-4657-822b-cdd1daca61a9.vsidx Näytä tiedosto


BIN
.vs/BIFENG-ERP-SYS/v17/.suo Näytä tiedosto


+ 13
- 11
.vs/BIFENG-ERP-SYS/v17/DocumentLayout.json Näytä tiedosto

@@ -3,21 +3,21 @@
3 3
   "WorkspaceRootPath": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\",
4 4
   "Documents": [
5 5
     {
6
-      "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\bifeng-erp-sys\\bifeng-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
6
+      "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|d:\\\u5DE5\u5DE7\u660E\\bifeng\\bifeng-erp-sys\\bifeng-erp-sys\\bifeng-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
7 7
       "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\bifeng-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
8 8
     },
9 9
     {
10 10
       "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\bifeng-erp-sys\\bifeng-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
11 11
       "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\bifeng-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
12 12
     },
13
-    {
14
-      "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|d:\\\u5DE5\u5DE7\u660E\\bifeng\\bifeng-erp-sys\\bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
15
-      "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
16
-    },
17 13
     {
18 14
       "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
19 15
       "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
20 16
     },
17
+    {
18
+      "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
19
+      "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
20
+    },
21 21
     {
22 22
       "AbsoluteMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\bifeng-erp-sys\\0.mymodule\\\u901A\u7528\u8B8A\u6578.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
23 23
       "RelativeMoniker": "D:0:0:{4ACC41E5-D310-481A-9092-458B6EB8B0CA}|BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vbproj|solutionrelative:bifeng-erp-sys\\0.mymodule\\\u901A\u7528\u8B8A\u6578.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
@@ -134,27 +134,28 @@
134 134
             },
135 135
             {
136 136
               "$type": "Document",
137
-              "DocumentIndex": 2,
137
+              "DocumentIndex": 3,
138 138
               "Title": "\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
139 139
               "DocumentMoniker": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
140 140
               "RelativeDocumentMoniker": "BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
141 141
               "ToolTip": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
142 142
               "RelativeToolTip": "BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
143
-              "ViewState": "AQIAAAAAAAAAAAAAAAAAAA8AAAAmAAAA",
143
+              "ViewState": "AQIAAAcAAAAAAAAAAAAAwB4AAAAAAAAA",
144 144
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
145 145
               "WhenOpened": "2024-06-08T10:17:28.138Z",
146 146
               "EditorCaption": ""
147 147
             },
148 148
             {
149 149
               "$type": "Document",
150
-              "DocumentIndex": 3,
150
+              "DocumentIndex": 2,
151 151
               "Title": "\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb [\u8A2D\u8A08]",
152 152
               "DocumentMoniker": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
153 153
               "RelativeDocumentMoniker": "BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb",
154 154
               "ToolTip": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb [\u8A2D\u8A08]",
155 155
               "RelativeToolTip": "BIFENG-ERP-SYS\\\u8CC7\u6599\u5EAB\u7CFB\u7D71\u7BA1\u7406\\\u7CFB\u7D71\u57F7\u884C\u6A94\u7248\u672C\u7BA1\u7406.vb [\u8A2D\u8A08]",
156 156
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
157
-              "WhenOpened": "2024-06-08T10:17:23.069Z"
157
+              "WhenOpened": "2024-06-08T10:17:23.069Z",
158
+              "EditorCaption": " [\u8A2D\u8A08]"
158 159
             },
159 160
             {
160 161
               "$type": "Document",
@@ -223,7 +224,7 @@
223 224
               "RelativeDocumentMoniker": "BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vb",
224 225
               "ToolTip": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vb",
225 226
               "RelativeToolTip": "BIFENG-ERP-SYS\\BIFENG-ERP-SYS.vb",
226
-              "ViewState": "AQIAAFUAAAAAAAAAAAAswG0AAAAYAAAA",
227
+              "ViewState": "AQIAAAAAAAAAAAAAAAAAAAcAAAAWAAAA",
227 228
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
228 229
               "WhenOpened": "2023-12-20T02:16:12.689Z",
229 230
               "EditorCaption": ""
@@ -352,7 +353,8 @@
352 353
               "ToolTip": "D:\\\u5DE5\u5DE7\u660E\\BIFENG\\BIFENG-ERP-SYS\\BIFENG-ERP-SYS\\4.\u547D\\\u6D41\u5E74(\u8CC7\u6599\u5C0E\u5165).vb [\u8A2D\u8A08]",
353 354
               "RelativeToolTip": "BIFENG-ERP-SYS\\4.\u547D\\\u6D41\u5E74(\u8CC7\u6599\u5C0E\u5165).vb [\u8A2D\u8A08]",
354 355
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
355
-              "WhenOpened": "2023-02-24T13:02:22.02Z"
356
+              "WhenOpened": "2023-02-24T13:02:22.02Z",
357
+              "EditorCaption": " [\u8A2D\u8A08]"
356 358
             },
357 359
             {
358 360
               "$type": "Document",

+ 7
- 16
BIFENG-ERP-SYS/BIFENG-ERP-SYS.Designer.vb Näytä tiedosto

@@ -68,7 +68,7 @@ Partial Class BIFENG_ERP_SYS
68 68
         Me.卜卦ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
69 69
         Me.資料庫系統管理ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
70 70
         Me.系統執行檔版本管理ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
71
-        Me.FTP資料夾管理ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
71
+        Me.系統對應電腦註冊_tsm = New System.Windows.Forms.ToolStripMenuItem()
72 72
         Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator()
73 73
         Me.圖書資料導入ToolStripMenuItem1 = New System.Windows.Forms.ToolStripMenuItem()
74 74
         Me.DataGridView1 = New System.Windows.Forms.DataGridView()
@@ -78,7 +78,6 @@ Partial Class BIFENG_ERP_SYS
78 78
         Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar()
79 79
         Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
80 80
         Me.開啟 = New System.Windows.Forms.Timer(Me.components)
81
-        Me.系統對應電腦註冊_tsm = New System.Windows.Forms.ToolStripMenuItem()
82 81
         Me.MenuStrip.SuspendLayout()
83 82
         CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
84 83
         Me.StatusStrip1.SuspendLayout()
@@ -388,7 +387,7 @@ Partial Class BIFENG_ERP_SYS
388 387
         '
389 388
         '資料庫系統管理ToolStripMenuItem
390 389
         '
391
-        Me.資料庫系統管理ToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.系統執行檔版本管理ToolStripMenuItem, Me.系統對應電腦註冊_tsm, Me.FTP資料夾管理ToolStripMenuItem, Me.ToolStripSeparator4, Me.圖書資料導入ToolStripMenuItem1})
390
+        Me.資料庫系統管理ToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.系統執行檔版本管理ToolStripMenuItem, Me.系統對應電腦註冊_tsm, Me.ToolStripSeparator4, Me.圖書資料導入ToolStripMenuItem1})
392 391
         Me.資料庫系統管理ToolStripMenuItem.Image = Global.BIFENG_ERP_SYS.My.Resources.Resources.system
393 392
         Me.資料庫系統管理ToolStripMenuItem.Name = "資料庫系統管理ToolStripMenuItem"
394 393
         Me.資料庫系統管理ToolStripMenuItem.Size = New System.Drawing.Size(119, 20)
@@ -401,12 +400,12 @@ Partial Class BIFENG_ERP_SYS
401 400
         Me.系統執行檔版本管理ToolStripMenuItem.Size = New System.Drawing.Size(182, 22)
402 401
         Me.系統執行檔版本管理ToolStripMenuItem.Text = "系統執行檔版本管理"
403 402
         '
404
-        'FTP資料夾管理ToolStripMenuItem
403
+        '系統對應電腦註冊_tsm
405 404
         '
406
-        Me.FTP資料夾管理ToolStripMenuItem.Image = Global.BIFENG_ERP_SYS.My.Resources.Resources.system
407
-        Me.FTP資料夾管理ToolStripMenuItem.Name = "FTP資料夾管理ToolStripMenuItem"
408
-        Me.FTP資料夾管理ToolStripMenuItem.Size = New System.Drawing.Size(182, 22)
409
-        Me.FTP資料夾管理ToolStripMenuItem.Text = "FTP資料夾管理"
405
+        Me.系統對應電腦註冊_tsm.Image = Global.BIFENG_ERP_SYS.My.Resources.Resources.system
406
+        Me.系統對應電腦註冊_tsm.Name = "系統對應電腦註冊_tsm"
407
+        Me.系統對應電腦註冊_tsm.Size = New System.Drawing.Size(182, 22)
408
+        Me.系統對應電腦註冊_tsm.Text = "系統對應電腦註冊"
410 409
         '
411 410
         'ToolStripSeparator4
412 411
         '
@@ -466,13 +465,6 @@ Partial Class BIFENG_ERP_SYS
466 465
         '
467 466
         Me.開啟.Interval = 500
468 467
         '
469
-        '系統對應電腦註冊_tsm
470
-        '
471
-        Me.系統對應電腦註冊_tsm.Image = Global.BIFENG_ERP_SYS.My.Resources.Resources.system
472
-        Me.系統對應電腦註冊_tsm.Name = "系統對應電腦註冊_tsm"
473
-        Me.系統對應電腦註冊_tsm.Size = New System.Drawing.Size(182, 22)
474
-        Me.系統對應電腦註冊_tsm.Text = "系統對應電腦註冊"
475
-        '
476 468
         'BIFENG_ERP_SYS
477 469
         '
478 470
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
@@ -516,7 +508,6 @@ Partial Class BIFENG_ERP_SYS
516 508
     Friend WithEvents 卜ToolStripMenuItem As ToolStripMenuItem
517 509
     Friend WithEvents 資料庫系統管理ToolStripMenuItem As ToolStripMenuItem
518 510
     Friend WithEvents 系統執行檔版本管理ToolStripMenuItem As ToolStripMenuItem
519
-    Friend WithEvents FTP資料夾管理ToolStripMenuItem As ToolStripMenuItem
520 511
     Friend WithEvents DataGridView1 As DataGridView
521 512
     Friend WithEvents 卜卦ToolStripMenuItem As ToolStripMenuItem
522 513
     Friend WithEvents 客戶資料管理ToolStripMenuItem As ToolStripMenuItem

+ 3
- 32
BIFENG-ERP-SYS/BIFENG-ERP-SYS.vb Näytä tiedosto

@@ -43,21 +43,6 @@ Public Class BIFENG_ERP_SYS
43 43
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
44 44
     End Sub
45 45
     Private m_ChildFormNumber As Integer
46
-    Private Sub Set_DGV1載入前設定()
47
-        DataGridView1.DataSource = Nothing : ds2.Clear()
48
-        DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
49
-        DataGridView1.ColumnHeadersHeight = 25
50
-        DataGridView1.AllowUserToAddRows = False
51
-        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
52
-    End Sub
53
-    Private Sub Set_DGV1載入後設定()
54
-        cmd.Connection = conn : cmd.CommandText = SQL1 : da1.SelectCommand = cmd : da1.Fill(ds2) : DataGridView1.DataSource = ds2.Tables(0) : conn.Close()
55
-    End Sub
56
-    Private Sub Set_清單1()
57
-        Set_DGV1載入前設定()
58
-        SQL1 = "SELECT 資料夾名稱, 指定 FROM FTP資料夾管理"
59
-        Set_DGV1載入後設定()
60
-    End Sub
61 46
     Private Sub BIFENG_ERP_SYS_Load(sender As Object, e As EventArgs) Handles MyBase.Load
62 47
         PA = RndNum.Next(11)
63 48
         If CInt(PA) = 0 Then : Me.BackgroundImage = My.Resources._22147396_MotionElements_mountain_range_in_the
@@ -119,18 +104,7 @@ Public Class BIFENG_ERP_SYS
119 104
             TT1 = "資料庫版本號 : " & dr("系統認證版本號") : TT2 = "執行檔版本號 : " & 版本 : 版本號 = dr("系統認證版本號")
120 105
         End If : conn.Close()
121 106
         '-----------------------FTP資料夾登入位置宣告--------------------------------------------------------------------------------------------------------------------------------------
122
-        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
123
-        SQL1 = "SELECT  FTP地址, FTP帳號, FTP密碼, FTP資料夾 FROM FTP資料庫管理 WHERE 地區 LIKE N'" & 登入人IP & "'"
124
-        cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
125
-        If dr.Read() Then
126
-            Target = dr("FTP地址") : FTP帳號 = dr("FTP帳號") : FTP密碼 = dr("FTP密碼") : FTP資料夾 = dr("FTP資料夾")
127
-        End If : conn.Close()
128
-        Set_清單1()
129
-        For i As Integer = 0 To DataGridView1.Rows.Count - 1
130
-            If DataGridView1(1, i).Value.ToString = "AA00" Then : AA(0) = DataGridView1(0, i).Value.ToString : End If
131
-            If DataGridView1(1, i).Value.ToString = "AA01" Then : AA(1) = DataGridView1(0, i).Value.ToString : End If
132
-            If DataGridView1(1, i).Value.ToString = "AA02" Then : AA(2) = DataGridView1(0, i).Value.ToString : End If
133
-        Next
107
+        Target = "https://gcm-smart.com/ERP/BIFENG/"
134 108
         '-----------------------父表單抬頭資料--------------------------------------------------------------------------------------------------------------------------------------
135 109
         Me.Text = Me.Text & "  --  " & g_conn_type & "  --  " & TT1 & "  --  " & TT2
136 110
         Dim Str As String = Application.StartupPath
@@ -142,15 +116,12 @@ Public Class BIFENG_ERP_SYS
142 116
     Private Sub 自動更新2()
143 117
         Dim Str As String = Application.StartupPath
144 118
         If File.Exists(Str + "\NOTAUTO.txt") Then : Else
145
-            My.Computer.Network.DownloadFile(Target & AA(1) & "/" & "SYS-UPDATE.exe", Str + "\SYS-UPDATE.exe")
119
+            My.Computer.Network.DownloadFile(Target & "SYS-UPDATE.exe", Str + "\SYS-UPDATE.exe")
146 120
             Shell(Str + "\SYS-UPDATE.exe", vbNormalFocus) : Me.Close()
147 121
         End If
148 122
     End Sub
149 123
     Private Sub 系統執行檔版本管理ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 系統執行檔版本管理ToolStripMenuItem.Click
150
-        系統執行檔版本管理.Show() : 系統執行檔版本管理.BringToFront()
151
-    End Sub
152
-    Private Sub FTP資料夾管理ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles FTP資料夾管理ToolStripMenuItem.Click
153
-        FTP資料夾管理.Show() : FTP資料夾管理.BringToFront()
124
+        系統執行檔版本管理.ShowDialog()
154 125
     End Sub
155 126
     Private Sub 卜卦ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 卜卦ToolStripMenuItem.Click
156 127
         卜卦.Show() : 卜卦.BringToFront()

+ 0
- 9
BIFENG-ERP-SYS/BIFENG-ERP-SYS.vbproj Näytä tiedosto

@@ -187,12 +187,6 @@
187 187
     <Compile Include="資料庫系統管理\書架.vb">
188 188
       <SubType>Form</SubType>
189 189
     </Compile>
190
-    <Compile Include="資料庫系統管理\FTP資料夾管理.Designer.vb">
191
-      <DependentUpon>FTP資料夾管理.vb</DependentUpon>
192
-    </Compile>
193
-    <Compile Include="資料庫系統管理\FTP資料夾管理.vb">
194
-      <SubType>Form</SubType>
195
-    </Compile>
196 190
     <Compile Include="5.卜\卜卦.Designer.vb">
197 191
       <DependentUpon>卜卦.vb</DependentUpon>
198 192
     </Compile>
@@ -294,9 +288,6 @@
294 288
     <EmbeddedResource Include="資料庫系統管理\書架.resx">
295 289
       <DependentUpon>書架.vb</DependentUpon>
296 290
     </EmbeddedResource>
297
-    <EmbeddedResource Include="資料庫系統管理\FTP資料夾管理.resx">
298
-      <DependentUpon>FTP資料夾管理.vb</DependentUpon>
299
-    </EmbeddedResource>
300 291
     <EmbeddedResource Include="My Project\Resources.resx">
301 292
       <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
302 293
       <LastGenOutput>Resources.Designer.vb</LastGenOutput>

BIN
BIFENG-ERP-SYS/bin/Debug/BIFENG-ERP-SYS.exe Näytä tiedosto


BIN
BIFENG-ERP-SYS/bin/Debug/BIFENG-ERP-SYS.pdb Näytä tiedosto


BIN
BIFENG-ERP-SYS/obj/Debug/BIFENG-ERP-SYS.exe Näytä tiedosto


BIN
BIFENG-ERP-SYS/obj/Debug/BIFENG-ERP-SYS.pdb Näytä tiedosto


+ 1
- 1
BIFENG-ERP-SYS/obj/Debug/BIFENG-ERP-SYS.vbproj.CoreCompileInputs.cache Näytä tiedosto

@@ -1 +1 @@
1
-f60446b1ed527a8fb5dff08c27a730ce02662623e690c4a290834a652d735557
1
+7a0cf0dfc6179513cbd0b266d8b22823755285fcc3dc70fd772032b6074cf931

+ 0
- 1
BIFENG-ERP-SYS/obj/Debug/BIFENG-ERP-SYS.vbproj.FileListAbsolute.txt Näytä tiedosto

@@ -167,7 +167,6 @@ D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.圖
167 167
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.客戶資料表.resources
168 168
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.流年.resources
169 169
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.書架.resources
170
-D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.FTP資料夾管理.resources
171 170
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.Resources.resources
172 171
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.SplashScreen1.resources
173 172
 D:\工巧明\BIFENG\BIFENG-ERP-SYS\BIFENG-ERP-SYS\obj\Debug\BIFENG_ERP_SYS.卜卦.resources

BIN
BIFENG-ERP-SYS/obj/Debug/BIFENG-ERP-SYS.vbproj.GenerateResource.cache Näytä tiedosto


BIN
BIFENG-ERP-SYS/obj/Debug/BIFENG_ERP_SYS.FTP資料夾管理.resources Näytä tiedosto


BIN
BIFENG-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Näytä tiedosto


+ 0
- 298
BIFENG-ERP-SYS/資料庫系統管理/FTP資料夾管理.Designer.vb Näytä tiedosto

@@ -1,298 +0,0 @@
1
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
2
-Partial Class FTP資料夾管理
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
-        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
-        Me.TextBox4 = New System.Windows.Forms.TextBox()
31
-        Me.Button3 = New System.Windows.Forms.Button()
32
-        Me.Button2 = New System.Windows.Forms.Button()
33
-        Me.Button1 = New System.Windows.Forms.Button()
34
-        Me.TextBox3 = New System.Windows.Forms.TextBox()
35
-        Me.TextBox2 = New System.Windows.Forms.TextBox()
36
-        Me.TextBox1 = New System.Windows.Forms.TextBox()
37
-        Me.DataGridView1 = New System.Windows.Forms.DataGridView()
38
-        Me.Label12 = New System.Windows.Forms.Label()
39
-        Me.資料庫清單1_dgv = New System.Windows.Forms.DataGridView()
40
-        Me.LOG檔截斷3_bt = New System.Windows.Forms.Button()
41
-        Me.Label3 = New System.Windows.Forms.Label()
42
-        Me.重新讀取_bt = New System.Windows.Forms.Button()
43
-        Me.伺服器_lb = New System.Windows.Forms.Label()
44
-        Me.MAX_nud = New System.Windows.Forms.NumericUpDown()
45
-        Me.伺服器狀態2_dgv = New System.Windows.Forms.DataGridView()
46
-        Me.字體大小調整_lb = New System.Windows.Forms.Label()
47
-        CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
48
-        CType(Me.資料庫清單1_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
49
-        CType(Me.MAX_nud, System.ComponentModel.ISupportInitialize).BeginInit()
50
-        CType(Me.伺服器狀態2_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
51
-        Me.SuspendLayout()
52
-        '
53
-        'TextBox4
54
-        '
55
-        Me.TextBox4.Location = New System.Drawing.Point(500, 7)
56
-        Me.TextBox4.Name = "TextBox4"
57
-        Me.TextBox4.Size = New System.Drawing.Size(70, 23)
58
-        Me.TextBox4.TabIndex = 632
59
-        '
60
-        'Button3
61
-        '
62
-        Me.Button3.Location = New System.Drawing.Point(174, 36)
63
-        Me.Button3.Name = "Button3"
64
-        Me.Button3.Size = New System.Drawing.Size(75, 23)
65
-        Me.Button3.TabIndex = 631
66
-        Me.Button3.Text = "刪除"
67
-        Me.Button3.UseVisualStyleBackColor = True
68
-        '
69
-        'Button2
70
-        '
71
-        Me.Button2.Location = New System.Drawing.Point(93, 36)
72
-        Me.Button2.Name = "Button2"
73
-        Me.Button2.Size = New System.Drawing.Size(75, 23)
74
-        Me.Button2.TabIndex = 630
75
-        Me.Button2.Text = "修改"
76
-        Me.Button2.UseVisualStyleBackColor = True
77
-        '
78
-        'Button1
79
-        '
80
-        Me.Button1.Location = New System.Drawing.Point(12, 36)
81
-        Me.Button1.Name = "Button1"
82
-        Me.Button1.Size = New System.Drawing.Size(75, 23)
83
-        Me.Button1.TabIndex = 629
84
-        Me.Button1.Text = "新增"
85
-        Me.Button1.UseVisualStyleBackColor = True
86
-        '
87
-        'TextBox3
88
-        '
89
-        Me.TextBox3.Location = New System.Drawing.Point(294, 7)
90
-        Me.TextBox3.Name = "TextBox3"
91
-        Me.TextBox3.Size = New System.Drawing.Size(200, 23)
92
-        Me.TextBox3.TabIndex = 628
93
-        '
94
-        'TextBox2
95
-        '
96
-        Me.TextBox2.Location = New System.Drawing.Point(88, 7)
97
-        Me.TextBox2.Name = "TextBox2"
98
-        Me.TextBox2.Size = New System.Drawing.Size(200, 23)
99
-        Me.TextBox2.TabIndex = 627
100
-        '
101
-        'TextBox1
102
-        '
103
-        Me.TextBox1.Location = New System.Drawing.Point(12, 7)
104
-        Me.TextBox1.Name = "TextBox1"
105
-        Me.TextBox1.Size = New System.Drawing.Size(70, 23)
106
-        Me.TextBox1.TabIndex = 626
107
-        '
108
-        'DataGridView1
109
-        '
110
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
111
-        Me.DataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
112
-        Me.DataGridView1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
113
-            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
114
-        Me.DataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
115
-        Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
116
-        Me.DataGridView1.Location = New System.Drawing.Point(12, 65)
117
-        Me.DataGridView1.Name = "DataGridView1"
118
-        Me.DataGridView1.RowHeadersWidth = 5
119
-        Me.DataGridView1.RowTemplate.Height = 24
120
-        Me.DataGridView1.Size = New System.Drawing.Size(565, 551)
121
-        Me.DataGridView1.TabIndex = 625
122
-        '
123
-        'Label12
124
-        '
125
-        Me.Label12.AutoSize = True
126
-        Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
127
-        Me.Label12.Location = New System.Drawing.Point(471, 39)
128
-        Me.Label12.Name = "Label12"
129
-        Me.Label12.Size = New System.Drawing.Size(99, 16)
130
-        Me.Label12.TabIndex = 624
131
-        Me.Label12.Text = "伺服器FTP文件夾"
132
-        '
133
-        '資料庫清單1_dgv
134
-        '
135
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.White
136
-        Me.資料庫清單1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
137
-        Me.資料庫清單1_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
138
-        Me.資料庫清單1_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
139
-        Me.資料庫清單1_dgv.BackgroundColor = System.Drawing.Color.White
140
-        DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
141
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.White
142
-        DataGridViewCellStyle3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
143
-        DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText
144
-        DataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight
145
-        DataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText
146
-        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
147
-        Me.資料庫清單1_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle3
148
-        Me.資料庫清單1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
149
-        Me.資料庫清單1_dgv.Location = New System.Drawing.Point(583, 191)
150
-        Me.資料庫清單1_dgv.Name = "資料庫清單1_dgv"
151
-        Me.資料庫清單1_dgv.RowHeadersWidth = 5
152
-        Me.資料庫清單1_dgv.RowTemplate.Height = 24
153
-        Me.資料庫清單1_dgv.Size = New System.Drawing.Size(220, 105)
154
-        Me.資料庫清單1_dgv.TabIndex = 1512
155
-        '
156
-        'LOG檔截斷3_bt
157
-        '
158
-        Me.LOG檔截斷3_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
159
-        Me.LOG檔截斷3_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
160
-        Me.LOG檔截斷3_bt.Location = New System.Drawing.Point(583, 165)
161
-        Me.LOG檔截斷3_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
162
-        Me.LOG檔截斷3_bt.Name = "LOG檔截斷3_bt"
163
-        Me.LOG檔截斷3_bt.Size = New System.Drawing.Size(220, 23)
164
-        Me.LOG檔截斷3_bt.TabIndex = 1511
165
-        Me.LOG檔截斷3_bt.Text = "LOG檔截斷"
166
-        '
167
-        'Label3
168
-        '
169
-        Me.Label3.AutoSize = True
170
-        Me.Label3.BackColor = System.Drawing.SystemColors.Control
171
-        Me.Label3.Location = New System.Drawing.Point(584, 13)
172
-        Me.Label3.Name = "Label3"
173
-        Me.Label3.Size = New System.Drawing.Size(55, 16)
174
-        Me.Label3.TabIndex = 1510
175
-        Me.Label3.Text = "主伺服器"
176
-        '
177
-        '重新讀取_bt
178
-        '
179
-        Me.重新讀取_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
180
-        Me.重新讀取_bt.Location = New System.Drawing.Point(1023, 9)
181
-        Me.重新讀取_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
182
-        Me.重新讀取_bt.Name = "重新讀取_bt"
183
-        Me.重新讀取_bt.Size = New System.Drawing.Size(72, 23)
184
-        Me.重新讀取_bt.TabIndex = 1509
185
-        Me.重新讀取_bt.Text = "重新讀取"
186
-        '
187
-        '伺服器_lb
188
-        '
189
-        Me.伺服器_lb.AutoSize = True
190
-        Me.伺服器_lb.BackColor = System.Drawing.SystemColors.Control
191
-        Me.伺服器_lb.Location = New System.Drawing.Point(720, 12)
192
-        Me.伺服器_lb.Name = "伺服器_lb"
193
-        Me.伺服器_lb.Size = New System.Drawing.Size(229, 16)
194
-        Me.伺服器_lb.TabIndex = 1508
195
-        Me.伺服器_lb.Text = "伺服器中資料庫極限容量監控設定值 (MB)"
196
-        '
197
-        'MAX_nud
198
-        '
199
-        Me.MAX_nud.Location = New System.Drawing.Point(955, 9)
200
-        Me.MAX_nud.Maximum = New Decimal(New Integer() {100000000, 0, 0, 0})
201
-        Me.MAX_nud.Name = "MAX_nud"
202
-        Me.MAX_nud.Size = New System.Drawing.Size(67, 23)
203
-        Me.MAX_nud.TabIndex = 1507
204
-        Me.MAX_nud.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
205
-        Me.MAX_nud.ThousandsSeparator = True
206
-        Me.MAX_nud.Value = New Decimal(New Integer() {2048, 0, 0, 0})
207
-        '
208
-        '伺服器狀態2_dgv
209
-        '
210
-        DataGridViewCellStyle4.BackColor = System.Drawing.Color.White
211
-        Me.伺服器狀態2_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
212
-        Me.伺服器狀態2_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
213
-            Or System.Windows.Forms.AnchorStyles.Left) _
214
-            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
215
-        Me.伺服器狀態2_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
216
-        Me.伺服器狀態2_dgv.BackgroundColor = System.Drawing.Color.White
217
-        DataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
218
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.White
219
-        DataGridViewCellStyle5.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
220
-        DataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText
221
-        DataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight
222
-        DataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText
223
-        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
224
-        Me.伺服器狀態2_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle5
225
-        Me.伺服器狀態2_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
226
-        Me.伺服器狀態2_dgv.Location = New System.Drawing.Point(583, 36)
227
-        Me.伺服器狀態2_dgv.Name = "伺服器狀態2_dgv"
228
-        Me.伺服器狀態2_dgv.RowHeadersWidth = 5
229
-        Me.伺服器狀態2_dgv.RowTemplate.Height = 24
230
-        Me.伺服器狀態2_dgv.Size = New System.Drawing.Size(634, 126)
231
-        Me.伺服器狀態2_dgv.TabIndex = 1506
232
-        '
233
-        '字體大小調整_lb
234
-        '
235
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
236
-        Me.字體大小調整_lb.AutoSize = True
237
-        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
238
-        Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
239
-        Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
240
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1096, 10)
241
-        Me.字體大小調整_lb.Name = "字體大小調整_lb"
242
-        Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
243
-        Me.字體大小調整_lb.TabIndex = 1505
244
-        Me.字體大小調整_lb.Text = "字體調整"
245
-        '
246
-        'FTP資料夾管理
247
-        '
248
-        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
249
-        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
250
-        Me.ClientSize = New System.Drawing.Size(1264, 621)
251
-        Me.Controls.Add(Me.資料庫清單1_dgv)
252
-        Me.Controls.Add(Me.LOG檔截斷3_bt)
253
-        Me.Controls.Add(Me.Label3)
254
-        Me.Controls.Add(Me.重新讀取_bt)
255
-        Me.Controls.Add(Me.伺服器_lb)
256
-        Me.Controls.Add(Me.MAX_nud)
257
-        Me.Controls.Add(Me.伺服器狀態2_dgv)
258
-        Me.Controls.Add(Me.字體大小調整_lb)
259
-        Me.Controls.Add(Me.TextBox4)
260
-        Me.Controls.Add(Me.Button3)
261
-        Me.Controls.Add(Me.Button2)
262
-        Me.Controls.Add(Me.Button1)
263
-        Me.Controls.Add(Me.TextBox3)
264
-        Me.Controls.Add(Me.TextBox2)
265
-        Me.Controls.Add(Me.TextBox1)
266
-        Me.Controls.Add(Me.DataGridView1)
267
-        Me.Controls.Add(Me.Label12)
268
-        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
269
-        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
270
-        Me.Name = "FTP資料夾管理"
271
-        Me.Text = "FTP資料夾管理"
272
-        CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
273
-        CType(Me.資料庫清單1_dgv, System.ComponentModel.ISupportInitialize).EndInit()
274
-        CType(Me.MAX_nud, System.ComponentModel.ISupportInitialize).EndInit()
275
-        CType(Me.伺服器狀態2_dgv, System.ComponentModel.ISupportInitialize).EndInit()
276
-        Me.ResumeLayout(False)
277
-        Me.PerformLayout()
278
-
279
-    End Sub
280
-
281
-    Friend WithEvents TextBox4 As TextBox
282
-    Friend WithEvents Button3 As Button
283
-    Friend WithEvents Button2 As Button
284
-    Friend WithEvents Button1 As Button
285
-    Friend WithEvents TextBox3 As TextBox
286
-    Friend WithEvents TextBox2 As TextBox
287
-    Friend WithEvents TextBox1 As TextBox
288
-    Friend WithEvents DataGridView1 As DataGridView
289
-    Friend WithEvents Label12 As Label
290
-    Friend WithEvents 資料庫清單1_dgv As DataGridView
291
-    Friend WithEvents LOG檔截斷3_bt As Button
292
-    Friend WithEvents Label3 As Label
293
-    Friend WithEvents 重新讀取_bt As Button
294
-    Friend WithEvents 伺服器_lb As Label
295
-    Friend WithEvents MAX_nud As NumericUpDown
296
-    Friend WithEvents 伺服器狀態2_dgv As DataGridView
297
-    Friend WithEvents 字體大小調整_lb As Label
298
-End Class

+ 0
- 120
BIFENG-ERP-SYS/資料庫系統管理/FTP資料夾管理.resx Näytä tiedosto

@@ -1,120 +0,0 @@
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>

+ 0
- 151
BIFENG-ERP-SYS/資料庫系統管理/FTP資料夾管理.vb Näytä tiedosto

@@ -1,151 +0,0 @@
1
-Option Strict Off
2
-Imports System.Data.SqlClient
3
-Public Class FTP資料夾管理
4
-    Dim conn As New SqlConnection
5
-    Dim da As New SqlDataAdapter
6
-    Dim cmd As New SqlCommand
7
-    Dim ds As New DataSet
8
-    Dim dr As SqlDataReader
9
-    Private Sub Set_使用者清單()
10
-        DataGridView1.DataSource = Nothing : ds.Clear()
11
-        DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
12
-        DataGridView1.ColumnHeadersHeight = 25
13
-        DataGridView1.AllowUserToAddRows = False
14
-        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
15
-        SQL1 = "SELECT 資料夾名稱, 指定頁面, 備註, 指定 FROM FTP資料夾管理"
16
-        cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd : da.Fill(ds) : DataGridView1.DataSource = ds.Tables(0) : conn.Close() : Set_grid()
17
-    End Sub
18
-    Private Sub Set_grid()
19
-        DataGridView1.Columns(0).FillWeight = 70 : DataGridView1.Columns(1).FillWeight = 200 : DataGridView1.Columns(2).FillWeight = 200 : DataGridView1.Columns(3).FillWeight = 70
20
-    End Sub
21
-    Private Sub Set_主伺服器狀態()
22
-        Try
23
-            Dim ds8 As New DataSet : 伺服器狀態2_dgv.DataSource = Nothing : ds8.Clear()
24
-            伺服器狀態2_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
25
-            伺服器狀態2_dgv.ColumnHeadersHeight = 25
26
-            伺服器狀態2_dgv.AllowUserToAddRows = False
27
-            If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
28
-            SQL1 = "SELECT  DB_NAME(database_id) AS 資料庫, physical_name AS '實體檔案', type_desc AS '檔案類型', 
29
-                        state_desc AS '檔案狀態', size * 8.0 / 1024 AS '檔案大小(MB)'
30
-                FROM    sys.master_files
31
-                WHERE  (DB_NAME(database_id) LIKE 'BIFENG%')
32
-                ORDER BY DB_NAME(database_id)"
33
-            cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd
34
-            da.Fill(ds8) : 伺服器狀態2_dgv.DataSource = ds8.Tables(0) : conn.Close()
35
-            Set_進度條顯示2()
36
-            伺服器狀態2_dgv.Columns(4).DefaultCellStyle.Format = "#,##0.000"
37
-            伺服器狀態2_dgv.Columns(5).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
38
-            伺服器狀態2_dgv.Columns(5).HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
39
-            伺服器狀態2_dgv.Columns(0).FillWeight = 100 : 伺服器狀態2_dgv.Columns(1).FillWeight = 200
40
-            伺服器狀態2_dgv.Columns(2).FillWeight = 50 : 伺服器狀態2_dgv.Columns(3).FillWeight = 50
41
-            伺服器狀態2_dgv.Columns(4).Visible = False
42
-        Catch ex As Exception
43
-            MsgBox(ex.Message)
44
-        End Try
45
-    End Sub
46
-    Private Sub Set_進度條顯示2()
47
-        Dim Col As New DataGridViewProgressColumn With {
48
-            .FillWeight = 130,
49
-            .DataPropertyName = "容量"
50
-        }
51
-        Col.HeaderText = "檔案大小(MB)" : Col.Name = "容量" : Col.DataPropertyName = "檔案大小(MB)"
52
-        伺服器狀態2_dgv.Columns.Insert(5, Col)
53
-    End Sub
54
-    Private Sub Set_伺服器1清單()
55
-        Try
56
-            Dim ds8 As New DataSet : 資料庫清單1_dgv.DataSource = Nothing : ds8.Clear()
57
-            資料庫清單1_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
58
-            資料庫清單1_dgv.ColumnHeadersHeight = 25
59
-            資料庫清單1_dgv.AllowUserToAddRows = False
60
-            If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
61
-            SQL1 = "SELECT  DB_NAME(database_id) AS 資料庫 FROM sys.master_files WHERE  (DB_NAME(database_id) LIKE 'BIFENG%') GROUP BY DB_NAME(database_id) ORDER BY DB_NAME(database_id)"
62
-            cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd
63
-            da.Fill(ds8) : 資料庫清單1_dgv.DataSource = ds8.Tables(0) : conn.Close()
64
-        Catch ex As Exception
65
-            MsgBox(ex.Message)
66
-        End Try
67
-    End Sub
68
-    Private Sub FTP資料夾管理_Load(sender As Object, e As EventArgs) Handles MyBase.Load
69
-        Me.MdiParent = BIFENG_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
70
-        分母 = MAX_nud.Value : 分段1 = 0.2 : 分段2 = 0.19 : 分段3 = 0.8 : 分段4 = 0.79 : 進度條後墜 = " MB"
71
-        Set_使用者清單() : Set_主伺服器狀態() : Set_伺服器1清單()
72
-    End Sub
73
-    Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles DataGridView1.CellClick
74
-        If e.RowIndex = -1 Then : Else
75
-            TextBox1.Text = DataGridView1(0, e.RowIndex).Value.ToString : TextBox2.Text = DataGridView1(1, e.RowIndex).Value.ToString : TextBox3.Text = DataGridView1(2, e.RowIndex).Value.ToString
76
-            TextBox4.Text = DataGridView1(3, e.RowIndex).Value.ToString
77
-        End If
78
-    End Sub
79
-    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
80
-        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
81
-        SQL1 = "INSERT INTO FTP資料夾管理 (資料夾名稱, 指定頁面, 備註, 指定) " &
82
-               "VALUES (N'" & TextBox1.Text & "',N'" & TextBox2.Text & "',N'" & TextBox3.Text & "',N'" & TextBox4.Text & "')"
83
-        cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery()
84
-        conn.Close()
85
-        Set_使用者清單()
86
-    End Sub
87
-    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
88
-        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
89
-        SQL1 = "UPDATE FTP資料夾管理 SET 指定頁面 = N'" & TextBox2.Text & "', 備註 = N'" & TextBox3.Text & "', 指定 = N'" & TextBox4.Text & "' WHERE (資料夾名稱 = N'" & TextBox1.Text & "')"
90
-        cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery()
91
-        conn.Close()
92
-        Set_使用者清單()
93
-    End Sub
94
-    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
95
-        SQL1 = "DELETE FROM FTP資料夾管理 WHERE (資料夾名稱 = N'" & TextBox1.Text & "')"
96
-        cmd.CommandText = SQL1 : cmd.Connection = conn
97
-        If conn.State = ConnectionState.Closed Then : conn.Open() : End If
98
-        Dim aa As MsgBoxResult
99
-        aa = MsgBox("確定要刪除該筆資料?", MsgBoxStyle.OkCancel)
100
-        If aa = MsgBoxResult.Ok Then : cmd.ExecuteNonQuery() : End If
101
-        conn.Close()
102
-        Set_使用者清單()
103
-    End Sub
104
-    Private Sub 重新讀取_bt_Click(sender As Object, e As EventArgs) Handles 重新讀取_bt.Click
105
-        分母 = MAX_nud.Value : 分段1 = 0.2 : 分段2 = 0.19 : 分段3 = 0.8 : 分段4 = 0.79 : 進度條後墜 = " MB"
106
-        Set_主伺服器狀態() : Set_伺服器1清單()
107
-    End Sub
108
-    Private Sub LOG檔截斷3_bt_Click(sender As Object, e As EventArgs) Handles LOG檔截斷3_bt.Click
109
-        Try
110
-            For I As Integer = 0 To 資料庫清單1_dgv.Rows.Count - 1
111
-                PA = 資料庫清單1_dgv(0, I).Value.ToString
112
-
113
-                Dim DSF(1) As String : Dim NB1 As Integer = 0
114
-                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
115
-                SQL1 = "USE [" & PA & "]"
116
-                cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
117
-                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
118
-                SQL1 = "select name from sys.database_files;"
119
-                cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
120
-                While (dr.Read()) : DSF(NB1) = dr("name").ToString : NB1 += 1 : End While
121
-
122
-                If PA = DSF(0) Then : Else
123
-                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
124
-                    SQL1 = "alter database [" & PA & "] modify file(name=[" & DSF(0) & "], newname =[" & PA & "])"
125
-                    cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
126
-                End If
127
-
128
-                If PA & "_log" = DSF(1) Then : Else
129
-                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
130
-                    SQL1 = "alter database [" & PA & "] modify file(name=[" & DSF(1) & "], newname=[" & PA & "_log])"
131
-                    cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
132
-                End If
133
-
134
-                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
135
-                SQL1 = "ALTER DATABASE [" & PA & "]
136
-                                   SET RECOVERY SIMPLE;"
137
-                cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
138
-                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
139
-                SQL1 = "DBCC SHRINKFILE ([" & PA & "_Log], 1);"
140
-                cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
141
-                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
142
-                SQL1 = "ALTER DATABASE [" & PA & "]
143
-                                   SET RECOVERY FULL;"
144
-                cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
145
-            Next
146
-            重新讀取_bt.PerformClick() : MsgBox("伺服器截斷完成!!!")
147
-        Catch ex As Exception
148
-            MsgBox(ex.Message)
149
-        End Try
150
-    End Sub
151
-End Class

+ 8
- 74
BIFENG-ERP-SYS/資料庫系統管理/系統執行檔版本管理.Designer.vb Näytä tiedosto

@@ -23,11 +23,6 @@ Partial Class 系統執行檔版本管理
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.Label2 = New System.Windows.Forms.Label()
26
-        Me.Label12 = New System.Windows.Forms.Label()
27
-        Me.Label13 = New System.Windows.Forms.Label()
28
-        Me.Button14 = New System.Windows.Forms.Button()
29
-        Me.WebBrowser2 = New System.Windows.Forms.WebBrowser()
30
-        Me.WebBrowser1 = New System.Windows.Forms.WebBrowser()
31 26
         Me.Button1 = New System.Windows.Forms.Button()
32 27
         Me.Label3 = New System.Windows.Forms.Label()
33 28
         Me.TextBox2 = New System.Windows.Forms.TextBox()
@@ -38,72 +33,18 @@ Partial Class 系統執行檔版本管理
38 33
         '
39 34
         Me.Label2.AutoSize = True
40 35
         Me.Label2.BackColor = System.Drawing.SystemColors.Control
41
-        Me.Label2.Location = New System.Drawing.Point(272, 9)
36
+        Me.Label2.Location = New System.Drawing.Point(6, 34)
42 37
         Me.Label2.Name = "Label2"
43 38
         Me.Label2.Size = New System.Drawing.Size(158, 16)
44 39
         Me.Label2.TabIndex = 636
45 40
         Me.Label2.Text = "資料庫版本號 : 2018110801"
46 41
         '
47
-        'Label12
48
-        '
49
-        Me.Label12.AutoSize = True
50
-        Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
51
-        Me.Label12.Location = New System.Drawing.Point(632, 48)
52
-        Me.Label12.Name = "Label12"
53
-        Me.Label12.Size = New System.Drawing.Size(91, 16)
54
-        Me.Label12.TabIndex = 635
55
-        Me.Label12.Text = "執行檔案更新區"
56
-        '
57
-        'Label13
58
-        '
59
-        Me.Label13.AutoSize = True
60
-        Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
61
-        Me.Label13.Location = New System.Drawing.Point(6, 38)
62
-        Me.Label13.Name = "Label13"
63
-        Me.Label13.Size = New System.Drawing.Size(55, 16)
64
-        Me.Label13.TabIndex = 634
65
-        Me.Label13.Text = "我的電腦"
66
-        '
67
-        'Button14
68
-        '
69
-        Me.Button14.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
70
-        Me.Button14.ForeColor = System.Drawing.Color.Blue
71
-        Me.Button14.Location = New System.Drawing.Point(68, 34)
72
-        Me.Button14.Name = "Button14"
73
-        Me.Button14.Size = New System.Drawing.Size(97, 24)
74
-        Me.Button14.TabIndex = 633
75
-        Me.Button14.Text = "讀取料夾路徑"
76
-        Me.Button14.UseVisualStyleBackColor = True
77
-        '
78
-        'WebBrowser2
79
-        '
80
-        Me.WebBrowser2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
81
-            Or System.Windows.Forms.AnchorStyles.Left) _
82
-            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
83
-        Me.WebBrowser2.Location = New System.Drawing.Point(9, 64)
84
-        Me.WebBrowser2.MinimumSize = New System.Drawing.Size(20, 20)
85
-        Me.WebBrowser2.Name = "WebBrowser2"
86
-        Me.WebBrowser2.Size = New System.Drawing.Size(621, 550)
87
-        Me.WebBrowser2.TabIndex = 632
88
-        Me.WebBrowser2.Url = New System.Uri("", System.UriKind.Relative)
89
-        '
90
-        'WebBrowser1
91
-        '
92
-        Me.WebBrowser1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
93
-            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
94
-        Me.WebBrowser1.Location = New System.Drawing.Point(635, 64)
95
-        Me.WebBrowser1.MinimumSize = New System.Drawing.Size(20, 20)
96
-        Me.WebBrowser1.Name = "WebBrowser1"
97
-        Me.WebBrowser1.Size = New System.Drawing.Size(621, 550)
98
-        Me.WebBrowser1.TabIndex = 631
99
-        Me.WebBrowser1.Url = New System.Uri("", System.UriKind.Relative)
100
-        '
101 42
         'Button1
102 43
         '
103
-        Me.Button1.Location = New System.Drawing.Point(161, 6)
44
+        Me.Button1.Location = New System.Drawing.Point(166, 5)
104 45
         Me.Button1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
105 46
         Me.Button1.Name = "Button1"
106
-        Me.Button1.Size = New System.Drawing.Size(105, 24)
47
+        Me.Button1.Size = New System.Drawing.Size(105, 45)
107 48
         Me.Button1.TabIndex = 630
108 49
         Me.Button1.Text = "修改"
109 50
         '
@@ -123,37 +64,30 @@ Partial Class 系統執行檔版本管理
123 64
         Me.TextBox2.Location = New System.Drawing.Point(52, 6)
124 65
         Me.TextBox2.Margin = New System.Windows.Forms.Padding(5)
125 66
         Me.TextBox2.Name = "TextBox2"
126
-        Me.TextBox2.Size = New System.Drawing.Size(101, 23)
67
+        Me.TextBox2.Size = New System.Drawing.Size(112, 23)
127 68
         Me.TextBox2.TabIndex = 628
128 69
         '
129 70
         '系統執行檔版本管理
130 71
         '
131 72
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
132 73
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
133
-        Me.ClientSize = New System.Drawing.Size(1264, 621)
74
+        Me.ClientSize = New System.Drawing.Size(277, 55)
134 75
         Me.Controls.Add(Me.Label2)
135
-        Me.Controls.Add(Me.Label12)
136
-        Me.Controls.Add(Me.Label13)
137
-        Me.Controls.Add(Me.Button14)
138
-        Me.Controls.Add(Me.WebBrowser2)
139
-        Me.Controls.Add(Me.WebBrowser1)
140 76
         Me.Controls.Add(Me.Button1)
141 77
         Me.Controls.Add(Me.Label3)
142 78
         Me.Controls.Add(Me.TextBox2)
143 79
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
144 80
         Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
81
+        Me.MaximizeBox = False
82
+        Me.MinimizeBox = False
145 83
         Me.Name = "系統執行檔版本管理"
84
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
146 85
         Me.Text = "系統執行檔版本管理"
147 86
         Me.ResumeLayout(False)
148 87
         Me.PerformLayout()
149 88
 
150 89
     End Sub
151 90
     Friend WithEvents Label2 As Label
152
-    Friend WithEvents Label12 As Label
153
-    Friend WithEvents Label13 As Label
154
-    Friend WithEvents Button14 As Button
155
-    Friend WithEvents WebBrowser2 As WebBrowser
156
-    Friend WithEvents WebBrowser1 As WebBrowser
157 91
     Friend WithEvents Button1 As Button
158 92
     Friend WithEvents Label3 As Label
159 93
     Friend WithEvents TextBox2 As TextBox

+ 0
- 12
BIFENG-ERP-SYS/資料庫系統管理/系統執行檔版本管理.vb Näytä tiedosto

@@ -5,7 +5,6 @@ Public Class 系統執行檔版本管理
5 5
     Dim cmd As New SqlCommand
6 6
     Dim dr As SqlDataReader
7 7
     Private Sub 系統執行檔版本管理_Load(sender As Object, e As EventArgs) Handles MyBase.Load
8
-        Me.MdiParent = BIFENG_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
9 8
         If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
10 9
         SQL1 = "SELECT 系統認證版本號 FROM 版本號管理 "
11 10
         cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
@@ -13,12 +12,6 @@ Public Class 系統執行檔版本管理
13 12
             Label2.Text = "資料庫版本號 : " & dr("系統認證版本號")
14 13
             TextBox2.Text = dr("系統認證版本號")
15 14
         End If : conn.Close()
16
-        Target1 = Target & AA(1) & "/"
17
-        Target2 = Target & AA(0) & "/"
18
-        WebBrowser1.Url = New Uri(Target1)
19
-        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
20
-            WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
21
-        End If
22 15
     End Sub
23 16
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
24 17
         If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
@@ -35,9 +28,4 @@ Public Class 系統執行檔版本管理
35 28
         End If : conn.Close()
36 29
         MsgBox("修改完成")
37 30
     End Sub
38
-    Private Sub Button14_Click(sender As Object, e As EventArgs) Handles Button14.Click
39
-        If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then
40
-            WebBrowser2.Navigate(FolderBrowserDialog1.SelectedPath)
41
-        End If
42
-    End Sub
43 31
 End Class

Loading…
Peruuta
Tallenna