Browse Source

主程式提交

Signed-off-by: B70340 <b70340@gmail.com>
B70340 5 years ago
commit
8340c0497e
32 changed files with 2292 additions and 0 deletions
  1. BIN
      .vs/WINPROFIT-AM01-SYS/v16/.suo
  2. 0
    0
      .vs/WINPROFIT-AM01-SYS/v16/Server/sqlite3/db.lock
  3. BIN
      .vs/WINPROFIT-AM01-SYS/v16/Server/sqlite3/storage.ide
  4. 25
    0
      WINPROFIT-AM01-SYS.sln
  5. 3
    0
      WINPROFIT-AM01-SYS/Module1.vb
  6. 13
    0
      WINPROFIT-AM01-SYS/My Project/Application.Designer.vb
  7. 10
    0
      WINPROFIT-AM01-SYS/My Project/Application.myapp
  8. 34
    0
      WINPROFIT-AM01-SYS/My Project/AssemblyInfo.vb
  9. 73
    0
      WINPROFIT-AM01-SYS/My Project/Resources.Designer.vb
  10. 124
    0
      WINPROFIT-AM01-SYS/My Project/Resources.resx
  11. 73
    0
      WINPROFIT-AM01-SYS/My Project/Settings.Designer.vb
  12. 7
    0
      WINPROFIT-AM01-SYS/My Project/Settings.settings
  13. BIN
      WINPROFIT-AM01-SYS/Resources/1980X1010.jpg
  14. BIN
      WINPROFIT-AM01-SYS/SHENKANG.ico
  15. 135
    0
      WINPROFIT-AM01-SYS/WINPROFIT-AM01-SYS.vbproj
  16. BIN
      WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.exe
  17. BIN
      WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.pdb
  18. 31
    0
      WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.xml
  19. BIN
      WINPROFIT-AM01-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  20. BIN
      WINPROFIT-AM01-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  21. BIN
      WINPROFIT-AM01-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  22. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.exe
  23. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.pdb
  24. 10
    0
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbproj.FileListAbsolute.txt
  25. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbproj.GenerateResource.cache
  26. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbprojAssemblyReference.cache
  27. 31
    0
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.xml
  28. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT_AM01_SYS.Resources.resources
  29. BIN
      WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT_AM01_SYS.人事考勤打卡.resources
  30. 346
    0
      WINPROFIT-AM01-SYS/人事考勤打卡.Designer.vb
  31. 1259
    0
      WINPROFIT-AM01-SYS/人事考勤打卡.resx
  32. 118
    0
      WINPROFIT-AM01-SYS/人事考勤打卡.vb

BIN
.vs/WINPROFIT-AM01-SYS/v16/.suo View File


+ 0
- 0
.vs/WINPROFIT-AM01-SYS/v16/Server/sqlite3/db.lock View File


BIN
.vs/WINPROFIT-AM01-SYS/v16/Server/sqlite3/storage.ide View File


+ 25
- 0
WINPROFIT-AM01-SYS.sln View File

