B70340 2 anni fa
parent
commit
80d1d7fb5e
34 ha cambiato i file con 238 aggiunte e 53 eliminazioni
  1. BIN
      .vs/BIFENG-REG-SYS/FileContentIndex/161eea61-e247-4bc3-9d47-473395c41bfc.vsidx
  2. BIN
      .vs/BIFENG-REG-SYS/FileContentIndex/ad863b30-ae80-4028-9072-084e0ac75fa3.vsidx
  3. BIN
      .vs/BIFENG-REG-SYS/FileContentIndex/b2727882-8123-42ec-bcf5-946ef9afcb91.vsidx
  4. 0
    0
      .vs/BIFENG-REG-SYS/FileContentIndex/read.lock
  5. BIN
      .vs/BIFENG-REG-SYS/v17/.suo
  6. 5
    4
      BIFENG-REG-SYS/BIFENG-REG-SYS.Designer.vb
  7. 1
    0
      BIFENG-REG-SYS/BIFENG-REG-SYS.vb
  8. 5
    1
      BIFENG-REG-SYS/BIFENG-REG-SYS.vbproj
  9. 0
    3
      BIFENG-REG-SYS/Module1.vb
  10. 35
    24
      BIFENG-REG-SYS/My Project/Resources.Designer.vb
  11. 12
    5
      BIFENG-REG-SYS/My Project/Resources.resx
  12. 64
    0
      BIFENG-REG-SYS/SQL_連線狀態模組1.vb
  13. BIN
      BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.exe
  14. BIN
      BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.pdb
  15. 18
    4
      BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.xml
  16. 7
    0
      BIFENG-REG-SYS/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.vb
  17. BIN
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.exe
  18. BIN
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.pdb
  19. BIN
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.AssemblyReference.cache
  20. 1
    1
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.CoreCompileInputs.cache
  21. 14
    0
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.FileListAbsolute.txt
  22. BIN
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.GenerateResource.cache
  23. 0
    0
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.SuggestedBindingRedirects.cache
  24. 18
    4
      BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.xml
  25. BIN
      BIFENG-REG-SYS/obj/Debug/BIFENG_REG_SYS.Resources.resources
  26. BIN
      BIFENG-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  27. BIN
      BIFENG-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  28. BIN
      BIFENG-REG-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  29. BIN
      BIFENG-REG-SYS/圖片/22147396_MotionElements_mountain-range-in-the.jpg
  30. BIN
      BIFENG-REG-SYS/圖片/22148217_MotionElements_beautiful-scenery-of.jpg
  31. BIN
      BIFENG-REG-SYS/圖片/22739892_MotionElements_snowy-mountain-peaks-in.jpg
  32. 37
    3
      BIFENG-REG-SYS/網段.Designer.vb
  33. 17
    4
      BIFENG-REG-SYS/網段.vb
  34. 4
    0
      BIFENG-REG-SYS/通用變數.vb

BIN
.vs/BIFENG-REG-SYS/FileContentIndex/161eea61-e247-4bc3-9d47-473395c41bfc.vsidx Vedi File


BIN
.vs/BIFENG-REG-SYS/FileContentIndex/ad863b30-ae80-4028-9072-084e0ac75fa3.vsidx Vedi File


BIN
.vs/BIFENG-REG-SYS/FileContentIndex/b2727882-8123-42ec-bcf5-946ef9afcb91.vsidx Vedi File


+ 0
- 0
.vs/BIFENG-REG-SYS/FileContentIndex/read.lock Vedi File


BIN
.vs/BIFENG-REG-SYS/v17/.suo Vedi File


+ 5
- 4
BIFENG-REG-SYS/BIFENG-REG-SYS.Designer.vb Vedi File

@@ -48,7 +48,7 @@ Partial Class Form1
48 48
         Me.Label4.AutoSize = True
49 49
         Me.Label4.Location = New System.Drawing.Point(10, 102)
50 50
         Me.Label4.Name = "Label4"
51
-        Me.Label4.Size = New System.Drawing.Size(56, 16)
51
+        Me.Label4.Size = New System.Drawing.Size(55, 16)
52 52
         Me.Label4.TabIndex = 20
