B70340 3 lat temu
commit
fdea59b3fb
38 zmienionych plików z 2389 dodań i 0 usunięć
  1. BIN
      .vs/NANJIN-REG-SYS/v16/.suo
  2. 25
    0
      NANJIN-REG-SYS.sln
  3. BIN
      NANJIN-REG-SYS/1111_A7d_icon.ico
  4. 6
    0
      NANJIN-REG-SYS/App.config
  5. 38
    0
      NANJIN-REG-SYS/My Project/Application.Designer.vb
  6. 10
    0
      NANJIN-REG-SYS/My Project/Application.myapp
  7. 35
    0
      NANJIN-REG-SYS/My Project/AssemblyInfo.vb
  8. 73
    0
      NANJIN-REG-SYS/My Project/Resources.Designer.vb
  9. 124
    0
      NANJIN-REG-SYS/My Project/Resources.resx
  10. 73
    0
      NANJIN-REG-SYS/My Project/Settings.Designer.vb
  11. 7
    0
      NANJIN-REG-SYS/My Project/Settings.settings
  12. 166
    0
      NANJIN-REG-SYS/NANJIN-REG-SYS.Designer.vb
  13. 1253
    0
      NANJIN-REG-SYS/NANJIN-REG-SYS.resx
  14. 53
    0
      NANJIN-REG-SYS/NANJIN-REG-SYS.vb
  15. 142
    0
      NANJIN-REG-SYS/NANJIN-REG-SYS.vbproj
  16. BIN
      NANJIN-REG-SYS/Resources/00110011.jpg
  17. 10
    0
      NANJIN-REG-SYS/SQL_Module.vb
  18. BIN
      NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.exe
  19. 6
    0
      NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.exe.config
  20. BIN
      NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.pdb
  21. 31
    0
      NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.xml
  22. BIN
      NANJIN-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  23. BIN
      NANJIN-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  24. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.exe
  25. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.pdb
  26. 1
    0
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.CoreCompileInputs.cache
  27. 13
    0
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.FileListAbsolute.txt
  28. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.GenerateResource.cache
  29. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbprojAssemblyReference.cache
  30. 31
    0
      NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.xml
  31. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.Form1.resources
  32. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.Resources.resources
  33. BIN
      NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.網段.resources
  34. BIN
      NANJIN-REG-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  35. 11
    0
      NANJIN-REG-SYS/全域變數.vb
  36. 141
    0
      NANJIN-REG-SYS/網段.Designer.vb
  37. 120
    0
      NANJIN-REG-SYS/網段.resx
  38. 20
    0
      NANJIN-REG-SYS/網段.vb

BIN
.vs/NANJIN-REG-SYS/v16/.suo Wyświetl plik


+ 25
- 0
NANJIN-REG-SYS.sln Wyświetl plik