@@ -0,0 +1,25 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio Version 16
4
+VisualStudioVersion = 16.0.29230.47
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WINPROFIT-AM01-SYS", "WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS.vbproj", "{F846B111-FCCB-4774-883D-465966C918E8}"
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
+		{F846B111-FCCB-4774-883D-465966C918E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+		{F846B111-FCCB-4774-883D-465966C918E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+		{F846B111-FCCB-4774-883D-465966C918E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+		{F846B111-FCCB-4774-883D-465966C918E8}.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 = {DE9E9069-D041-4890-A5CD-80BDCDFB8BD4}
24
+	EndGlobalSection
25
+EndGlobal

+ 3
- 0
WINPROFIT-AM01-SYS/Module1.vb View File

@@ -0,0 +1,3 @@
1
+Module Module1
2
+    Public g_conn_type As String = "" : Public ConString As String : Public gUserName As String : Public 登入人部門 As String : Public 員工編號 As String = "" : Public SQL1 As String
3
+End Module

+ 13
- 0
WINPROFIT-AM01-SYS/My Project/Application.Designer.vb View File

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

+ 10
- 0
WINPROFIT-AM01-SYS/My Project/Application.myapp View File

@@ -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>false</MySubMain>
4
+  <SingleInstance>false</SingleInstance>
5
+  <ShutdownMode>0</ShutdownMode>
6
+  <EnableVisualStyles>true</EnableVisualStyles>
7
+  <AuthenticationMode>0</AuthenticationMode>
8
+  <ApplicationType>1</ApplicationType>
9
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
10
+</MyApplicationData>

+ 34
- 0
WINPROFIT-AM01-SYS/My Project/AssemblyInfo.vb View File

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

+ 73
- 0
WINPROFIT-AM01-SYS/My Project/Resources.Designer.vb View File

@@ -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("WINPROFIT_AM01_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 _1980X1010() As System.Drawing.Bitmap
67
+            Get
68
+                Dim obj As Object = ResourceManager.GetObject("1980X1010", resourceCulture)
69
+                Return CType(obj,System.Drawing.Bitmap)
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 124
- 0
WINPROFIT-AM01-SYS/My Project/Resources.resx View File

@@ -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="1980X1010" type="System.Resources.ResXFileRef, System.Windows.Forms">
122
+    <value>..\Resources\1980X1010.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123
+  </data>
124
+</root>

+ 73
- 0
WINPROFIT-AM01-SYS/My Project/Settings.Designer.vb View File

@@ -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
+
15
+Namespace My
16
+    
17
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
18
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.2.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 自動儲存功能"
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(sender As Global.System.Object, 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.WINPROFIT_AM01_SYS.My.MySettings
68
+            Get
69
+                Return Global.WINPROFIT_AM01_SYS.My.MySettings.Default
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 7
- 0
WINPROFIT-AM01-SYS/My Project/Settings.settings View File

@@ -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>

BIN
WINPROFIT-AM01-SYS/Resources/1980X1010.jpg View File


BIN
WINPROFIT-AM01-SYS/SHENKANG.ico View File


+ 135
- 0
WINPROFIT-AM01-SYS/WINPROFIT-AM01-SYS.vbproj View File

@@ -0,0 +1,135 @@
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>{F846B111-FCCB-4774-883D-465966C918E8}</ProjectGuid>
8
+    <OutputType>WinExe</OutputType>
9
+    <RootNamespace>WINPROFIT_AM01_SYS</RootNamespace>
10
+    <AssemblyName>WINPROFIT-AM01-SYS</AssemblyName>
11
+    <FileAlignment>512</FileAlignment>
12
+    <MyType>WindowsFormsWithCustomSubMain</MyType>
13
+    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
14
+    <Deterministic>true</Deterministic>
15
+  </PropertyGroup>
16
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+    <DebugSymbols>true</DebugSymbols>
18
+    <DebugType>full</DebugType>
19
+    <DefineDebug>true</DefineDebug>
20
+    <DefineTrace>true</DefineTrace>
21
+    <OutputPath>bin\Debug\</OutputPath>
22
+    <DocumentationFile>WINPROFIT-AM01-SYS.xml</DocumentationFile>
23
+    <DefineConstants>_MYFORMS=True</DefineConstants>
24
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
25
+  </PropertyGroup>
26
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
+    <DebugType>pdbonly</DebugType>
28
+    <DefineDebug>false</DefineDebug>
29
+    <DefineTrace>true</DefineTrace>
30
+    <Optimize>true</Optimize>
31
+    <OutputPath>bin\Release\</OutputPath>
32
+    <DocumentationFile>WINPROFIT-AM01-SYS.xml</DocumentationFile>
33
+    <DefineConstants>_MYFORMS=True</DefineConstants>
34
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
35
+  </PropertyGroup>
36
+  <PropertyGroup>
37
+    <OptionExplicit>On</OptionExplicit>
38
+  </PropertyGroup>
39
+  <PropertyGroup>
40
+    <OptionCompare>Binary</OptionCompare>
41
+  </PropertyGroup>
42
+  <PropertyGroup>
43
+    <OptionStrict>Off</OptionStrict>
44
+  </PropertyGroup>
45
+  <PropertyGroup>
46
+    <OptionInfer>On</OptionInfer>
47
+  </PropertyGroup>
48
+  <PropertyGroup>
49
+    <StartupObject>WINPROFIT_AM01_SYS.人事考勤打卡</StartupObject>
50
+  </PropertyGroup>
51
+  <PropertyGroup>
52
+    <ApplicationIcon>SHENKANG.ico</ApplicationIcon>
53
+  </PropertyGroup>
54
+  <ItemGroup>
55
+    <Reference Include="System" />
56
+    <Reference Include="System.Data" />
57
+    <Reference Include="System.Deployment" />
58
+    <Reference Include="System.Drawing" />
59
+    <Reference Include="System.Windows.Forms" />
60
+    <Reference Include="System.Xml" />
61
+    <Reference Include="System.Core" />
62
+    <Reference Include="System.Xml.Linq" />
63
+    <Reference Include="System.Data.DataSetExtensions" />
64
+    <Reference Include="System.Net.Http" />
65
+  </ItemGroup>
66
+  <ItemGroup>
67
+    <Import Include="Microsoft.VisualBasic" />
68
+    <Import Include="System" />
69
+    <Import Include="System.Collections" />
70
+    <Import Include="System.Collections.Generic" />
71
+    <Import Include="System.Data" />
72
+    <Import Include="System.Drawing" />
73
+    <Import Include="System.Diagnostics" />
74
+    <Import Include="System.Windows.Forms" />
75
+    <Import Include="System.Linq" />
76
+    <Import Include="System.Xml.Linq" />
77
+    <Import Include="System.Threading.Tasks" />
78
+  </ItemGroup>
79
+  <ItemGroup>
80
+    <Compile Include="Module1.vb" />
81
+    <Compile Include="My Project\Application.Designer.vb">
82
+      <AutoGen>True</AutoGen>
83
+      <DependentUpon>Application.myapp</DependentUpon>
84
+    </Compile>
85
+    <Compile Include="My Project\AssemblyInfo.vb" />
86
+    <Compile Include="My Project\Resources.Designer.vb">
87
+      <AutoGen>True</AutoGen>
88
+      <DesignTime>True</DesignTime>
89
+      <DependentUpon>Resources.resx</DependentUpon>
90
+    </Compile>
91
+    <Compile Include="My Project\Settings.Designer.vb">
92
+      <AutoGen>True</AutoGen>
93
+      <DependentUpon>Settings.settings</DependentUpon>
94
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
95
+    </Compile>
96
+    <Compile Include="人事考勤打卡.Designer.vb">
97
+      <DependentUpon>人事考勤打卡.vb</DependentUpon>
98
+    </Compile>
99
+    <Compile Include="人事考勤打卡.vb">
100
+      <SubType>Form</SubType>
101
+    </Compile>
102
+  </ItemGroup>
103
+  <ItemGroup>
104
+    <EmbeddedResource Include="My Project\Resources.resx">
105
+      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
106
+      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
107
+      <CustomToolNamespace>My.Resources</CustomToolNamespace>
108
+      <SubType>Designer</SubType>
109
+    </EmbeddedResource>
110
+    <EmbeddedResource Include="人事考勤打卡.resx">
111
+      <DependentUpon>人事考勤打卡.vb</DependentUpon>
112
+    </EmbeddedResource>
113
+  </ItemGroup>
114
+  <ItemGroup>
115
+    <None Include="My Project\Application.myapp">
116
+      <Generator>MyApplicationCodeGenerator</Generator>
117
+      <LastGenOutput>Application.Designer.vb</LastGenOutput>
118
+    </None>
119
+    <None Include="My Project\Settings.settings">
120
+      <Generator>SettingsSingleFileGenerator</Generator>
121
+      <CustomToolNamespace>My</CustomToolNamespace>
122
+      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
123
+    </None>
124
+  </ItemGroup>
125
+  <ItemGroup>
126
+    <Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
127
+  </ItemGroup>
128
+  <ItemGroup>
129
+    <None Include="Resources\1980X1010.jpg" />
130
+  </ItemGroup>
131
+  <ItemGroup>
132
+    <Content Include="SHENKANG.ico" />
133
+  </ItemGroup>
134
+  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
135
+</Project>

BIN
WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.exe View File


BIN
WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.pdb View File


+ 31
- 0
WINPROFIT-AM01-SYS/bin/Debug/WINPROFIT-AM01-SYS.xml View File

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

BIN
WINPROFIT-AM01-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.exe View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.pdb View File


+ 10
- 0
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbproj.FileListAbsolute.txt View File

@@ -0,0 +1,10 @@
1
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\bin\Debug\WINPROFIT-AM01-SYS.exe
2
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\bin\Debug\WINPROFIT-AM01-SYS.pdb
3
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\bin\Debug\WINPROFIT-AM01-SYS.xml
4
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT-AM01-SYS.vbprojAssemblyReference.cache
5
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT_AM01_SYS.Resources.resources
6
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT_AM01_SYS.人事考勤打卡.resources
7
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT-AM01-SYS.vbproj.GenerateResource.cache
8
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT-AM01-SYS.exe
9
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT-AM01-SYS.xml
10
+F:\WINPROFIT-AM01-SYS\WINPROFIT-AM01-SYS\obj\Debug\WINPROFIT-AM01-SYS.pdb

BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbproj.GenerateResource.cache View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.vbprojAssemblyReference.cache View File


+ 31
- 0
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT-AM01-SYS.xml View File

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

BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT_AM01_SYS.Resources.resources View File


BIN
WINPROFIT-AM01-SYS/obj/Debug/WINPROFIT_AM01_SYS.人事考勤打卡.resources View File


+ 346
- 0
WINPROFIT-AM01-SYS/人事考勤打卡.Designer.vb View File

@@ -0,0 +1,346 @@
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.components = New System.ComponentModel.Container()
26
+        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(人事考勤打卡))
27
+        Me.Label18 = New System.Windows.Forms.Label()
28
+        Me.Label17 = New System.Windows.Forms.Label()
29
+        Me.Label16 = New System.Windows.Forms.Label()
30
+        Me.Label15 = New System.Windows.Forms.Label()
31
+        Me.Button2 = New System.Windows.Forms.Button()
32
+        Me.Label14 = New System.Windows.Forms.Label()
33
+        Me.Label13 = New System.Windows.Forms.Label()
34
+        Me.Label12 = New System.Windows.Forms.Label()
35
+        Me.Label11 = New System.Windows.Forms.Label()
36
+        Me.Label10 = New System.Windows.Forms.Label()
37
+        Me.Label9 = New System.Windows.Forms.Label()
38
+        Me.Label8 = New System.Windows.Forms.Label()
39
+        Me.Button1 = New System.Windows.Forms.Button()
40
+        Me.Label7 = New System.Windows.Forms.Label()
41
+        Me.Label6 = New System.Windows.Forms.Label()
42
+        Me.Label5 = New System.Windows.Forms.Label()
43
+        Me.Label4 = New System.Windows.Forms.Label()
44
+        Me.Label3 = New System.Windows.Forms.Label()
45
+        Me.Label2 = New System.Windows.Forms.Label()
46
+        Me.Label1 = New System.Windows.Forms.Label()
47
+        Me.TextBox2 = New System.Windows.Forms.TextBox()
48
+        Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
49
+        Me.SuspendLayout()
50
+        '
51
+        'Label18
52
+        '
53
+        Me.Label18.AutoSize = True
54
+        Me.Label18.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
55
+        Me.Label18.ForeColor = System.Drawing.Color.Blue
56
+        Me.Label18.Location = New System.Drawing.Point(1425, 228)
57
+        Me.Label18.Name = "Label18"
58
+        Me.Label18.Size = New System.Drawing.Size(161, 81)
59
+        Me.Label18.TabIndex = 57
60
+        Me.Label18.Text = "XXX"
61
+        '
62
+        'Label17
63
+        '
64
+        Me.Label17.AutoSize = True
65
+        Me.Label17.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
66
+        Me.Label17.ForeColor = System.Drawing.Color.Blue
67
+        Me.Label17.Location = New System.Drawing.Point(1080, 228)
68
+        Me.Label17.Name = "Label17"
69
+        Me.Label17.Size = New System.Drawing.Size(339, 81)
70
+        Me.Label17.TabIndex = 56
71
+        Me.Label17.Text = "員工編號 : "
72
+        '
73
+        'Label16
74
+        '
75
+        Me.Label16.AutoSize = True
76
+        Me.Label16.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
77
+        Me.Label16.ForeColor = System.Drawing.Color.Blue
78
+        Me.Label16.Location = New System.Drawing.Point(371, 228)
79
+        Me.Label16.Name = "Label16"
80
+        Me.Label16.Size = New System.Drawing.Size(161, 81)
81
+        Me.Label16.TabIndex = 55
82
+        Me.Label16.Text = "XXX"
83
+        '
84
+        'Label15
85
+        '
86
+        Me.Label15.AutoSize = True
87
+        Me.Label15.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
88
+        Me.Label15.ForeColor = System.Drawing.Color.Blue
89
+        Me.Label15.Location = New System.Drawing.Point(26, 228)
90
+        Me.Label15.Name = "Label15"
91
+        Me.Label15.Size = New System.Drawing.Size(339, 81)
92
+        Me.Label15.TabIndex = 54
93
+        Me.Label15.Text = "打卡人員 : "
94
+        '
95
+        'Button2
96
+        '
97
+        Me.Button2.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
98
+        Me.Button2.ForeColor = System.Drawing.Color.Red
99
+        Me.Button2.Location = New System.Drawing.Point(1778, 16)
100
+        Me.Button2.Name = "Button2"
101
+        Me.Button2.Size = New System.Drawing.Size(106, 35)
102
+        Me.Button2.TabIndex = 53
103
+        Me.Button2.Text = "關閉視窗"
104
+        Me.Button2.UseVisualStyleBackColor = True
105
+        '
106
+        'Label14
107
+        '
108
+        Me.Label14.AutoSize = True
109
+        Me.Label14.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
110
+        Me.Label14.ForeColor = System.Drawing.Color.Blue
111
+        Me.Label14.Location = New System.Drawing.Point(499, 521)
112
+        Me.Label14.Name = "Label14"
113
+        Me.Label14.Size = New System.Drawing.Size(291, 81)
114
+        Me.Label14.TabIndex = 52
115
+        Me.Label14.Text = "上午上班"
116
+        '
117
+        'Label13
118
+        '
119
+        Me.Label13.AutoSize = True
120
+        Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
121
+        Me.Label13.ForeColor = System.Drawing.Color.Blue
122
+        Me.Label13.Location = New System.Drawing.Point(26, 521)
123
+        Me.Label13.Name = "Label13"
124
+        Me.Label13.Size = New System.Drawing.Size(467, 81)
125
+        Me.Label13.TabIndex = 51
126
+        Me.Label13.Text = "目前打卡時段 : "
127
+        '
128
+        'Label12
129
+        '
130
+        Me.Label12.AutoSize = True
131
+        Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
132
+        Me.Label12.ForeColor = System.Drawing.Color.Blue
133
+        Me.Label12.Location = New System.Drawing.Point(1425, 374)
134
+        Me.Label12.Name = "Label12"
135
+        Me.Label12.Size = New System.Drawing.Size(161, 81)
136
+        Me.Label12.TabIndex = 50
137
+        Me.Label12.Text = "XXX"
138
+        '
139
+        'Label11
140
+        '
141
+        Me.Label11.AutoSize = True
142
+        Me.Label11.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
143
+        Me.Label11.ForeColor = System.Drawing.Color.Blue
144
+        Me.Label11.Location = New System.Drawing.Point(1080, 374)
145
+        Me.Label11.Name = "Label11"
146
+        Me.Label11.Size = New System.Drawing.Size(339, 81)
147
+        Me.Label11.TabIndex = 49
148
+        Me.Label11.Text = "下午下班 : "
149
+        '
150
+        'Label10
151
+        '
152
+        Me.Label10.AutoSize = True
153
+        Me.Label10.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
154
+        Me.Label10.ForeColor = System.Drawing.Color.Blue
155
+        Me.Label10.Location = New System.Drawing.Point(371, 374)
156
+        Me.Label10.Name = "Label10"
157
+        Me.Label10.Size = New System.Drawing.Size(161, 81)
158
+        Me.Label10.TabIndex = 48
159
+        Me.Label10.Text = "XXX"
160
+        '
161
+        'Label9
162
+        '
163
+        Me.Label9.AutoSize = True
164
+        Me.Label9.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
165
+        Me.Label9.ForeColor = System.Drawing.Color.Blue
166
+        Me.Label9.Location = New System.Drawing.Point(26, 374)
167
+        Me.Label9.Name = "Label9"
168
+        Me.Label9.Size = New System.Drawing.Size(339, 81)
169
+        Me.Label9.TabIndex = 47
170
+        Me.Label9.Text = "上午上班 : "
171
+        '
172
+        'Label8
173
+        '
174
+        Me.Label8.AutoSize = True
175
+        Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
176
+        Me.Label8.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
177
+        Me.Label8.Location = New System.Drawing.Point(109, 86)
178
+        Me.Label8.Name = "Label8"
179
+        Me.Label8.Size = New System.Drawing.Size(423, 101)
180
+        Me.Label8.TabIndex = 46
181
+        Me.Label8.Text = "打卡時間 : "
182
+        '
183
+        'Button1
184
+        '
185
+        Me.Button1.Font = New System.Drawing.Font("微軟正黑體", 48.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
186
+        Me.Button1.Location = New System.Drawing.Point(21, 801)
187
+        Me.Button1.Name = "Button1"
188
+        Me.Button1.Size = New System.Drawing.Size(1863, 183)
189
+        Me.Button1.TabIndex = 45
190
+        Me.Button1.Text = "打卡"
191
+        Me.Button1.UseVisualStyleBackColor = True
192
+        '
193
+        'Label7
194
+        '
195
+        Me.Label7.AutoSize = True
196
+        Me.Label7.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
197
+        Me.Label7.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
198
+        Me.Label7.Location = New System.Drawing.Point(1513, 86)
199
+        Me.Label7.Name = "Label7"
200
+        Me.Label7.Size = New System.Drawing.Size(371, 101)
201
+        Me.Label7.TabIndex = 44
202
+        Me.Label7.Text = "12:00:00"
203
+        '
204
+        'Label6
205
+        '
206
+        Me.Label6.AutoSize = True
207
+        Me.Label6.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
208
+        Me.Label6.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
209
+        Me.Label6.Location = New System.Drawing.Point(1327, 86)
210
+        Me.Label6.Name = "Label6"
211
+        Me.Label6.Size = New System.Drawing.Size(123, 101)
212
+        Me.Label6.TabIndex = 43
213
+        Me.Label6.Text = "日"
214
+        '
215
+        'Label5
216
+        '
217
+        Me.Label5.AutoSize = True
218
+        Me.Label5.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
219
+        Me.Label5.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
220
+        Me.Label5.Location = New System.Drawing.Point(1182, 86)
221
+        Me.Label5.Name = "Label5"
222
+        Me.Label5.Size = New System.Drawing.Size(139, 101)
223
+        Me.Label5.TabIndex = 42
224
+        Me.Label5.Text = "01"
225
+        '
226
+        'Label4
227
+        '
228
+        Me.Label4.AutoSize = True
229
+        Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
230
+        Me.Label4.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
231
+        Me.Label4.Location = New System.Drawing.Point(1053, 86)
232
+        Me.Label4.Name = "Label4"
233
+        Me.Label4.Size = New System.Drawing.Size(123, 101)
234
+        Me.Label4.TabIndex = 41
235
+        Me.Label4.Text = "月"
236
+        '
237
+        'Label3
238
+        '
239
+        Me.Label3.AutoSize = True
240
+        Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
241
+        Me.Label3.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
242
+        Me.Label3.Location = New System.Drawing.Point(908, 86)
243
+        Me.Label3.Name = "Label3"
244
+        Me.Label3.Size = New System.Drawing.Size(139, 101)
245
+        Me.Label3.TabIndex = 40
246
+        Me.Label3.Text = "11"
247
+        '
248
+        'Label2
249
+        '
250
+        Me.Label2.AutoSize = True
251
+        Me.Label2.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
252
+        Me.Label2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
253
+        Me.Label2.Location = New System.Drawing.Point(779, 86)
254
+        Me.Label2.Name = "Label2"
255
+        Me.Label2.Size = New System.Drawing.Size(123, 101)
256
+        Me.Label2.TabIndex = 39
257
+        Me.Label2.Text = "年"
258
+        '
259
+        'Label1
260
+        '
261
+        Me.Label1.AutoSize = True
262
+        Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
263
+        Me.Label1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
264
+        Me.Label1.Location = New System.Drawing.Point(538, 86)
265
+        Me.Label1.Name = "Label1"
266
+        Me.Label1.Size = New System.Drawing.Size(235, 101)
267
+        Me.Label1.TabIndex = 38
268
+        Me.Label1.Text = "2019"
269
+        '
270
+        'TextBox2
271
+        '
272
+        Me.TextBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
273
+        Me.TextBox2.ImeMode = System.Windows.Forms.ImeMode.Disable
274
+        Me.TextBox2.Location = New System.Drawing.Point(870, 771)
275
+        Me.TextBox2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
276
+        Me.TextBox2.Name = "TextBox2"
277
+        Me.TextBox2.Size = New System.Drawing.Size(156, 23)
278
+        Me.TextBox2.TabIndex = 37
279
+        Me.TextBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
280
+        '
281
+        'Timer1
282
+        '
283
+        Me.Timer1.Interval = 5000
284
+        '
285
+        '人事考勤打卡
286
+        '
287
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
288
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
289
+        Me.BackgroundImage = Global.WINPROFIT_AM01_SYS.My.Resources.Resources._1980X1010
290
+        Me.ClientSize = New System.Drawing.Size(1904, 1001)
291
+        Me.Controls.Add(Me.Label18)
292
+        Me.Controls.Add(Me.Label17)
293
+        Me.Controls.Add(Me.Label16)
294
+        Me.Controls.Add(Me.Label15)
295
+        Me.Controls.Add(Me.Button2)
296
+        Me.Controls.Add(Me.Label14)
297
+        Me.Controls.Add(Me.Label13)
298
+        Me.Controls.Add(Me.Label12)
299
+        Me.Controls.Add(Me.Label11)
300
+        Me.Controls.Add(Me.Label10)
301
+        Me.Controls.Add(Me.Label9)
302
+        Me.Controls.Add(Me.Label8)
303
+        Me.Controls.Add(Me.Button1)
304
+        Me.Controls.Add(Me.Label7)
305
+        Me.Controls.Add(Me.Label6)
306
+        Me.Controls.Add(Me.Label5)
307
+        Me.Controls.Add(Me.Label4)
308
+        Me.Controls.Add(Me.Label3)
309
+        Me.Controls.Add(Me.Label2)
310
+        Me.Controls.Add(Me.Label1)
311
+        Me.Controls.Add(Me.TextBox2)
312
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
313
+        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
314
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
315
+        Me.Name = "人事考勤打卡"
316
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
317
+        Me.Text = "人事考勤打卡"
318
+        Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
319
+        Me.ResumeLayout(False)
320
+        Me.PerformLayout()
321
+
322
+    End Sub
323
+
324
+    Friend WithEvents Label18 As Label
325
+    Friend WithEvents Label17 As Label
326
+    Friend WithEvents Label16 As Label
327
+    Friend WithEvents Label15 As Label
328
+    Friend WithEvents Button2 As Button
329
+    Friend WithEvents Label14 As Label
330
+    Friend WithEvents Label13 As Label
331
+    Friend WithEvents Label12 As Label
332
+    Friend WithEvents Label11 As Label
333
+    Friend WithEvents Label10 As Label
334
+    Friend WithEvents Label9 As Label
335
+    Friend WithEvents Label8 As Label
336
+    Friend WithEvents Button1 As Button
337
+    Friend WithEvents Label7 As Label
338
+    Friend WithEvents Label6 As Label
339
+    Friend WithEvents Label5 As Label
340
+    Friend WithEvents Label4 As Label
341
+    Friend WithEvents Label3 As Label
342
+    Friend WithEvents Label2 As Label
343
+    Friend WithEvents Label1 As Label
344
+    Friend WithEvents TextBox2 As TextBox
345
+    Friend WithEvents Timer1 As Timer
346
+End Class

+ 1259
- 0
WINPROFIT-AM01-SYS/人事考勤打卡.resx
File diff suppressed because it is too large
View File


+ 118
- 0
WINPROFIT-AM01-SYS/人事考勤打卡.vb View File

@@ -0,0 +1,118 @@
1
+Option Strict Off
2
+Imports System.Data.SqlClient
3
+Public Class 人事考勤打卡
4
+    Private Property MYSQL As String
5
+    Dim conn As New SqlConnection
6
+    Dim da As New SqlDataAdapter
7
+    Dim cmd As New SqlCommand
8
+    Dim ds As New DataSet : Dim ds1 As New DataSet
9
+    Dim dr As SqlDataReader
10
+    Dim DTP As String : Dim DTP1 As String
11
+    Dim 有無資料判別 As String = ""
12
+    Private Sub 人事考勤打卡_Load(sender As Object, e As EventArgs) Handles MyBase.Load
13
+        ConString = "Data Source=192.168.10.5;Initial Catalog=METO-MES-SYS;Persist Security Info=True;User ID=b70340;Password=0911274990;Max pool size = 200;Connection Timeout=0"
14
+        FormBorderStyle = FormBorderStyle.SizableToolWindow : ControlBox = False
15
+        Label1.Text = Year(Today) : Label3.Text = Month(Today) : Label5.Text = Strings.Right(Format(Today(), "yyyy/MM/dd"), 2) : Label7.Text = Format(TimeOfDay(), "HH:mm:ss")
16
+        If Val(Strings.Left(Label7.Text, 2)) < 12 Then : Label14.Text = "上午上班" : Else : Label14.Text = "下午下班" : End If
17
+        Label16.Text = "" : Label18.Text = "" : Label10.Text = "" : Label12.Text = "" : Button1.Text = "打卡系統運行中"
18
+
19
+        Label1.BackColor = Color.Transparent : Label2.BackColor = Color.Transparent : Label3.BackColor = Color.Transparent : Label4.BackColor = Color.Transparent : Label5.BackColor = Color.Transparent
20
+        Label6.BackColor = Color.Transparent : Label7.BackColor = Color.Transparent : Label8.BackColor = Color.Transparent : Label9.BackColor = Color.Transparent : Label10.BackColor = Color.Transparent
21
+        Label11.BackColor = Color.Transparent : Label12.BackColor = Color.Transparent : Label13.BackColor = Color.Transparent : Label14.BackColor = Color.Transparent : Label15.BackColor = Color.Transparent
22
+        Label16.BackColor = Color.Transparent : Label17.BackColor = Color.Transparent : Label18.BackColor = Color.Transparent
23
+        Label7.Visible = False
24
+    End Sub
25
+    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
26
+        Label16.Text = "" : Label18.Text = "" : Label10.Text = "" : Label12.Text = "" : Button1.Text = "打卡系統運行中"
27
+        Timer1.Enabled = False
28
+    End Sub
29
+    Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
30
+        If TextBox2.Text <> "" Then
31
+            Label10.Text = "" : Label12.Text = ""
32
+        End If
33
+        Label1.Text = Year(Today) : Label3.Text = Month(Today) : Label5.Text = Strings.Right(Format(Today(), "yyyy/MM/dd"), 2) : Label7.Text = Format(TimeOfDay(), "HH:mm:ss")
34
+        If Val(Strings.Left(Label7.Text, 2)) < 12 Then : Label14.Text = "上午上班" : Else : Label14.Text = "下午下班" : End If
35
+
36
+        If IsNumeric(TextBox2.Text) = True Then
37
+            If TextBox2.Text.Length = 10 Then
38
+                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
39
+                MYSQL = "SELECT 姓名, 員工編號 FROM 使用者權限管理表 WHERE (ID卡號 = '" & TextBox2.Text & "')"
40
+                cmd.Connection = conn : cmd.CommandText = MYSQL : dr = cmd.ExecuteReader
41
+                If dr.Read() Then
42
+                    Label16.Text = dr("姓名").ToString
43
+                    Label18.Text = dr("員工編號").ToString
44
+                    conn.Close()
45
+                Else
46
+                    TextBox2.Text = "" : TextBox2.Focus() : conn.Close()
47
+                End If
48
+                Timer1.Enabled = False
49
+                Me.Button1.PerformClick()
50
+            End If
51
+        End If
52
+    End Sub
53
+    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
54
+        Me.Close()
55
+    End Sub
56
+    Private Sub Set_日期格式轉換()
57
+        DTP = Format(Today(), "yyyy/MM/dd")
58
+    End Sub
59
+    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
60
+        Timer1.Enabled = True
61
+        Label7.Text = Format(TimeOfDay(), "HH:mm:ss")
62
+        Dim 判斷請假 As String = "" : Button1.Text = "打卡系統運行中"
63
+        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
64
+        SQL1 = "SELECT 請假類別 FROM 人事考勤明細表 WHERE 員工編號 LIKE '" & Label18.Text & "' AND 日期 LIKE '" & Format(Today(), "yyyy/MM/dd") & "'"
65
+        cmd.Connection = conn : cmd.CommandText = SQL1 : dr = cmd.ExecuteReader
66
+        If dr.Read() Then : 判斷請假 = dr("請假類別").ToString : End If : conn.Close()
67
+
68
+        If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
69
+        SQL1 = "SELECT 上午上班, 下午下班 FROM 人事考勤明細表 WHERE 員工編號 LIKE '" & Label18.Text & "' AND 日期 LIKE '" & Format(Today(), "yyyy/MM/dd") & "'"
70
+        cmd.Connection = conn : cmd.CommandText = SQL1 : dr = cmd.ExecuteReader
71
+        If dr.Read() Then : Label10.Text = dr("上午上班").ToString : Label12.Text = dr("下午下班").ToString : End If : conn.Close()
72
+
73
+        If Label10.Text = "XXX" Or Label10.Text = "" Then : Label10.Text = "未打卡" : End If : If Label12.Text = "XXX" Or Label12.Text = "" Then : Label12.Text = "未打卡" : End If
74
+
75
+        If Strings.Right(判斷請假, 2) = "一天" Then
76
+            Button1.Text = "本日請假中,無法打卡"
77
+        Else
78
+            If Label18.Text = "" Then
79
+                Button1.Text = "該帳號持有人無需打卡"
80
+            Else
81
+                Set_日期格式轉換()
82
+                If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
83
+                SQL1 = "SELECT 員工編號 FROM 人事考勤明細表 WHERE 員工編號 LIKE '" & Label18.Text & "' AND 日期 LIKE '" & Format(Today(), "yyyy/MM/dd") & "'"
84
+                cmd.Connection = conn : cmd.CommandText = SQL1 : dr = cmd.ExecuteReader
85
+                If dr.Read() Then : 有無資料判別 = dr("員工編號").ToString : End If : conn.Close()
86
+
87
+                If 有無資料判別 = "" And Label14.Text = "上午上班" Then
88
+                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
89
+                    SQL1 = "INSERT INTO 人事考勤明細表 (員工編號, 日期, 請假類別, 上午上班, 下午下班) SELECT N'" & Label18.Text & "',N'" & DTP & "',N'','" & Format(TimeOfDay(), "HH:mm:ss") & "',''"
90
+                    Label10.Text = Format(TimeOfDay(), "HH:mm:ss")
91
+                    cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
92
+                    Button1.Text = "打卡成功"
93
+                ElseIf 有無資料判別 = "" And Label14.Text = "下午下班" Then
94
+                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
95
+                    SQL1 = "INSERT INTO 人事考勤明細表 (員工編號, 日期, 請假類別, 上午上班, 下午下班) SELECT N'" & Label18.Text & "',N'" & DTP & "',N'','','" & Format(TimeOfDay(), "HH:mm:ss") & "'"
96
+                    Label12.Text = Format(TimeOfDay(), "HH:mm:ss")
97
+                    cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
98
+                    Button1.Text = "打卡成功"
99
+                ElseIf 有無資料判別 <> "" And Label14.Text = "上午上班" Then
100
+                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
101
+                    SQL1 = "UPDATE 人事考勤明細表 SET  上午上班 = '" & Format(TimeOfDay(), "HH:mm:ss") & "' WHERE (員工編號 = '" & Label18.Text & "') AND (日期 LIKE '" & Format(Today(), "yyyy/MM/dd") & "')"
102
+                    Label10.Text = Format(TimeOfDay(), "HH:mm:ss")
103
+                    cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
104
+                    Button1.Text = "打卡成功"
105
+                ElseIf 有無資料判別 <> "" And Label14.Text = "下午下班" Then
106
+                    If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
107
+                    SQL1 = "UPDATE 人事考勤明細表 SET  下午下班 = '" & Format(TimeOfDay(), "HH:mm:ss") & "' WHERE (員工編號 = '" & Label18.Text & "') AND (日期 LIKE '" & Format(Today(), "yyyy/MM/dd") & "')"
108
+                    Label12.Text = Format(TimeOfDay(), "HH:mm:ss")
109
+                    cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
110
+                    Button1.Text = "打卡成功"
111
+                Else
112
+                    Button1.Text = "打卡失敗,請再試一下。"
113
+                End If
114
+            End If
115
+        End If
116
+        TextBox2.Text = "" : TextBox2.Focus()
117
+    End Sub
118
+End Class

Loading…
Cancel
Save