53 53
         Me.Label4.Text = "磁盘型態"
54 54
         '
@@ -57,7 +57,7 @@ Partial Class Form1
57 57
         Me.Label3.AutoSize = True
58 58
         Me.Label3.Location = New System.Drawing.Point(10, 73)
59 59
         Me.Label3.Name = "Label3"
60
-        Me.Label3.Size = New System.Drawing.Size(56, 16)
60
+        Me.Label3.Size = New System.Drawing.Size(55, 16)
61 61
         Me.Label3.TabIndex = 19
62 62
         Me.Label3.Text = "硬碟序列"
63 63
         '
@@ -66,7 +66,7 @@ Partial Class Form1
66 66
         Me.Label2.AutoSize = True
67 67
         Me.Label2.Location = New System.Drawing.Point(10, 44)
68 68
         Me.Label2.Name = "Label2"
69
-        Me.Label2.Size = New System.Drawing.Size(44, 16)
69
+        Me.Label2.Size = New System.Drawing.Size(43, 16)
70 70
         Me.Label2.TabIndex = 18
71 71
         Me.Label2.Text = "硬碟ID"
72 72
         '
@@ -75,7 +75,7 @@ Partial Class Form1
75 75
         Me.Label1.AutoSize = True
76 76
         Me.Label1.Location = New System.Drawing.Point(10, 15)
77 77
         Me.Label1.Name = "Label1"
78
-        Me.Label1.Size = New System.Drawing.Size(48, 16)
78
+        Me.Label1.Size = New System.Drawing.Size(47, 16)
79 79
         Me.Label1.TabIndex = 17
80 80
         Me.Label1.Text = "MAC碼"
81 81
         '
@@ -120,6 +120,7 @@ Partial Class Form1
120 120
         '
121 121
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
122 122
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
123
+        Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
123 124
         Me.ClientSize = New System.Drawing.Size(389, 187)
124 125
         Me.Controls.Add(Me.Button2)
125 126
         Me.Controls.Add(Me.Label4)

+ 1
- 0
BIFENG-REG-SYS/BIFENG-REG-SYS.vb Vedi File

@@ -10,6 +10,7 @@ Public Class Form1
10 10
     Dim SQL1 As String
11 11
     Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
12 12
         網段.ShowDialog()
13
+        If 不通 = True Then : Me.Close() : End If
13 14
     End Sub
14 15
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
15 16
         '-----MAC碼----------------------------------------------------------------------------------------------

+ 5
- 1
BIFENG-REG-SYS/BIFENG-REG-SYS.vbproj Vedi File

@@ -84,7 +84,7 @@
84 84
       <DependentUpon>BIFENG-REG-SYS.vb</DependentUpon>
85 85
       <SubType>Form</SubType>
86 86
     </Compile>
87
-    <Compile Include="Module1.vb" />
87
+    <Compile Include="SQL_連線狀態模組1.vb" />
88 88
     <Compile Include="My Project\AssemblyInfo.vb" />
89 89
     <Compile Include="My Project\Application.Designer.vb">
90 90
       <AutoGen>True</AutoGen>
@@ -106,6 +106,7 @@
106 106
     <Compile Include="網段.vb">
107 107
       <SubType>Form</SubType>
108 108
     </Compile>
109
+    <Compile Include="通用變數.vb" />
109 110
   </ItemGroup>
110 111
   <ItemGroup>
111 112
     <EmbeddedResource Include="BIFENG-REG-SYS.resx">
@@ -136,5 +137,8 @@
136 137
   <ItemGroup>
137 138
     <Content Include="BIFENG-ERP-SYS.ico" />
138 139
   </ItemGroup>
140
+  <ItemGroup>
141
+    <Folder Include="圖片\" />
142
+  </ItemGroup>
139 143
   <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
140 144
 </Project>

+ 0
- 3
BIFENG-REG-SYS/Module1.vb Vedi File

@@ -1,3 +0,0 @@
1
-Module Module1
2
-    Public ConString As String
3
-End Module

+ 35
- 24
BIFENG-REG-SYS/My Project/Resources.Designer.vb Vedi File

