B70340 3 lat temu
rodzic
commit
ee67c8c93a

BIN
工巧明智能管理系統/.vs/我的系統/v16/.suo Wyświetl plik


+ 9
- 2
工巧明智能管理系統/我的系統/Login.Designer.vb Wyświetl plik

@@ -30,6 +30,7 @@ Partial Class Login
30 30
     '請不要使用程式碼編輯器進行修改。
31 31
     <System.Diagnostics.DebuggerStepThrough()> _
32 32
     Private Sub InitializeComponent()
33
+        Me.components = New System.ComponentModel.Container()
33 34
         Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34 35
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Login))
35 36
         Me.UsernameLabel = New System.Windows.Forms.Label()
@@ -54,6 +55,7 @@ Partial Class Login
54 55
         Me.Label3 = New System.Windows.Forms.Label()
55 56
         Me.Button1 = New System.Windows.Forms.Button()
56 57
         Me.ID卡號_tb = New System.Windows.Forms.TextBox()
58
+        Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
57 59
         CType(Me.FDT_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
58 60
         CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).BeginInit()
59 61
         Me.SuspendLayout()
@@ -259,7 +261,7 @@ Partial Class Login
259 261
         Me.Label3.Name = "Label3"
260 262
         Me.Label3.Size = New System.Drawing.Size(217, 80)
261 263
         Me.Label3.TabIndex = 681
262
-        Me.Label3.Text = "如果您的網頁沒有自動開啟," & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "請按下方按鈕,來開啟下載最" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "新版本的網頁。下載時請注意" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "防火牆或防毒軟體的阻擋!!"
264
+        Me.Label3.Text = "如果您的系統沒有自動開啟下" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "載,請按下方按鈕,來執行新" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "版本的更新。更新下載時請注" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "防火牆或防毒軟體的阻擋!!"
263 265
         '
264 266
         'Button1
265 267
         '
@@ -267,7 +269,7 @@ Partial Class Login
267 269
         Me.Button1.Name = "Button1"
268 270
         Me.Button1.Size = New System.Drawing.Size(219, 94)
269 271
         Me.Button1.TabIndex = 680
270
-        Me.Button1.Text = "開啟下載網頁,下載最新根新版本"
272
+        Me.Button1.Text = "下載最新根新版本"
271 273
         Me.Button1.UseVisualStyleBackColor = True
272 274
         '
273 275
         'ID卡號_tb
@@ -280,6 +282,10 @@ Partial Class Login
280 282
         Me.ID卡號_tb.TabIndex = 682
281 283
         Me.ID卡號_tb.Visible = False
282 284
         '
285
+        'Timer1
286
+        '
287
+        Me.Timer1.Interval = 3000
288
+        '
283 289
         'Login
284 290
         '
285 291
         Me.AcceptButton = Me.OK
@@ -340,4 +346,5 @@ Partial Class Login
340 346
     Friend WithEvents Label3 As Label
341 347
     Friend WithEvents Button1 As Button
342 348
     Friend WithEvents ID卡號_tb As TextBox
349
+    Friend WithEvents Timer1 As Timer
343 350
 End Class

+ 3
- 0
工巧明智能管理系統/我的系統/Login.resx Wyświetl plik

@@ -120,6 +120,9 @@
120 120
   <metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121 121
     <value>17, 17</value>
122 122
   </metadata>
123
+  <metadata name="Timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124
+    <value>161, 17</value>
125
+  </metadata>
123 126
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
124 127
   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
125 128
     <value>

+ 6
- 2
工巧明智能管理系統/我的系統/Login.vb Wyświetl plik

@@ -32,11 +32,14 @@ Public Class Login
32 32
         SQL1 = "SELECT 資料夾名稱, 指定 FROM FTP資料夾管理"
33 33
         CmdSet_For_DGV() : da.Fill(ds2) : FDT_dgv.DataSource = ds2.Tables(0) : conn.Close()
34 34
     End Sub
