Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

登入畫面.vb 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. Imports System.IO
  2. Imports System.Text
  3. Public Class 登入畫面
  4. Dim MACKK, diskId, diskSerialNumber, diskModel As String 'MAC碼
  5. Dim Str As String = Application.StartupPath
  6. Dim IP公, IP測1, IP測2, 印尼測試內網網段 As Boolean
  7. Dim FFGG, GGHH As Integer
  8. ReadOnly 對話框(15) As String
  9. ReadOnly ds2, ds3 As New DataSet
  10. Private Sub 登入畫面_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  11. Dim strDirNam As String = Path.Combine(Application.StartupPath, "GF00-ERP-UPDATE.EXE")
  12. If File.Exists(strDirNam) Then : File.Delete(strDirNam) : End If
  13. 執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
  14. IP公 = False : IP測1 = False : IP測2 = False
  15. 系統登入_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 7.6)
  16. '-----------------------控件基本設定-----------------------------------------------------------------------------------------------------------------------------------------------
  17. 深色風格_ch.Visible = 風格啟用 : 系統語言_cb.Visible = 多國語言啟用 : 系統語言_lb.Visible = 多國語言啟用
  18. If 多國語言啟用 = False Then : 系統語言 = "繁體中文" : End If : 廟 = False
  19. 公司線路_rb.Visible = 測試線路啟用 : 測試線路_rb.Visible = 測試線路啟用
  20. 刷卡登入_ch.Checked = True : 登入綁定_ch.Checked = False : 公司線路_rb.Checked = True
  21. 刷卡登入_ch.Visible = False : 登入綁定_ch.Visible = False : Panel1.SendToBack()
  22. Dim filePath1 As String = Path.Combine(Application.StartupPath, "TEST.txt")
  23. If File.Exists(filePath1) Then
  24. Dim fileContent As String = File.ReadAllText(Str + "\TEST.txt")
  25. txt = fileContent
  26. If fileContent.Length >= 10 AndAlso fileContent(2) = "G" AndAlso fileContent(9) = "F" Then
  27. Dim databaseID As String = fileContent(4) & fileContent(7) : 資料庫編號 = databaseID
  28. Else : MGB("錯誤,請通知系管理員", 1) : Me.Close() : End If
  29. Else
  30. 輸入密碼.ShowDialog()
  31. If PA = "0003065795" Then
  32. PA = InputBox("請輸入啟動碼!!", "啟用系統")
  33. Dim strDirName As String : Dim filePath2 As String = Path.Combine(Application.StartupPath, "TEST.txt")
  34. If File.Exists(filePath2) Then : File.Delete(filePath2) : End If
  35. strDirName = filePath2
  36. Try
  37. Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
  38. Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
  39. Dim str As String = PA
  40. sw.WriteLine(str) '插入一整行
  41. sw.Flush()
  42. End Using
  43. End Using
  44. Catch ex As Exception
  45. End Try
  46. Application.Restart()
  47. Else : MGB("驗證碼錯誤", 1) : Me.Close() : End If
  48. End If
  49. '-----------------------調整視窗大小-----------------------------------------------------------------------------------------------------------------------------------------------
  50. Me.Size = New Size(460, 280)
  51. Dim screenBounds As Rectangle = Screen.PrimaryScreen.Bounds
  52. Me.Left = (screenBounds.Width - Me.Width) / 2
  53. Me.Top = (screenBounds.Height - Me.Height) / 2
  54. '-----MAC碼與硬碟資料-------------------------------------------------------------------------------------------------------------------------------------------------------------
  55. Dim Wmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
  56. For Each WmiObj As Management.ManagementObject In Wmi.Get
  57. If CBool(WmiObj("IPEnabled")) Then
  58. MACKK = WmiObj("MACAddress")
  59. End If
  60. Next
  61. Dim cmicWmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
  62. For Each cmicWmiObj As Management.ManagementObject In cmicWmi.Get
  63. diskId = cmicWmiObj("size")
  64. diskSerialNumber = cmicWmiObj("serialnumber")
  65. diskModel = cmicWmiObj("Model")
  66. Exit For
  67. Next
  68. '-----電腦預設值------------------------------------------------------------------------------------------------------------------------------------------------------------------
  69. SQL_連線字串_本機()
  70. 電腦識別碼 = diskId & "_" & diskSerialNumber & "_" & diskModel : 電腦識別碼 = Replace(電腦識別碼, "'", "_")
  71. SQL_電腦預設值查詢() : 帳號_rtb.ImeMode = 2
  72. '-----不啟用WEB------------------------------------------------------------------------------------------------------------------------------------------------------------------
  73. Dim filePath3 As String = Path.Combine(Application.StartupPath, "NOPWEB.txt")
  74. If File.Exists(filePath3) Then
  75. Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\NOPWEB.txt", System.Text.Encoding.Default)
  76. Dim Text As String = "" : Dim line As String = filereader.ReadLine()
  77. While Not (line Is Nothing) : Text = Text & line & vbCrLf : line = filereader.ReadLine() : End While : filereader.Close()
  78. If Strings.Left(Text, 2) = "NO" Then : 不啟用WEB_cb.Checked = False
  79. ElseIf Strings.Left(Text, 3) = "YES" Then : 不啟用WEB_cb.Checked = True : End If
  80. Else : 不啟用WEB_cb.Checked = False : End If
  81. If 不啟用WEB_cb.Checked = False Then : 不用WEB = False : Else : 不用WEB = True : End If
  82. PA49 = "mssql-147629-0.cloudclusters.net,12711"
  83. IP公 = True : IP測1 = True : IP測2 = True : 伺服器區域_cb.Text = "正式" : 公司線路_rb.Checked = True : 測試線路_rb.Checked = False : 內網線路 = True
  84. 確定_rbt.Enabled = True : 取消_rbt.Enabled = True : 刷卡登入_ch.Checked = True
  85. 'IP比對()
  86. SQL_系統版本號驗證()
  87. If dr.Read() Then : 資料庫版本 = dr("系統認證版本號") : 版本號 = dr("系統認證版本號") : End If : conn.Close()
  88. If Strings.Right(執行檔版本號_lb.Text, 10) <> Strings.Right(資料庫版本號_lb.Text, 10) Then
  89. 自動更新2()
  90. Else : End If
  91. End Sub
  92. Private Function ScaleImage(ByVal img As Image, ByVal size As Size) As Image
  93. Dim newImage As New Bitmap(size.Width, size.Height)
  94. Using graphics As Graphics = Graphics.FromImage(newImage)
  95. graphics.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
  96. graphics.DrawImage(img, New Rectangle(0, 0, size.Width, size.Height))
  97. End Using
  98. Return newImage
  99. End Function
  100. Private Sub IP比對()
  101. If SQL_連線狀態模組1.ConnectTest1("mssql-147629-0.cloudclusters.net,12711") = True Then
  102. '---主伺服器導通-------------------------------------------
  103. PA49 = "mssql-147629-0.cloudclusters.net,12711"
  104. IP公 = True : IP測1 = True : IP測2 = True : 伺服器區域_cb.Text = "正式" : 公司線路_rb.Checked = True : 測試線路_rb.Checked = False : 內網線路 = True
  105. 確定_rbt.Enabled = True : 取消_rbt.Enabled = True : 刷卡登入_ch.Checked = True
  106. Else
  107. If SQL_連線狀態模組2.ConnectTest2("106.1.48.106,4567") = True Then
  108. '---主伺服器導通-------------------------------------------
  109. 對話框(1) = "正式資料庫無法連線,請通知系統管理員!!"
  110. MGB(對話框(1), 1)
  111. PA49 = "106.1.48.106,4567"
  112. IP公 = True : IP測1 = True : IP測2 = True : 伺服器區域_cb.Text = "測試" : 公司線路_rb.Checked = True : 測試線路_rb.Checked = False : 內網線路 = True
  113. 確定_rbt.Enabled = True : 取消_rbt.Enabled = True : 刷卡登入_ch.Checked = True
  114. Else
  115. 對話框(1) = "正式及測試資料庫皆無法連線,請通知系統管理員!!"
  116. MGB(對話框(1), 1) : Me.Close()
  117. End If
  118. End If
  119. End Sub
  120. Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 伺服器區域_cb.SelectedIndexChanged
  121. '-----------------------確認登入伺服器位置-----------------------------------------------------------------------------------------------------------------------------------------
  122. If 伺服器區域_cb.Text = "正式" Then
  123. If IP公 = True Then : 登入人IP = "mssql-147629-0.cloudclusters.net,12711"
  124. 登入() : 確定_rbt.Enabled = True : 取消_rbt.Enabled = True : 刷卡登入_ch.Checked = True
  125. Dim filePath As String = Path.Combine(Application.StartupPath, "NOTAUTO.txt")
  126. If File.Exists(filePath) Then : Me.Text = "GF" & 資料庫編號 & "-ERP-SYS Line : M " : Else : Me.Text = "GF" & 資料庫編號 & "-ERP-SYS Line : M" : End If
  127. Else : MGB(對話框(11), 1) : Me.Close() : End If
  128. ElseIf 伺服器區域_cb.Text = "測試" Then
  129. If IP公 = True Then : 登入人IP = "mssql-147629-0.cloudclusters.net,12711" : 資料庫編號 = "99"
  130. 登入() : 確定_rbt.Enabled = True : 取消_rbt.Enabled = True : 刷卡登入_ch.Checked = True
  131. Dim filePath As String = Path.Combine(Application.StartupPath, "NOTAUTO.txt")
  132. If File.Exists(filePath) Then : Me.Text = "GF" & 資料庫編號 & "-ERP-SYS Line : T " : Else : Me.Text = "GF" & 資料庫編號 & "-ERP-SYS Line : T" : End If
  133. Else : MGB(對話框(11), 1) : Me.Close() : End If
  134. End If : 帳號_rtb.Focus()
  135. End Sub
  136. Private Sub 登入()
  137. '-----------------------寫入連線字串-----------------------------------------------------------------------------------------------------------------------------------------------
  138. If Strings.Left(伺服器區域_cb.Text, 2) = "正式" Or Strings.Left(伺服器區域_cb.Text, 2) = "正式" Then : SQL_連線字串_正式() : Else : SQL_連線字串_正式() : End If
  139. 驗證_tb.Text = "1" : g_conn_type = 伺服器區域_cb.Text & "伺服器"
  140. '-----------------------系統是否鎖定-----------------------------------------------------------------------------------------------------------------------------------------------
  141. SQL_讀取鎖定()
  142. If dr.Read() Then
  143. Dim ch As Boolean = dr("系統鎖定") : If ch = True Then : 退出.ShowDialog() : 退出.BringToFront() : Return : End If
  144. End If : conn.Close()
  145. '-----------------------讀取圖片------------
  146. SQL_取得登入圖檔()
  147. While dr.Read() = True
  148. Dim unused As Byte() = New Byte(-1) {}
  149. Dim bytes As Byte() = DirectCast(dr.Item("簽名檔圖片"), Byte())
  150. Dim oStream As New MemoryStream(bytes)
  151. PictureBox1.Image = Bitmap.FromStream(oStream)
  152. End While
  153. '-----------------------系統版本號寫入-----------------------------------------------------------------------------------------------------------------------------------------------
  154. SQL_系統版本號驗證()
  155. If dr.Read() Then : 資料庫版本 = dr("系統認證版本號") : 版本號 = dr("系統認證版本號") : End If : conn.Close()
  156. '-----------------------FTP資料夾登入位置宣告--------------------------------------------------------------------------------------------------------------------------------------
  157. Target = "https://gcm-smart.com/ERP/GF-ERP/"
  158. Target1 = "http://106.1.48.106:8080/ERP/GF-ERP/"
  159. If 多國語言啟用 = True Then : Else : 語言轉換讀取() : 資料庫版本號_lb.Text = "資料庫版本號 : " & 資料庫版本 : End If
  160. '-----MAC碼與硬碟資料-------------------------------------------------------------------------------------------------------------------------------------------------------------
  161. Dim Wmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
  162. For Each WmiObj As Management.ManagementObject In Wmi.Get
  163. If CBool(WmiObj("IPEnabled")) Then : MACKK = WmiObj("MACAddress") : End If
  164. Next
  165. Dim cmicWmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
  166. For Each cmicWmiObj As Management.ManagementObject In cmicWmi.Get
  167. diskId = cmicWmiObj("size")
  168. diskSerialNumber = cmicWmiObj("serialnumber")
  169. diskModel = cmicWmiObj("Model")
  170. Exit For
  171. Next
  172. End Sub
  173. Private Sub ConnectToDatabase()
  174. SQL_系統版本號驗證() : If dr.Read() Then : 資料庫版本 = dr("系統認證版本號") : 版本號 = dr("系統認證版本號") : End If : conn.Close()
  175. End Sub
  176. Private Sub Set_清單1()
  177. ftp清單_dgv.DataSource = Nothing : ds2.Clear()
  178. ftp清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
  179. ftp清單_dgv.ColumnHeadersHeight = 25 : ftp清單_dgv.AllowUserToAddRows = False
  180. SQL_FTP資料夾路徑分配()
  181. da.Fill(ds2) : ftp清單_dgv.DataSource = ds2.Tables(0) : conn.Close()
  182. End Sub
  183. Private Sub 自動更新2()
  184. Dim filePath As String = Path.Combine(Application.StartupPath, "NOTAUTO.txt")
  185. If File.Exists(filePath) Then
  186. If 帳號_rtb.Text = "b70340" Or 帳號_rtb.Text = "B70340" Then : Else : End If
  187. Else
  188. SQL_系統認證版本號查詢()
  189. If dr.Read() Then
  190. If Strings.Right(執行檔版本號_lb.Text, 10) = dr("小更新1").ToString Or Strings.Right(執行檔版本號_lb.Text, 10) = dr("小更新2").ToString Or
  191. Strings.Right(執行檔版本號_lb.Text, 10) = dr("小更新3").ToString Or Strings.Right(執行檔版本號_lb.Text, 10) = dr("小更新4").ToString Or
  192. Strings.Right(執行檔版本號_lb.Text, 10) = dr("小更新5").ToString Then : PA = "1"
  193. ElseIf Strings.Right(執行檔版本號_lb.Text, 10) = dr("中更新1").ToString Or Strings.Right(執行檔版本號_lb.Text, 10) = dr("中更新2").ToString Or
  194. Strings.Right(執行檔版本號_lb.Text, 10) = dr("中更新3").ToString Or Strings.Right(執行檔版本號_lb.Text, 10) = dr("中更新4").ToString Or
  195. Strings.Right(執行檔版本號_lb.Text, 10) = dr("中更新5").ToString Then : PA = "2"
  196. Else : PA = "3" : End If
  197. End If : conn.Close() : PA = "1"
  198. Dim strDirName As String : filePath = Path.Combine(Application.StartupPath, "GF00UPDATE.txt")
  199. If File.Exists(filePath) Then : File.Delete(filePath) : End If
  200. strDirName = filePath
  201. Try
  202. Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
  203. Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
  204. Dim strd As String = PA
  205. sw.WriteLine(strd) '插入一整行
  206. sw.Flush()
  207. End Using
  208. End Using
  209. Catch ex As Exception
  210. MessageBox.Show("寫入文件錯誤: " & ex.Message)
  211. End Try
  212. Try
  213. My.Computer.Network.DownloadFile(Target & "GF00-ERP-UPDATE.exe", Str & "\GF00-ERP-UPDATE.exe")
  214. Catch ex As Exception
  215. My.Computer.Network.DownloadFile(Target1 & "GF00-ERP-UPDATE.exe", Str & "\GF00-ERP-UPDATE.exe")
  216. End Try
  217. Shell(Str & "\GF00-ERP-UPDATE.exe", vbNormalFocus) : Me.Close()
  218. End If
  219. End Sub
  220. Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles 確定_rbt.Click
  221. 系統語言_cb.Text = "繁體中文"
  222. If 系統語言_cb.Text = " " Or 系統語言_cb.Text = "" Then : MGB(對話框(9), 1) : Else
  223. '-----電腦綁定判斷-------------------------------------------------------------------------------------------------------------------------------------------------------------
  224. If 登入綁定_ch.Checked = True Then
  225. PA1 = MACKK : PA2 = diskId : PA3 = diskSerialNumber : PA4 = diskModel
  226. SQL_電腦綁定()
  227. If dr.Read() Then : conn.Close() : 登入第一層() : Else
  228. If 帳號_rtb.Text = "b70340" Or 帳號_rtb.Text = "B70340" Then : conn.Close() : 登入第一層() : Else : conn.Close() : MGB(對話框(6), 1) : Me.Close() : End If
  229. End If
  230. Else : conn.Close() : 登入第一層() : End If
  231. End If
  232. End Sub
  233. Private Sub 登入第一層()
  234. If 帳號_rtb.Text = "b70340" Or 帳號_rtb.Text = "B70340" Then
  235. If Strings.Right(執行檔版本號_lb.Text, 10) <> Strings.Right(資料庫版本號_lb.Text, 10) Then
  236. If 伺服器區域_cb.Text = "測試雲端" Then
  237. 自動更新2()
  238. 登入程序() : 判斷重登 = False
  239. Else
  240. 登入程序() : 判斷重登 = False
  241. End If
  242. Else
  243. 登入程序() : 判斷重登 = False
  244. End If
  245. Else
  246. If Strings.Right(執行檔版本號_lb.Text, 10) <> Strings.Right(資料庫版本號_lb.Text, 10) Then
  247. If 伺服器區域_cb.Text = "測試雲端" Then
  248. 自動更新2()
  249. Else
  250. MGB(對話框(1), 1)
  251. End If
  252. Else
  253. 登入程序() : 判斷重登 = False
  254. End If
  255. End If
  256. End Sub
  257. Private Sub 登入程序()
  258. If 帳號_rtb.Text = "" Then : MGB(對話框(2), 1) : ElseIf 帳號_rtb.Text <> "" Then
  259. If 帳號_rtb.Text = "" Then : MGB(對話框(3), 1) : ElseIf 帳號_rtb.Text <> "" Then
  260. If 驗證_tb.Text = "1" Then
  261. SQL_使用者級別宣告() : If dr.Read() Then : 登入人級別 = dr("級別").ToString : End If
  262. SQL_使用者權限宣告()
  263. If dr.Read() Then
  264. 密碼驗證_tb.Text = dr("密碼").ToString : 密碼日期_tb.Text = dr("密碼日期").ToString
  265. gUserName = dr("姓名").ToString : 登入人部門 = dr("部門").ToString : 登入人課別 = dr("課別").ToString
  266. 登入人組別 = dr("組別").ToString
  267. For I As Integer = 1 To 權限數量 : CC(I) = dr.Item(I + 8 - 1) : Next
  268. FFGG = DateDiff("d", 密碼日期_tb.Text, Format(Today(), "yyyy/MM/dd"))
  269. If CC(45) = True Then : GGHH = 密碼時限 - FFGG
  270. If GGHH <= 0 Then
  271. MGB(對話框(4), 1) : 個人帳號管理.ShowDialog()
  272. Else : 登入第二層() : End If
  273. Else : 登入第二層() : End If
  274. Else : MGB(對話框(15), 1) : End If : dr.Close()
  275. End If
  276. End If
  277. End If
  278. conn.Close()
  279. End Sub
  280. Private Sub 進行下載_lb_Click(sender As Object, e As EventArgs) Handles 進行下載_lb.Click
  281. 自動更新2()
  282. End Sub
  283. Private Sub 隱藏開關_lb_Click(sender As Object, e As EventArgs) Handles 隱藏開關_lb.Click
  284. 輸入密碼.ShowDialog()
  285. If PA = "0003065795" Then
  286. PA = InputBox("請輸入啟動碼!!", "啟用系統", txt)
  287. Dim strDirName As String : Dim filePath As String = Path.Combine(Application.StartupPath, "TEST.txt")
  288. If File.Exists(filePath) Then : File.Delete(filePath) : End If : strDirName = filePath
  289. Try
  290. Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
  291. Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
  292. Dim str As String = PA
  293. sw.WriteLine(str) '插入一整行
  294. sw.Flush()
  295. End Using
  296. End Using
  297. Catch ex As Exception : End Try
  298. Application.Restart()
  299. Else : End If
  300. End Sub
  301. Private Sub 登入第二層()
  302. If 密碼_rtb.Text = 密碼驗證_tb.Text Then
  303. If 密碼驗證_tb.Text = "" Then : MGB(對話框(5), 1)
  304. Else
  305. Me.Hide() : Timer1.Enabled = False
  306. ICS_ASMS_ERP_SYS.Show() : 密碼_rtb.Text = "" : 帳號_rtb.Text = ""
  307. End If
  308. ElseIf 密碼_rtb.Text <> 密碼驗證_tb.Text Then : MGB(對話框(5), 1)
  309. End If
  310. End Sub
  311. Private Sub UsernameTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 帳號_rtb.KeyPress
  312. If e.KeyChar = ChrW(13) Then : Me.確定_rbt.PerformClick() : End If
  313. End Sub
  314. Private Sub PasswordTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 密碼_rtb.KeyPress
  315. If e.KeyChar = ChrW(13) Then : Me.確定_rbt.PerformClick() : End If
  316. End Sub
  317. Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles 取消_rbt.Click
  318. Me.Close()
  319. End Sub
  320. Private Sub 風格()
  321. End Sub
  322. Private Sub UsernameTextBox_TextChanged(sender As Object, e As EventArgs) Handles 帳號_rtb.TextChanged
  323. If IsNumeric(帳號_rtb.Text) = True Then
  324. If 帳號_rtb.Text.Length = 10 Then
  325. SQL_刷卡登入()
  326. If dr.Read() Then
  327. 帳號_rtb.Text = dr("帳號").ToString : 密碼_rtb.Text = dr("密碼").ToString : conn.Close()
  328. Else
  329. 帳號_rtb.Text = "" : 密碼_rtb.Text = "" : conn.Close()
  330. End If
  331. Me.確定_rbt.PerformClick() : Exit Sub
  332. End If
  333. End If
  334. End Sub
  335. Private Sub 語言轉換讀取()
  336. 對話框(0) = "所選擇服務器不是台灣服務器,請連線該服務器所在網域的VPN,確保連線正常後重新選擇伺服器!"
  337. 對話框(1) = "系統版本號 與 資料庫版本號 對應不上,請下載最新的執行檔。"
  338. 對話框(2) = "請輸入帳號! 如使用刷登入,請確定該卡片有合法註冊!"
  339. 對話框(3) = "請輸入帳號!"
  340. 對話框(4) = "密碼過期!"
  341. 對話框(5) = "帳號或密碼錯誤,請重新輸入!"
  342. 對話框(6) = "該電腦沒有註冊,無法使用系統。"
  343. 對話框(7) = "下載完成,請手動刪除就的執行檔,並且用新的執行檔開啟。"
  344. 對話框(8) = "操作不正確,請用手動方式下載更新。"
  345. 對話框(9) = "未選擇語言"
  346. 對話框(10) = "請輸入 小更新 [1]、中更新 [2]、大更新 [3] !!"
  347. 對話框(11) = "網路錯誤,無法連線!!"
  348. 對話框(12) = "正式資料庫無法連線,請通知系統管理員!!"
  349. 對話框(13) = "線路轉換完成!!"
  350. 對話框(14) = "正式,測試資料庫無法使用!!"
  351. 對話框(15) = "帳號錯誤,請重新輸入!!"
  352. End Sub
  353. End Class