@@ -1,40 +1,41 @@
1 1
 '------------------------------------------------------------------------------
2 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 8
 ' </auto-generated>
9 9
 '------------------------------------------------------------------------------
10 10
 
11 11
 Option Strict On
12 12
 Option Explicit On
13 13
 
14
+Imports System
14 15
 
15 16
 Namespace My.Resources
16
-
17
-    'This class was auto-generated by the StronglyTypedResourceBuilder
18
-    'class via a tool like ResGen or Visual Studio.
19
-    'To add or remove a member, edit your .ResX file then rerun ResGen
20
-    'with the /str option, or rebuild your VS project.
17
+    
18
+    '這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
19
+    '類別透過 ResGen 或 Visual Studio 這類工具。
20
+    '若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
21
+    '(利用 /str 選項),或重建您的 VS 專案。
21 22
     '''<summary>
22
-    '''  A strongly-typed resource class, for looking up localized strings, etc.
23
+    '''  用於查詢當地語系化字串等的強類型資源類別。
23 24
     '''</summary>
24
-    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
25
-     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
26
-     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
27
-     Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
25
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"),  _
26
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
27
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
28
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()>  _
28 29
     Friend Module Resources
29
-
30
+        
30 31
         Private resourceMan As Global.System.Resources.ResourceManager
31
-
32
+        
32 33
         Private resourceCulture As Global.System.Globalization.CultureInfo
33
-
34
+        
34 35
         '''<summary>
35
-        '''  Returns the cached ResourceManager instance used by this class.
36
+        '''  傳回這個類別使用的快取的 ResourceManager 執行個體。
36 37
         '''</summary>
37
-        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
38
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
38 39
         Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
39 40
             Get
40 41
                 If Object.ReferenceEquals(resourceMan, Nothing) Then
@@ -44,19 +45,29 @@ Namespace My.Resources
44 45
                 Return resourceMan
45 46
             End Get
46 47
         End Property
47
-
48
+        
48 49
         '''<summary>
49
-        '''  Overrides the current thread's CurrentUICulture property for all
50
-        '''  resource lookups using this strongly typed resource class.
50
+        '''  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
51
+        '''  使用這個強類型資源類別的資源查閱。
51 52
         '''</summary>
52
-        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
53
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
53 54
         Friend Property Culture() As Global.System.Globalization.CultureInfo
54 55
             Get
55 56
                 Return resourceCulture
56 57
             End Get
57
-            Set(ByVal value As Global.System.Globalization.CultureInfo)
58
+            Set
58 59
                 resourceCulture = value
59 60
             End Set
60 61
         End Property
62
+        
63
+        '''<summary>
64
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
65
+        '''</summary>
66
+        Friend ReadOnly Property _22148217_MotionElements_beautiful_scenery_of() As System.Drawing.Bitmap
67
+            Get
68
+                Dim obj As Object = ResourceManager.GetObject("22148217_MotionElements_beautiful-scenery-of", resourceCulture)
69
+                Return CType(obj,System.Drawing.Bitmap)
70
+            End Get
71
+        End Property
61 72
     End Module
62 73
 End Namespace

+ 12
- 5
BIFENG-REG-SYS/My Project/Resources.resx Vedi File

@@ -46,7 +46,7 @@
46 46
     
47 47
     mimetype: application/x-microsoft.net.object.binary.base64
48 48
     value   : The object must be serialized with 
49
-            : System.Serialization.Formatters.Binary.BinaryFormatter
49
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 50
             : and then encoded with base64 encoding.
51 51
     
52 52
     mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
60 60
             : and then encoded with base64 encoding.
61 61
     -->
62 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" />
63 64
     <xsd:element name="root" msdata:IsDataSet="true">
64 65
       <xsd:complexType>
65 66
         <xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
68 69
               <xsd:sequence>
69 70
                 <xsd:element name="value" type="xsd:string" minOccurs="0" />
70 71
               </xsd:sequence>
71
-              <xsd:attribute name="name" type="xsd:string" />
72
+              <xsd:attribute name="name" use="required" type="xsd:string" />
72 73
               <xsd:attribute name="type" type="xsd:string" />