35
-    <Obsolete>
36
-    Private Sub Login_Load(sender As Object, e As EventArgs) Handles MyBase.Load
35
+    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
37 36
         '-----------------------刪除自動更新項目-----------------------------------------------------------------------------------------------------------------------------------------------
38 37
         Dim Str As String = Application.StartupPath
39 38
         If File.Exists(Str + "\SYS-UPDATE.exe") Then : File.Delete(Str + "\SYS-UPDATE.exe") : End If
39
+        Timer1.Enabled = False
40
+    End Sub
41
+    <Obsolete>
42
+    Private Sub Login_Load(sender As Object, e As EventArgs) Handles MyBase.Load
40 43
         '-----------------------控件基本設定-----------------------------------------------------------------------------------------------------------------------------------------------
41 44
         CheckBox1.Enabled = False : CheckBox3.Checked = True : CheckBox3.Enabled = False : CheckBox1.Enabled = False
42 45
         TextBox4.Text = "1"
@@ -64,6 +67,7 @@ Public Class Login
64 67
             ComboBox1.Text = "工巧明外網"
65 68
             OK.Enabled = True : Cancel.Enabled = True : CheckBox1.Checked = True
66 69
         End If
70
+        Timer1.Enabled = True
67 71
     End Sub
68 72
     <Obsolete>
69 73
     Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged

+ 1
- 1
工巧明智能管理系統/我的系統/MyModule/SQL_連線字串.vb Wyświetl plik

@@ -3,6 +3,6 @@
3 3
         ConString = "Data Source=" & 登入人IP & ";Initial Catalog=我的資料庫;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
4 4
     End Sub
5 5
     Friend Sub SQL_連線字串_考勤()
6
-        ConString1 = "Data Source=106.1.50.79;Initial Catalog=GCM_AM_SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
6
+        ConString1 = "Data Source=106.1.48.106,4567;Initial Catalog=GCM_AM_SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
7 7
     End Sub
8 8
 End Module

+ 1
- 1
工巧明智能管理系統/我的系統/MyModule/全域變數.vb Wyświetl plik

@@ -8,7 +8,7 @@
8 8
     Public 登入權限AQL As String = "姓名, 帳號, 密碼, 密碼日期, CC00, CC01, CC02, CC03, CC04, CC05, CC06, CC07, CC08, CC09, CC10, CC11, CC12, CC13, CC14, CC15, CC16, CC17, CC18, CC19, CC20, CC21, CC22, 
9 9
                                     CC23, CC24, CC25, CC26, CC27, CC28, CC29, CC30, CC31, CC32"
10 10
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11
-    Public 版本 As String = "2021092901"
11
+    Public 版本 As String = "2021101301"
12 12
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 13
     Public 判斷重登 As Boolean : Public 內外網 As Boolean : Public 重登確認 As Boolean : Public 主頁開啟 As Boolean
14 14
     Public timeExit As Integer = 0 : Public timeExit2 As Integer = 0 : Public timeNow As Integer = 0 : Public timeNow2 As Integer = 0 : Public 密碼時限 As Integer = 30

BIN
工巧明智能管理系統/我的系統/bin/Debug/GCM-ERP-SYS.exe Wyświetl plik


BIN
工巧明智能管理系統/我的系統/bin/Debug/GCM-ERP-SYS.pdb Wyświetl plik


BIN
工巧明智能管理系統/我的系統/obj/x86/Debug/GCM-ERP-SYS.exe Wyświetl plik


BIN
工巧明智能管理系統/我的系統/obj/x86/Debug/GCM-ERP-SYS.pdb Wyświetl plik


BIN
工巧明智能管理系統/我的系統/obj/x86/Debug/工巧明智能管理系統.vbproj.GenerateResource.cache Wyświetl plik


BIN
工巧明智能管理系統/我的系統/obj/x86/Debug/工巧明智能管理系統.vbproj.ResolveComReference.cache Wyświetl plik


BIN
工巧明智能管理系統/我的系統/obj/x86/Debug/工巧明智能管理系統.vbprojAssemblyReference.cache Wyświetl plik


Ładowanie…
Anuluj
Zapisz