@@ -0,0 +1,25 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio Version 16
4
+VisualStudioVersion = 16.0.30011.22
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "NANJIN-REG-SYS", "NANJIN-REG-SYS\NANJIN-REG-SYS.vbproj", "{7062CE66-7CF8-4997-A769-71AEEA29E92B}"
7
+EndProject
8
+Global
9
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+		Debug|Any CPU = Debug|Any CPU
11
+		Release|Any CPU = Release|Any CPU
12
+	EndGlobalSection
13
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+		{7062CE66-7CF8-4997-A769-71AEEA29E92B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+		{7062CE66-7CF8-4997-A769-71AEEA29E92B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+		{7062CE66-7CF8-4997-A769-71AEEA29E92B}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+		{7062CE66-7CF8-4997-A769-71AEEA29E92B}.Release|Any CPU.Build.0 = Release|Any CPU
18
+	EndGlobalSection
19
+	GlobalSection(SolutionProperties) = preSolution
20
+		HideSolutionNode = FALSE
21
+	EndGlobalSection
22
+	GlobalSection(ExtensibilityGlobals) = postSolution
23
+		SolutionGuid = {74044B41-8051-437A-ABE5-210F2E64F45E}
24
+	EndGlobalSection
25
+EndGlobal

BIN
NANJIN-REG-SYS/1111_A7d_icon.ico Wyświetl plik


+ 6
- 0
NANJIN-REG-SYS/App.config Wyświetl plik

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

+ 38
- 0
NANJIN-REG-SYS/My Project/Application.Designer.vb Wyświetl plik

@@ -0,0 +1,38 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     這段程式碼是由工具產生的。
4
+'     執行階段版本:4.0.30319.42000
5
+'
6
+'     對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
7
+'     變更將會遺失。
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+    
17
+    '注意:這是自動產生的檔案,請勿直接修改它。若要進行變更,
18
+    ' 或者您在這個檔案發生建置錯誤,請到專案設計工具
19
+    ' (移至專案屬性或者在 [方案總管] 中按兩下 [My Project] 節點),
20
+    ' 然後在 [應用程式] 索引標籤上進行變更。
21
+    '
22
+    Partial Friend Class MyApplication
23
+        
24
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
25
+        Public Sub New()
26
+            MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27
+            Me.IsSingleInstance = false
28
+            Me.EnableVisualStyles = true
29
+            Me.SaveMySettingsOnExit = true
30
+            Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31
+        End Sub
32
+        
33
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
34
+        Protected Overrides Sub OnCreateMainForm()
35
+            Me.MainForm = Global.NANJIN_REG_SYS.Form1
36
+        End Sub
37
+    End Class
38
+End Namespace

+ 10
- 0
NANJIN-REG-SYS/My Project/Application.myapp Wyświetl plik

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+  <MySubMain>true</MySubMain>
4
+  <MainForm>NANJIN_REG_SYS</MainForm>
5
+  <SingleInstance>false</SingleInstance>
6
+  <ShutdownMode>0</ShutdownMode>
7
+  <EnableVisualStyles>true</EnableVisualStyles>
8
+  <AuthenticationMode>0</AuthenticationMode>
9
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
10
+</MyApplicationData>

+ 35
- 0
NANJIN-REG-SYS/My Project/AssemblyInfo.vb Wyświetl plik

@@ -0,0 +1,35 @@
1
+Imports System
2
+Imports System.Reflection
3
+Imports System.Runtime.InteropServices
4
+
5
+' 組件的一般資訊是由下列的屬性集控制。
6
+' 變更這些屬性的值即可修改組件的相關
7
+' 資訊。
8
+
9
+' 檢閱組件屬性的值
10
+
11
+<Assembly: AssemblyTitle("NANJIN-REG-SYS")>
12
+<Assembly: AssemblyDescription("")>
13
+<Assembly: AssemblyCompany("")>
14
+<Assembly: AssemblyProduct("NANJIN-REG-SYS")>
15
+<Assembly: AssemblyCopyright("Copyright ©  2022")>
16
+<Assembly: AssemblyTrademark("")>
17
+
18
+<Assembly: ComVisible(False)>
19
+
20
+'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
21
+<Assembly: Guid("1f726f83-4748-49be-8edd-1ac0cf1940f6")>
22
+
23
+' 組件的版本資訊由下列四個值所組成: 
24
+'
25
+'      主要版本
26
+'      次要版本
27
+'      組建編號
28
+'      修訂編號
29
+'
30
+' 您可以指定所有的值,也可以使用 '*' 將組建和修訂編號
31
+' 設為預設,如下所示:
32
+' <Assembly: AssemblyVersion("1.0.*")>
33
+
34
+<Assembly: AssemblyVersion("1.0.0.0")>
35
+<Assembly: AssemblyFileVersion("1.0.0.0")>

+ 73
- 0
NANJIN-REG-SYS/My Project/Resources.Designer.vb Wyświetl plik

@@ -0,0 +1,73 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     這段程式碼是由工具產生的。
4
+'     執行階段版本:4.0.30319.42000
5
+'
6
+'     對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
7
+'     變更將會遺失。
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+Imports System
15
+
16
+Namespace My.Resources
17
+    
18
+    '這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
19
+    '類別透過 ResGen 或 Visual Studio 這類工具。
20
+    '若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
21
+    '(利用 /str 選項),或重建您的 VS 專案。
22
+    '''<summary>
23
+    '''  用於查詢當地語系化字串等的強類型資源類別。
24
+    '''</summary>
25
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0"),  _
26
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
27
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
28
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()>  _
29
+    Friend Module Resources
30
+        
31
+        Private resourceMan As Global.System.Resources.ResourceManager
32
+        
33
+        Private resourceCulture As Global.System.Globalization.CultureInfo
34
+        
35
+        '''<summary>
36
+        '''  傳回這個類別使用的快取的 ResourceManager 執行個體。
37
+        '''</summary>
38
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
39
+        Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
40
+            Get
41
+                If Object.ReferenceEquals(resourceMan, Nothing) Then
42
+                    Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("NANJIN_REG_SYS.Resources", GetType(Resources).Assembly)
43
+                    resourceMan = temp
44
+                End If
45
+                Return resourceMan
46
+            End Get
47
+        End Property
48
+        
49
+        '''<summary>
50
+        '''  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
51
+        '''  使用這個強類型資源類別的資源查閱。
52
+        '''</summary>
53
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
54
+        Friend Property Culture() As Global.System.Globalization.CultureInfo
55
+            Get
56
+                Return resourceCulture
57
+            End Get
58
+            Set
59
+                resourceCulture = value
60
+            End Set
61
+        End Property
62
+        
63
+        '''<summary>
64
+        '''  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
65
+        '''</summary>
66
+        Friend ReadOnly Property _00110011() As System.Drawing.Bitmap
67
+            Get
68
+                Dim obj As Object = ResourceManager.GetObject("00110011", resourceCulture)
69
+                Return CType(obj,System.Drawing.Bitmap)
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 124
- 0
NANJIN-REG-SYS/My Project/Resources.resx Wyświetl plik

@@ -0,0 +1,124 @@
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
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121
+  <data name="00110011" type="System.Resources.ResXFileRef, System.Windows.Forms">
122
+    <value>..\Resources\00110011.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123
+  </data>
124
+</root>

+ 73
- 0
NANJIN-REG-SYS/My Project/Settings.Designer.vb Wyświetl plik

@@ -0,0 +1,73 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+
17
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
19
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
20
+    Partial Friend NotInheritable Class MySettings
21
+        Inherits Global.System.Configuration.ApplicationSettingsBase
22
+
23
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
24
+
25
+#Region "My.Settings Auto-Save Functionality"
26
+#If _MyType = "WindowsForms" Then
27
+        Private Shared addedHandler As Boolean
28
+
29
+        Private Shared addedHandlerLockObject As New Object
30
+
31
+        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
+        Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33
+            If My.Application.SaveMySettingsOnExit Then
34
+                My.Settings.Save()
35
+            End If
36
+        End Sub
37
+#End If
38
+#End Region
39
+
40
+        Public Shared ReadOnly Property [Default]() As MySettings
41
+            Get
42
+
43
+#If _MyType = "WindowsForms" Then
44
+                   If Not addedHandler Then
45
+                        SyncLock addedHandlerLockObject
46
+                            If Not addedHandler Then
47
+                                AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
+                                addedHandler = True
49
+                            End If
50
+                        End SyncLock
51
+                    End If
52
+#End If
53
+                Return defaultInstance
54
+            End Get
55
+        End Property
56
+    End Class
57
+End Namespace
58
+
59
+Namespace My
60
+
61
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
62
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
64
+    Friend Module MySettingsProperty
65
+
66
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
67
+        Friend ReadOnly Property Settings() As Global.NANJIN_REG_SYS.My.MySettings
68
+            Get
69
+                Return Global.NANJIN_REG_SYS.My.MySettings.Default
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 7
- 0
NANJIN-REG-SYS/My Project/Settings.settings Wyświetl plik

@@ -0,0 +1,7 @@
1
+<?xml version='1.0' encoding='utf-8'?>
2
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
3
+  <Profiles>
4
+    <Profile Name="(Default)" />
5
+  </Profiles>
6
+  <Settings />
7
+</SettingsFile>

+ 166
- 0
NANJIN-REG-SYS/NANJIN-REG-SYS.Designer.vb Wyświetl plik

@@ -0,0 +1,166 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class Form1
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 resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
26
+        Me.電腦註冊_tb = New System.Windows.Forms.Button()
27
+        Me.Label4 = New System.Windows.Forms.Label()
28
+        Me.Label3 = New System.Windows.Forms.Label()
29
+        Me.Label2 = New System.Windows.Forms.Label()
30
+        Me.Label1 = New System.Windows.Forms.Label()
31
+        Me.磁盘型態_tb = New System.Windows.Forms.TextBox()
32
+        Me.硬碟序列_tb = New System.Windows.Forms.TextBox()
33
+        Me.硬碟ID_tb = New System.Windows.Forms.TextBox()
34
+        Me.取得本地電腦訊息_bt = New System.Windows.Forms.Button()
35
+        Me.MAC碼_tb = New System.Windows.Forms.TextBox()
36
+        Me.SuspendLayout()
37
+        '
38
+        '電腦註冊_tb
39
+        '
40
+        Me.電腦註冊_tb.ForeColor = System.Drawing.Color.Red
41
+        Me.電腦註冊_tb.Location = New System.Drawing.Point(197, 124)
42
+        Me.電腦註冊_tb.Name = "電腦註冊_tb"
43
+        Me.電腦註冊_tb.Size = New System.Drawing.Size(183, 52)
44
+        Me.電腦註冊_tb.TabIndex = 41
45
+        Me.電腦註冊_tb.Text = "電腦註冊" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10)
46
+        Me.電腦註冊_tb.UseVisualStyleBackColor = True
47
+        '
48
+        'Label4
49
+        '
50
+        Me.Label4.AutoSize = True
51
+        Me.Label4.ForeColor = System.Drawing.Color.Blue
52
+        Me.Label4.Location = New System.Drawing.Point(11, 98)
53
+        Me.Label4.Name = "Label4"
54
+        Me.Label4.Size = New System.Drawing.Size(56, 16)
55
+        Me.Label4.TabIndex = 40
56
+        Me.Label4.Text = "磁盘型態"
57
+        '
58
+        'Label3
59
+        '
60
+        Me.Label3.AutoSize = True
61
+        Me.Label3.ForeColor = System.Drawing.Color.Blue
62
+        Me.Label3.Location = New System.Drawing.Point(11, 69)
63
+        Me.Label3.Name = "Label3"
64
+        Me.Label3.Size = New System.Drawing.Size(56, 16)
65
+        Me.Label3.TabIndex = 39
66
+        Me.Label3.Text = "硬碟序列"
67
+        '
68
+        'Label2
69
+        '
70
+        Me.Label2.AutoSize = True
71
+        Me.Label2.ForeColor = System.Drawing.Color.Blue
72
+        Me.Label2.Location = New System.Drawing.Point(11, 40)
73
+        Me.Label2.Name = "Label2"
74
+        Me.Label2.Size = New System.Drawing.Size(44, 16)
75
+        Me.Label2.TabIndex = 38
76
+        Me.Label2.Text = "硬碟ID"
77
+        '
78
+        'Label1
79
+        '
80
+        Me.Label1.AutoSize = True
81
+        Me.Label1.ForeColor = System.Drawing.Color.Blue
82
+        Me.Label1.Location = New System.Drawing.Point(11, 11)
83
+        Me.Label1.Name = "Label1"
84
+        Me.Label1.Size = New System.Drawing.Size(48, 16)
85
+        Me.Label1.TabIndex = 37
86
+        Me.Label1.Text = "MAC碼"
87
+        '
88
+        '磁盘型態_tb
89
+        '
90
+        Me.磁盘型態_tb.ForeColor = System.Drawing.Color.Blue
91
+        Me.磁盘型態_tb.Location = New System.Drawing.Point(73, 95)
92
+        Me.磁盘型態_tb.Name = "磁盘型態_tb"
93
+        Me.磁盘型態_tb.Size = New System.Drawing.Size(307, 23)
94
+        Me.磁盘型態_tb.TabIndex = 36
95
+        '
96
+        '硬碟序列_tb
97
+        '
98
+        Me.硬碟序列_tb.ForeColor = System.Drawing.Color.Blue
99
+        Me.硬碟序列_tb.Location = New System.Drawing.Point(73, 66)
100
+        Me.硬碟序列_tb.Name = "硬碟序列_tb"
101
+        Me.硬碟序列_tb.Size = New System.Drawing.Size(307, 23)
102
+        Me.硬碟序列_tb.TabIndex = 35
103
+        '
104
+        '硬碟ID_tb
105
+        '
106
+        Me.硬碟ID_tb.ForeColor = System.Drawing.Color.Blue
107
+        Me.硬碟ID_tb.Location = New System.Drawing.Point(73, 37)
108
+        Me.硬碟ID_tb.Name = "硬碟ID_tb"
109
+        Me.硬碟ID_tb.Size = New System.Drawing.Size(307, 23)
110
+        Me.硬碟ID_tb.TabIndex = 34
111
+        '
112
+        '取得本地電腦訊息_bt
113
+        '
114
+        Me.取得本地電腦訊息_bt.ForeColor = System.Drawing.Color.Green
115
+        Me.取得本地電腦訊息_bt.Location = New System.Drawing.Point(9, 124)
116
+        Me.取得本地電腦訊息_bt.Name = "取得本地電腦訊息_bt"
117
+        Me.取得本地電腦訊息_bt.Size = New System.Drawing.Size(183, 52)
118
+        Me.取得本地電腦訊息_bt.TabIndex = 33
119
+        Me.取得本地電腦訊息_bt.Text = "取得本地電腦訊息"
120
+        Me.取得本地電腦訊息_bt.UseVisualStyleBackColor = True
121
+        '
122
+        'MAC碼_tb
123
+        '
124
+        Me.MAC碼_tb.ForeColor = System.Drawing.Color.Blue
125
+        Me.MAC碼_tb.Location = New System.Drawing.Point(73, 8)
126
+        Me.MAC碼_tb.Name = "MAC碼_tb"
127
+        Me.MAC碼_tb.Size = New System.Drawing.Size(307, 23)
128
+        Me.MAC碼_tb.TabIndex = 32
129
+        '
130
+        'Form1
131
+        '
132
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
133
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
134
+        Me.ClientSize = New System.Drawing.Size(389, 184)
135
+        Me.Controls.Add(Me.電腦註冊_tb)
136
+        Me.Controls.Add(Me.Label4)
137
+        Me.Controls.Add(Me.Label3)
138
+        Me.Controls.Add(Me.Label2)
139
+        Me.Controls.Add(Me.Label1)
140
+        Me.Controls.Add(Me.磁盘型態_tb)
141
+        Me.Controls.Add(Me.硬碟序列_tb)
142
+        Me.Controls.Add(Me.硬碟ID_tb)
143
+        Me.Controls.Add(Me.取得本地電腦訊息_bt)
144
+        Me.Controls.Add(Me.MAC碼_tb)
145
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
146
+        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
147
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
148
+        Me.Name = "Form1"
149
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
150
+        Me.Text = "NANJIN-REG-SYS"
151
+        Me.ResumeLayout(False)
152
+        Me.PerformLayout()
153
+
154
+    End Sub
155
+
156
+    Friend WithEvents 電腦註冊_tb As Button
157
+    Friend WithEvents Label4 As Label
158
+    Friend WithEvents Label3 As Label
159
+    Friend WithEvents Label2 As Label
160
+    Friend WithEvents Label1 As Label
161
+    Friend WithEvents 磁盘型態_tb As TextBox
162
+    Friend WithEvents 硬碟序列_tb As TextBox
163
+    Friend WithEvents 硬碟ID_tb As TextBox
164
+    Friend WithEvents 取得本地電腦訊息_bt As Button
165
+    Friend WithEvents MAC碼_tb As TextBox
166
+End Class

+ 1253
- 0
NANJIN-REG-SYS/NANJIN-REG-SYS.resx
Plik diff jest za duży
Wyświetl plik


+ 53
- 0
NANJIN-REG-SYS/NANJIN-REG-SYS.vb Wyświetl plik

@@ -0,0 +1,53 @@
1
+Option Strict Off
2
+Public Class Form1
3
+    ReadOnly ds As New DataSet
4
+    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
5
+        網段.ShowDialog()
6
+        If 登入判斷 = True Then
7
+            SQL_連線字串_正式()
8
+        ElseIf 登入判斷 = False Then
9
+            SQL_連線字串_測試()
10
+        End If
11
+    End Sub
12
+    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles 取得本地電腦訊息_bt.Click
13
+        '-----MAC碼----------------------------------------------------------------------------------------------
14
+        Dim Wmi As New System.Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
15
+        For Each WmiObj As Management.ManagementObject In Wmi.Get
16
+            If CBool(WmiObj("IPEnabled")) Then
17
+                MAC碼_tb.Text = WmiObj("MACAddress")
18
+            End If
19
+        Next
20
+        '-----硬碟資料----------------------------------------------------------------------------------------------
21
+        Dim cmicWmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
22
+        Dim diskId As String '数字ID
23
+        Dim diskSerialNumber As String '这个我们暂且称其为序列号码
24
+        Dim diskModel As String '序列号
25
+        For Each cmicWmiObj As Management.ManagementObject In cmicWmi.Get
26
+            diskId = cmicWmiObj("size")
27
+            diskSerialNumber = cmicWmiObj("serialnumber")
28
+            diskModel = cmicWmiObj("Model")
29
+            硬碟ID_tb.Text = diskId
30
+            硬碟序列_tb.Text = diskSerialNumber
31
+            磁盘型態_tb.Text = diskModel
32
+            Exit For
33
+        Next
34
+    End Sub
35
+    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles 電腦註冊_tb.Click
36
+        conn.Close()
37
+        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
38
+        SQL1 = "SELECT MAC碼 FROM 系統綁定電腦資訊 
39
+                WHERE  硬碟ID LIKE N'" & 硬碟ID_tb.Text & "' AND 硬碟序列 LIKE N'" & 硬碟序列_tb.Text & "' AND 磁盘型態 LIKE N'" & 磁盘型態_tb.Text & "'"
40
+        cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
41
+        If dr.Read() Then
42
+            conn.Close()
43
+            MsgBox("該電腦以綁定過")
44
+        Else
45
+            conn.Close()
46
+            If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
47
+            SQL1 = "INSERT INTO 系統綁定電腦資訊 (MAC碼, 硬碟ID, 硬碟序列, 磁盘型態) " &
48
+                  "VALUES (N'" & MAC碼_tb.Text & "',N'" & 硬碟ID_tb.Text & "',N'" & 硬碟序列_tb.Text & "',N'" & 磁盘型態_tb.Text & "')"
49
+            cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
50
+            MsgBox("新增完成")
51
+        End If
52
+    End Sub
53
+End Class

+ 142
- 0
NANJIN-REG-SYS/NANJIN-REG-SYS.vbproj Wyświetl plik

@@ -0,0 +1,142 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+  <PropertyGroup>
5
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+    <ProjectGuid>{7062CE66-7CF8-4997-A769-71AEEA29E92B}</ProjectGuid>
8
+    <OutputType>WinExe</OutputType>
9
+    <StartupObject>NANJIN_REG_SYS.My.MyApplication</StartupObject>
10
+    <RootNamespace>NANJIN_REG_SYS</RootNamespace>
11
+    <AssemblyName>NANJIN-REG-SYS</AssemblyName>
12
+    <FileAlignment>512</FileAlignment>
13
+    <MyType>WindowsForms</MyType>
14
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15
+    <Deterministic>true</Deterministic>
16
+  </PropertyGroup>
17
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18
+    <PlatformTarget>AnyCPU</PlatformTarget>
19
+    <DebugSymbols>true</DebugSymbols>
20
+    <DebugType>full</DebugType>
21
+    <DefineDebug>true</DefineDebug>
22
+    <DefineTrace>true</DefineTrace>
23
+    <OutputPath>bin\Debug\</OutputPath>
24
+    <DocumentationFile>NANJIN-REG-SYS.xml</DocumentationFile>
25
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
26
+  </PropertyGroup>
27
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28
+    <PlatformTarget>AnyCPU</PlatformTarget>
29
+    <DebugType>pdbonly</DebugType>
30
+    <DefineDebug>false</DefineDebug>
31
+    <DefineTrace>true</DefineTrace>
32
+    <Optimize>true</Optimize>
33
+    <OutputPath>bin\Release\</OutputPath>
34
+    <DocumentationFile>NANJIN-REG-SYS.xml</DocumentationFile>
35
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
36
+  </PropertyGroup>
37
+  <PropertyGroup>
38
+    <OptionExplicit>On</OptionExplicit>
39
+  </PropertyGroup>
40
+  <PropertyGroup>
41
+    <OptionCompare>Binary</OptionCompare>
42
+  </PropertyGroup>
43
+  <PropertyGroup>
44
+    <OptionStrict>Off</OptionStrict>
45
+  </PropertyGroup>
46
+  <PropertyGroup>
47
+    <OptionInfer>On</OptionInfer>
48
+  </PropertyGroup>
49
+  <PropertyGroup>
50
+    <ApplicationIcon>1111_A7d_icon.ico</ApplicationIcon>
51
+  </PropertyGroup>
52
+  <ItemGroup>
53
+    <Reference Include="System" />
54
+    <Reference Include="System.Data" />
55
+    <Reference Include="System.Deployment" />
56
+    <Reference Include="System.Drawing" />
57
+    <Reference Include="System.Management" />
58
+    <Reference Include="System.Windows.Forms" />
59
+    <Reference Include="System.Xml" />
60
+    <Reference Include="System.Core" />
61
+    <Reference Include="System.Xml.Linq" />
62
+    <Reference Include="System.Data.DataSetExtensions" />
63
+    <Reference Include="System.Net.Http" />
64
+  </ItemGroup>
65
+  <ItemGroup>
66
+    <Import Include="Microsoft.VisualBasic" />
67
+    <Import Include="System" />
68
+    <Import Include="System.Collections" />
69
+    <Import Include="System.Collections.Generic" />
70
+    <Import Include="System.Data" />
71
+    <Import Include="System.Drawing" />
72
+    <Import Include="System.Diagnostics" />
73
+    <Import Include="System.Windows.Forms" />
74
+    <Import Include="System.Linq" />
75
+    <Import Include="System.Xml.Linq" />
76
+    <Import Include="System.Threading.Tasks" />
77
+  </ItemGroup>
78
+  <ItemGroup>
79
+    <Compile Include="NANJIN-REG-SYS.vb">
80
+      <SubType>Form</SubType>
81
+    </Compile>
82
+    <Compile Include="NANJIN-REG-SYS.Designer.vb">
83
+      <DependentUpon>NANJIN-REG-SYS.vb</DependentUpon>
84
+      <SubType>Form</SubType>
85
+    </Compile>
86
+    <Compile Include="My Project\AssemblyInfo.vb" />
87
+    <Compile Include="My Project\Application.Designer.vb">
88
+      <AutoGen>True</AutoGen>
89
+      <DependentUpon>Application.myapp</DependentUpon>
90
+      <DesignTime>True</DesignTime>
91
+    </Compile>
92
+    <Compile Include="My Project\Resources.Designer.vb">
93
+      <AutoGen>True</AutoGen>
94
+      <DesignTime>True</DesignTime>
95
+      <DependentUpon>Resources.resx</DependentUpon>
96
+    </Compile>
97
+    <Compile Include="My Project\Settings.Designer.vb">
98
+      <AutoGen>True</AutoGen>
99
+      <DependentUpon>Settings.settings</DependentUpon>
100
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
101
+    </Compile>
102
+    <Compile Include="SQL_Module.vb" />
103
+    <Compile Include="全域變數.vb" />
104
+    <Compile Include="網段.Designer.vb">
105
+      <DependentUpon>網段.vb</DependentUpon>
106
+    </Compile>
107
+    <Compile Include="網段.vb">
108
+      <SubType>Form</SubType>
109
+    </Compile>
110
+  </ItemGroup>
111
+  <ItemGroup>
112
+    <EmbeddedResource Include="My Project\Resources.resx">
113
+      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
114
+      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
115
+      <CustomToolNamespace>My.Resources</CustomToolNamespace>
116
+      <SubType>Designer</SubType>
117
+    </EmbeddedResource>
118
+    <EmbeddedResource Include="NANJIN-REG-SYS.resx">
119
+      <DependentUpon>NANJIN-REG-SYS.vb</DependentUpon>
120
+    </EmbeddedResource>
121
+    <EmbeddedResource Include="網段.resx">
122
+      <DependentUpon>網段.vb</DependentUpon>
123
+    </EmbeddedResource>
124
+  </ItemGroup>
125
+  <ItemGroup>
126
+    <None Include="My Project\Application.myapp">
127
+      <Generator>MyApplicationCodeGenerator</Generator>
128
+      <LastGenOutput>Application.Designer.vb</LastGenOutput>
129
+    </None>
130
+    <None Include="My Project\Settings.settings">
131
+      <Generator>SettingsSingleFileGenerator</Generator>
132
+      <CustomToolNamespace>My</CustomToolNamespace>
133
+      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
134
+    </None>
135
+    <None Include="App.config" />
136
+  </ItemGroup>
137
+  <ItemGroup>
138
+    <Content Include="1111_A7d_icon.ico" />
139
+    <None Include="Resources\00110011.jpg" />
140
+  </ItemGroup>
141
+  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
142
+</Project>

BIN
NANJIN-REG-SYS/Resources/00110011.jpg Wyświetl plik


+ 10
- 0
NANJIN-REG-SYS/SQL_Module.vb Wyświetl plik

@@ -0,0 +1,10 @@
1
+Imports System.Data.SqlClient
2
+Module SQL_Module
3
+    Friend Sub SQL_連線字串_測試()
4
+        ConString = "Data Source=106.1.48.106,4567;Initial Catalog=NANJIN-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
5
+    End Sub
6
+    Friend Sub SQL_連線字串_正式()
7
+        ConString = "Data Source=192.168.1.59,4567;Initial Catalog=NANJIN-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
8
+    End Sub
9
+End Module
10
+

BIN
NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.exe Wyświetl plik


+ 6
- 0
NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.exe.config Wyświetl plik

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

BIN
NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.pdb Wyświetl plik


+ 31
- 0
NANJIN-REG-SYS/bin/Debug/NANJIN-REG-SYS.xml Wyświetl plik

@@ -0,0 +1,31 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+NANJIN-REG-SYS
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:NANJIN_REG_SYS.My.Resources.Resources">
10
+<summary>
11
+  用於查詢當地語系化字串等的強類型資源類別。
12
+</summary>
13
+</member>
14
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  傳回這個類別使用的快取的 ResourceManager 執行個體。
17
+</summary>
18
+</member>
19
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources.Culture">
20
+<summary>
21
+  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
22
+  使用這個強類型資源類別的資源查閱。
23
+</summary>
24
+</member>
25
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources._00110011">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
30
+</members>
31
+</doc>

BIN
NANJIN-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.exe Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.pdb Wyświetl plik


+ 1
- 0
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.CoreCompileInputs.cache Wyświetl plik

@@ -0,0 +1 @@
1
+720aa4b229c8711dd396615a529a5a271fa188b7

+ 13
- 0
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.FileListAbsolute.txt Wyświetl plik

@@ -0,0 +1,13 @@
1
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.vbprojAssemblyReference.cache
2
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN_REG_SYS.Resources.resources
3
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN_REG_SYS.Form1.resources
4
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN_REG_SYS.網段.resources
5
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.vbproj.GenerateResource.cache
6
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.vbproj.CoreCompileInputs.cache
7
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\bin\Debug\NANJIN-REG-SYS.exe.config
8
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\bin\Debug\NANJIN-REG-SYS.exe
9
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\bin\Debug\NANJIN-REG-SYS.pdb
10
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\bin\Debug\NANJIN-REG-SYS.xml
11
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.exe
12
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.xml
13
+D:\工巧明\NANJIN\NANJIN-REG-SYS\NANJIN-REG-SYS\obj\Debug\NANJIN-REG-SYS.pdb

BIN
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbproj.GenerateResource.cache Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.vbprojAssemblyReference.cache Wyświetl plik


+ 31
- 0
NANJIN-REG-SYS/obj/Debug/NANJIN-REG-SYS.xml Wyświetl plik

@@ -0,0 +1,31 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+NANJIN-REG-SYS
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:NANJIN_REG_SYS.My.Resources.Resources">
10
+<summary>
11
+  用於查詢當地語系化字串等的強類型資源類別。
12
+</summary>
13
+</member>
14
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  傳回這個類別使用的快取的 ResourceManager 執行個體。
17
+</summary>
18
+</member>
19
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources.Culture">
20
+<summary>
21
+  覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
22
+  使用這個強類型資源類別的資源查閱。
23
+</summary>
24
+</member>
25
+<member name="P:NANJIN_REG_SYS.My.Resources.Resources._00110011">
26
+<summary>
27
+  查詢類型 System.Drawing.Bitmap 的當地語系化資源。
28
+</summary>
29
+</member>
30
+</members>
31
+</doc>

BIN
NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.Form1.resources Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.Resources.resources Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/NANJIN_REG_SYS.網段.resources Wyświetl plik


BIN
NANJIN-REG-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll Wyświetl plik


+ 11
- 0
NANJIN-REG-SYS/全域變數.vb Wyświetl plik

@@ -0,0 +1,11 @@
1
+Option Strict Off
2
+Imports System.Data.SqlClient
3
+Module 全域變數
4
+    Public conn As New SqlConnection
5
+    Public da As New SqlDataAdapter
6
+    Public cmd As New SqlCommand
7
+    Public dr As SqlDataReader
8
+    Public ConString As String
9
+    Public SQL1 As String
10
+    Public 登入判斷 As Boolean
11
+End Module

+ 141
- 0
NANJIN-REG-SYS/網段.Designer.vb Wyświetl plik

@@ -0,0 +1,141 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class 網段
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Me.Label8 = New System.Windows.Forms.Label()
26
+        Me.Label6 = New System.Windows.Forms.Label()
27
+        Me.Label5 = New System.Windows.Forms.Label()
28
+        Me.Copyright = New System.Windows.Forms.Label()
29
+        Me.No_bt = New System.Windows.Forms.Button()
30
+        Me.Yes_bt = New System.Windows.Forms.Button()
31
+        Me.Label1 = New System.Windows.Forms.Label()
32
+        Me.SuspendLayout()
33
+        '
34
+        'Label8
35
+        '
36
+        Me.Label8.Anchor = System.Windows.Forms.AnchorStyles.None
37
+        Me.Label8.BackColor = System.Drawing.Color.Transparent
38
+        Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
39
+        Me.Label8.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
40
+        Me.Label8.Location = New System.Drawing.Point(211, 34)
41
+        Me.Label8.Name = "Label8"
42
+        Me.Label8.Size = New System.Drawing.Size(253, 36)
43
+        Me.Label8.TabIndex = 682
44
+        Me.Label8.Text = "請確認您登入系統位置是否在伺服器所在網域"
45
+        '
46
+        'Label6
47
+        '
48
+        Me.Label6.Anchor = System.Windows.Forms.AnchorStyles.None
49
+        Me.Label6.BackColor = System.Drawing.Color.Transparent
50
+        Me.Label6.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
51
+        Me.Label6.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
52
+        Me.Label6.Location = New System.Drawing.Point(325, 16)
53
+        Me.Label6.Name = "Label6"
54
+        Me.Label6.Size = New System.Drawing.Size(108, 20)
55
+        Me.Label6.TabIndex = 681
56
+        Me.Label6.Text = "192.168.0.1"
57
+        '
58
+        'Label5
59
+        '
60
+        Me.Label5.Anchor = System.Windows.Forms.AnchorStyles.None
61
+        Me.Label5.BackColor = System.Drawing.Color.Transparent
62
+        Me.Label5.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
63
+        Me.Label5.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
64
+        Me.Label5.Location = New System.Drawing.Point(211, 16)
65
+        Me.Label5.Name = "Label5"
66
+        Me.Label5.Size = New System.Drawing.Size(108, 20)
67
+        Me.Label5.TabIndex = 680
68
+        Me.Label5.Text = "您目前的網段是 : "
69
+        '
70
+        'Copyright
71
+        '
72
+        Me.Copyright.Anchor = System.Windows.Forms.AnchorStyles.None
73
+        Me.Copyright.BackColor = System.Drawing.Color.Transparent
74
+        Me.Copyright.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
75
+        Me.Copyright.Location = New System.Drawing.Point(223, 216)
76
+        Me.Copyright.Name = "Copyright"
77
+        Me.Copyright.Size = New System.Drawing.Size(241, 20)
78
+        Me.Copyright.TabIndex = 679
79
+        Me.Copyright.Text = "著作權"
80
+        '
81
+        'No_bt
82
+        '
83
+        Me.No_bt.Location = New System.Drawing.Point(389, 243)
84
+        Me.No_bt.Name = "No_bt"
85
+        Me.No_bt.Size = New System.Drawing.Size(75, 34)
86
+        Me.No_bt.TabIndex = 678
87
+        Me.No_bt.Text = "No"
88
+        Me.No_bt.UseVisualStyleBackColor = True
89
+        '
90
+        'Yes_bt
91
+        '
92
+        Me.Yes_bt.Location = New System.Drawing.Point(247, 243)
93
+        Me.Yes_bt.Name = "Yes_bt"
94
+        Me.Yes_bt.Size = New System.Drawing.Size(75, 34)
95
+        Me.Yes_bt.TabIndex = 677
96
+        Me.Yes_bt.Text = "Yes"
97
+        Me.Yes_bt.UseVisualStyleBackColor = True
98
+        '
99
+        'Label1
100
+        '
101
+        Me.Label1.Anchor = System.Windows.Forms.AnchorStyles.None
102
+        Me.Label1.BackColor = System.Drawing.Color.Transparent
103
+        Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 21.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
104
+        Me.Label1.Location = New System.Drawing.Point(254, 99)
105
+        Me.Label1.Name = "Label1"
106
+        Me.Label1.Size = New System.Drawing.Size(238, 84)
107
+        Me.Label1.TabIndex = 683
108
+        Me.Label1.Text = "YD-ERP-SYS" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "電腦認證註冊"
109
+        '
110
+        '網段
111
+        '
112
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
113
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
114
+        Me.BackgroundImage = Global.NANJIN_REG_SYS.My.Resources.Resources._00110011
115
+        Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
116
+        Me.ClientSize = New System.Drawing.Size(504, 293)
117
+        Me.Controls.Add(Me.Label8)
118
+        Me.Controls.Add(Me.Label6)
119
+        Me.Controls.Add(Me.Label5)
120
+        Me.Controls.Add(Me.Copyright)
121
+        Me.Controls.Add(Me.No_bt)
122
+        Me.Controls.Add(Me.Yes_bt)
123
+        Me.Controls.Add(Me.Label1)
124
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
125
+        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
126
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
127
+        Me.Name = "網段"
128
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
129
+        Me.Text = "網段"
130
+        Me.ResumeLayout(False)
131
+
132
+    End Sub
133
+
134
+    Friend WithEvents Label8 As Label
135
+    Friend WithEvents Label6 As Label
136
+    Friend WithEvents Label5 As Label
137
+    Friend WithEvents Copyright As Label
138
+    Friend WithEvents No_bt As Button
139
+    Friend WithEvents Yes_bt As Button
140
+    Friend WithEvents Label1 As Label
141
+End Class

+ 120
- 0
NANJIN-REG-SYS/網段.resx Wyświetl plik

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

+ 20
- 0
NANJIN-REG-SYS/網段.vb Wyświetl plik

@@ -0,0 +1,20 @@
1
+Imports System.Net
2
+Public Class 網段
3
+    Dim HostName As String
4
+    Dim IPAdress As IPAddress
5
+    Dim MYIP As String
6
+    <Obsolete>
7
+    Private Sub 網段_Load(sender As Object, e As EventArgs) Handles MyBase.Load
8
+        Copyright.Text = "著作權 - 工巧明智能設備有限公司所有"
9
+        HostName = Dns.GetHostName '获得本机的机器名
10
+        IPAdress = Dns.GetHostByName(HostName).AddressList.GetValue(0) '获得本机的IP
11
+        MYIP = IPAdress.ToString
12
+        Label6.Text = MYIP
13
+    End Sub
14
+    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Yes_bt.Click
15
+        登入判斷 = True : Me.Close()
16
+    End Sub
17
+    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles No_bt.Click
18
+        登入判斷 = False : Me.Close()
19
+    End Sub
20
+End Class

Ładowanie…
Anuluj
Zapisz