73 74
               <xsd:attribute name="mimetype" type="xsd:string" />
75
+              <xsd:attribute ref="xml:space" />
74 76
             </xsd:complexType>
75 77
           </xsd:element>
76 78
           <xsd:element name="assembly">
@@ -85,9 +87,10 @@
85 87
                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86 88
                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87 89
               </xsd:sequence>
88
-              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
90
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
89 91
               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90 92
               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+              <xsd:attribute ref="xml:space" />
91 94
             </xsd:complexType>
92 95
           </xsd:element>
93 96
           <xsd:element name="resheader">
@@ -109,9 +112,13 @@
109 112
     <value>2.0</value>
110 113
   </resheader>
111 114
   <resheader name="reader">
112
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
115
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113 116
   </resheader>
114 117
   <resheader name="writer">
115
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
118
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 119
   </resheader>
120
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121
+  <data name="22148217_MotionElements_beautiful-scenery-of" type="System.Resources.ResXFileRef, System.Windows.Forms">
122
+    <value>..\圖片\22148217_MotionElements_beautiful-scenery-of.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123
+  </data>
117 124
 </root>

+ 64
- 0
BIFENG-REG-SYS/SQL_連線狀態模組1.vb Vedi File

@@ -0,0 +1,64 @@
1
+Module SQL_連線狀態模組1
2
+#Region "——连接测试:避免等待时间过长——"
3
+    Dim bConnect As Boolean
4
+    Dim BgWorker1 As New System.ComponentModel.BackgroundWorker
5
+    Dim ServerIP As String
6
+    ''' <summary>
7
+    ''' 测试连接:True-连接成功,False-连接失败
8
+    ''' 参数[必选]:服务器IP
9
+    ''' 参数[可选]:等待超时时间(秒),默认为1.2秒
10
+    ''' </summary>
11
+    ''' <returns></returns>
12
+    ''' <remarks></remarks>
13
+    Function ConnectTest1(ByVal varServerIP As String, Optional ByVal varTimeout As Decimal = 1.5) As Boolean
14
+        AddHandler BgWorker1.DoWork, AddressOf BgWorker1_DoWork
15
+        Dim g As Integer
16
+        Dim k As Integer
17
+        If BgWorker1.CancellationPending Then
18
+            BgWorker1.CancelAsync()
19
+            '取消BackgroundWorker執行中的工作
20
+        End If
21
+        Try
22
+            If varServerIP = "" Then
23
+                Exit Function
24
+            End If
25
+            ServerIP = varServerIP
26
+            If varTimeout <= 0 Then
27
+                varTimeout = 1.5
28
+            End If
29
+            k = Int(varTimeout * 10)
30
+            bConnect = False
31
+            BgWorker1.WorkerSupportsCancellation = True
32
+            BgWorker1.RunWorkerAsync()
33
+            For g = 1 To k '1.2s
34
+                Threading.Thread.Sleep(100)
35
+                If bConnect = True Then
36
+                    ConnectTest1 = True
37
+                    Exit Function
38
+                End If
39
+            Next
40
+            ConnectTest1 = False
41
+            BgWorker1.CancelAsync()
42
+        Catch ex As Exception
43
+            MsgBox(ex.Message)
44
+        End Try
45
+    End Function
46
+    '--异步动作
47
+    Private Sub BgWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
48
+        Call ConnectMSSQLServer()
49
+    End Sub
50
+    '--连接数据库
51
+    Private Function ConnectMSSQLServer() As Boolean
52
+        Dim sqlConTest As Data.SqlClient.SqlConnection ' 连接   
53
+        sqlConTest = New Data.SqlClient.SqlConnection
54
+        sqlConTest.ConnectionString = "Data Source=" + ServerIP + ";Initial Catalog=BIFENG-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
55
+        Try
56
+            sqlConTest.Open()
57
+            sqlConTest.Close()
58
+        Catch ex As Exception
59
+        Finally
60
+            bConnect = True
61
+        End Try
62
+    End Function
63
+#End Region
64
+End Module

BIN
BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.exe Vedi File


BIN
BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.pdb Vedi File


+ 18
- 4
BIFENG-REG-SYS/bin/Debug/BIFENG-REG-SYS.xml Vedi File

@@ -8,19 +8,33 @@ BIFENG-REG-SYS
8 8
 <members>
9 9
 <member name="T:BIFENG_REG_SYS.My.Resources.Resources">
10 10
 <summary>
11
-  A strongly-typed resource class, for looking up localized strings, etc.
11
+  用於查詢當地語系化字串等的強類型資源類別。
12 12
 </summary>
13 13
 </member>
14 14
 <member name="P:BIFENG_REG_SYS.My.Resources.Resources.ResourceManager">
15 15
 <summary>
16
-  Returns the cached ResourceManager instance used by this class.
16
+  傳回這個類別使用的快取的 ResourceManager 執行個體。
17 17
 </summary>
18 18
 </member>
19 19
 <member name="P:BIFENG_REG_SYS.My.Resources.Resources.Culture">
20 20
 <summary>
21
-  Overrides the current thread's CurrentUICulture property for all
22
-  resource lookups using this strongly typed resource class.
21
+  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
22
+  使用這個強類型資源類別的資源查閱。
23 23
 </summary>
24 24
 </member>
25
+<member name="P:BIFENG_REG_SYS.My.Resources.Resources._22148217_MotionElements_beautiful_scenery_of">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
30
+<member name="M:BIFENG_REG_SYS.SQL_連線狀態模組1.ConnectTest1(System.String,System.Decimal)">
31
+ <summary>
32
+ 测试连接:True-连接成功,False-连接失败
33
+ 参数[必选]:服务器IP
34
+ 参数[可选]:等待超时时间(秒),默认为1.2秒
35
+ </summary>
36
+ <returns></returns>
37
+ <remarks></remarks>
38
+</member>
25 39
 </members>
26 40
 </doc>

+ 7
- 0
BIFENG-REG-SYS/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.vb Vedi File

@@ -0,0 +1,7 @@
1
+' <autogenerated/>
2
+            Option Strict Off
3
+            Option Explicit On
4
+
5
+            Imports System
6
+            Imports System.Reflection
7
+            <Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName:=".NET Framework 4.6")>

BIN
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.exe Vedi File


BIN
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.pdb Vedi File


BIN
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.AssemblyReference.cache Vedi File


+ 1
- 1
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.CoreCompileInputs.cache Vedi File

@@ -1 +1 @@
1
-a6f322016b2b9943733ccdeb1ff53a9cf77faf1c
1
+648863fff601f79cd1b9f55d1859da67a1617216

+ 14
- 0
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.FileListAbsolute.txt Vedi File

@@ -22,3 +22,17 @@ G:\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.exe
22 22
 G:\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.xml
23 23
 G:\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.pdb
24 24
 G:\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG_REG_SYS.網段.resources
25
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\bin\Debug\BIFENG-REG-SYS.exe.config
26
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\bin\Debug\BIFENG-REG-SYS.exe
27
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\bin\Debug\BIFENG-REG-SYS.pdb
28
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\bin\Debug\BIFENG-REG-SYS.xml
29
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.vbproj.AssemblyReference.cache
30
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.vbproj.SuggestedBindingRedirects.cache
31
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG_REG_SYS.Form1.resources
32
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG_REG_SYS.Resources.resources
33
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG_REG_SYS.網段.resources
34
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.vbproj.GenerateResource.cache
35
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.vbproj.CoreCompileInputs.cache
36
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.exe
37
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.xml
38
+D:\工巧明\BIFENG\BIFENG-REG-SYS\BIFENG-REG-SYS\obj\Debug\BIFENG-REG-SYS.pdb

BIN
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.GenerateResource.cache Vedi File


+ 0
- 0
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.vbproj.SuggestedBindingRedirects.cache Vedi File


+ 18
- 4
BIFENG-REG-SYS/obj/Debug/BIFENG-REG-SYS.xml Vedi File

@@ -8,19 +8,33 @@ BIFENG-REG-SYS
8 8
 <members>
9 9
 <member name="T:BIFENG_REG_SYS.My.Resources.Resources">
10 10
 <summary>
11
-  A strongly-typed resource class, for looking up localized strings, etc.
11
+  用於查詢當地語系化字串等的強類型資源類別。
12 12
 </summary>
13 13
 </member>
14 14
 <member name="P:BIFENG_REG_SYS.My.Resources.Resources.ResourceManager">
15 15
 <summary>
16
-  Returns the cached ResourceManager instance used by this class.
16
+  傳回這個類別使用的快取的 ResourceManager 執行個體。
17 17
 </summary>
18 18
 </member>
19 19
 <member name="P:BIFENG_REG_SYS.My.Resources.Resources.Culture">
20 20
 <summary>
21
-  Overrides the current thread's CurrentUICulture property for all
22
-  resource lookups using this strongly typed resource class.
21
+  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
22
+  使用這個強類型資源類別的資源查閱。
23 23
 </summary>
24 24
 </member>
25
+<member name="P:BIFENG_REG_SYS.My.Resources.Resources._22148217_MotionElements_beautiful_scenery_of">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
30
+<member name="M:BIFENG_REG_SYS.SQL_連線狀態模組1.ConnectTest1(System.String,System.Decimal)">
31
+ <summary>
32
+ 测试连接:True-连接成功,False-连接失败
33
+ 参数[必选]:服务器IP
34
+ 参数[可选]:等待超时时间(秒),默认为1.2秒
35
+ </summary>
36
+ <returns></returns>
37
+ <remarks></remarks>
38
+</member>
25 39
 </members>
26 40
 </doc>

BIN
BIFENG-REG-SYS/obj/Debug/BIFENG_REG_SYS.Resources.resources Vedi File


BIN
BIFENG-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache Vedi File


BIN
BIFENG-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Vedi File


BIN
BIFENG-REG-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll Vedi File


BIN
BIFENG-REG-SYS/圖片/22147396_MotionElements_mountain-range-in-the.jpg Vedi File


BIN
BIFENG-REG-SYS/圖片/22148217_MotionElements_beautiful-scenery-of.jpg Vedi File


BIN
BIFENG-REG-SYS/圖片/22739892_MotionElements_snowy-mountain-peaks-in.jpg Vedi File


+ 37
- 3
BIFENG-REG-SYS/網段.Designer.vb Vedi File

@@ -24,12 +24,14 @@ Partial Class 網段
24 24
     Private Sub InitializeComponent()
25 25
         Me.內網_bt = New System.Windows.Forms.Button()
26 26
         Me.外網_bt = New System.Windows.Forms.Button()
27
+        Me.Label1 = New System.Windows.Forms.Label()
28
+        Me.Label2 = New System.Windows.Forms.Label()
27 29
         Me.SuspendLayout()
28 30
         '
29 31
         '內網_bt
30 32
         '
31 33
         Me.內網_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
32
-        Me.內網_bt.Location = New System.Drawing.Point(93, 12)
34
+        Me.內網_bt.Location = New System.Drawing.Point(279, 187)
33 35
         Me.內網_bt.Name = "內網_bt"
34 36
         Me.內網_bt.Size = New System.Drawing.Size(75, 45)
35 37
         Me.內網_bt.TabIndex = 0
@@ -39,18 +41,48 @@ Partial Class 網段
39 41
         '外網_bt
40 42
         '
41 43
         Me.外網_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
42
-        Me.外網_bt.Location = New System.Drawing.Point(12, 12)
44
+        Me.外網_bt.Location = New System.Drawing.Point(92, 187)
43 45
         Me.外網_bt.Name = "外網_bt"
44 46
         Me.外網_bt.Size = New System.Drawing.Size(75, 45)
45 47
         Me.外網_bt.TabIndex = 1
46 48
         Me.外網_bt.Text = "外網"
47 49
         Me.外網_bt.UseVisualStyleBackColor = True
48 50
         '
51
+        'Label1
52
+        '
53
+        Me.Label1.AutoEllipsis = True
54
+        Me.Label1.BackColor = System.Drawing.Color.Transparent
55
+        Me.Label1.Font = New System.Drawing.Font("標楷體", 36.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
56
+        Me.Label1.ForeColor = System.Drawing.Color.White
57
+        Me.Label1.Location = New System.Drawing.Point(75, 9)
58
+        Me.Label1.Name = "Label1"
59
+        Me.Label1.Size = New System.Drawing.Size(291, 51)
60
+        Me.Label1.TabIndex = 3
61
+        Me.Label1.Text = "碧峰堂"
62
+        Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
63
+        '
64
+        'Label2
65
+        '
66
+        Me.Label2.AutoEllipsis = True
67
+        Me.Label2.BackColor = System.Drawing.Color.Transparent
68
+        Me.Label2.Font = New System.Drawing.Font("標楷體", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
69
+        Me.Label2.ForeColor = System.Drawing.Color.White
70
+        Me.Label2.Location = New System.Drawing.Point(12, 87)
71
+        Me.Label2.Name = "Label2"
72
+        Me.Label2.Size = New System.Drawing.Size(409, 57)
73
+        Me.Label2.TabIndex = 4
74
+        Me.Label2.Text = "文件管理系統   電腦驗證工具"
75
+        Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
76
+        '
49 77
         '網段
50 78
         '
51 79
         Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
52 80
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
53
-        Me.ClientSize = New System.Drawing.Size(183, 69)
81
+        Me.BackgroundImage = Global.BIFENG_REG_SYS.My.Resources.Resources._22148217_MotionElements_beautiful_scenery_of
82
+        Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
83
+        Me.ClientSize = New System.Drawing.Size(433, 244)
84
+        Me.Controls.Add(Me.Label2)
85
+        Me.Controls.Add(Me.Label1)
54 86
         Me.Controls.Add(Me.外網_bt)
55 87
         Me.Controls.Add(Me.內網_bt)
56 88
         Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
@@ -63,4 +95,6 @@ Partial Class 網段
63 95
 
64 96
     Friend WithEvents 內網_bt As Button
65 97
     Friend WithEvents 外網_bt As Button
98
+    Friend WithEvents Label1 As Label
99
+    Friend WithEvents Label2 As Label
66 100
 End Class

+ 17
- 4
BIFENG-REG-SYS/網段.vb Vedi File

@@ -1,10 +1,23 @@
1 1
 Public Class 網段
2 2
     Private Sub 外網_bt_Click(sender As Object, e As EventArgs) Handles 外網_bt.Click
3
-        ConString = "Data Source=180.177.181.162,5264;Initial Catalog=BIFENG-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
4
-        Me.Close()
3
+        If SQL_連線狀態模組1.ConnectTest1("180.177.181.162,5264") = True Then
4
+            '---主伺服器導通-------------------------------------------
5
+            ConString = "Data Source=180.177.181.162,5264;Initial Catalog=BIFENG-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
6
+            Me.Close()
7
+        Else
8
+            MsgBox("系統伺服器無法導通,請聯繫 [工巧明智能企業有限公司] 技術人員協助處理!!") : 不通 = True : Me.Close()
9
+        End If
5 10
     End Sub
6 11
     Private Sub 內網_bt_Click(sender As Object, e As EventArgs) Handles 內網_bt.Click
7
-        ConString = "Data Source=192.168.12.127;Initial Catalog=BIFENG-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
8
-        Me.Close()
12
+        If SQL_連線狀態模組1.ConnectTest1("192.168.12.127") = True Then
13
+            '---主伺服器導通-------------------------------------------
14
+            ConString = "Data Source=192.168.12.127;Initial Catalog=BIFENG-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
15
+            Me.Close()
16
+        Else
17
+            MsgBox("電腦不再內網網段,請重新開啟系統選擇!!") : 不通 = True : Me.Close()
18
+        End If
19
+    End Sub
20
+    Private Sub 網段_Load(sender As Object, e As EventArgs) Handles MyBase.Load
21
+        不通 = False
9 22
     End Sub
10 23
 End Class

+ 4
- 0
BIFENG-REG-SYS/通用變數.vb Vedi File

@@ -0,0 +1,4 @@
1
+Module 通用變數
2
+    Public ConString As String
3
+    Public 不通 As Boolean
4
+End Module

Loading…
Annulla
Salva