deps done
This commit is contained in:
parent
bfa0f26b96
commit
71feb51795
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -3,13 +3,41 @@
|
|||
"WorkspaceRootPath": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_departments.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_departments.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_departments.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_departments.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_modify_department.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_modify_department.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_modify_department.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_modify_department.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|c:\\users\\warlock\\source\\repos\\payrollsystem\\payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_modify_employee.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
|
|
@ -18,18 +46,10 @@
|
|||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_dashboard.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_dashboard.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\helpers.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\helpers.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_employees.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\payrolldbdataset.xsd||{07AC752B-D2B0-4DCD-AD9C-237BF561A30A}",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\payrolldbdataset.xsd||{07AC752B-D2B0-4DCD-AD9C-237BF561A30A}"
|
||||
|
|
@ -38,10 +58,6 @@
|
|||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_dashboard.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_dashboard.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form_main.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|C:\\Users\\warlock\\source\\repos\\PayrollSystem\\payrollsystem\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{F11EDBAB-9CD5-45D6-A949-595713DC63E2}|PayrollSystem\\PayrollSystem.csproj|solutionrelative:payrollsystem\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
|
|
@ -62,11 +78,48 @@
|
|||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 1,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "form_departments.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_departments.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_departments.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_departments.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_departments.cs",
|
||||
"ViewState": "AQIAADMAAAAAAAAAAIAwwEMAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-26T15:20:30.283Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "form_departments.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_departments.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_departments.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_departments.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_departments.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-26T15:20:28.873Z",
|
||||
"EditorCaption": " [Design]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "form_modify_department.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_department.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_modify_department.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_department.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_modify_department.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-26T15:18:26.346Z",
|
||||
"EditorCaption": " [Design]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"Title": "Helpers.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\Helpers.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\Helpers.cs",
|
||||
|
|
@ -74,24 +127,25 @@
|
|||
"RelativeToolTip": "PayrollSystem\\Helpers.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAApAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T17:37:30.193Z"
|
||||
"WhenOpened": "2024-08-25T17:37:30.193Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"DocumentIndex": 8,
|
||||
"Title": "form_modify_employee.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_employee.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_modify_employee.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_employee.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_modify_employee.cs",
|
||||
"ViewState": "AQIAABEAAAAAAAAAAAAxwCUAAABGAAAA",
|
||||
"ViewState": "AQIAAFsAAAAAAAAAAAAgwC8AAAAVAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T17:31:29.274Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"DocumentIndex": 9,
|
||||
"Title": "form_modify_employee.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_employee.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_modify_employee.cs",
|
||||
|
|
@ -102,30 +156,70 @@
|
|||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"DocumentIndex": 2,
|
||||
"Title": "form_employees.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_employees.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_employees.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_employees.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_employees.cs",
|
||||
"ViewState": "AQIAAEIAAAAAAAAAAAAmwEcAAABKAAAA",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAB4AAAA3AAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T17:03:13.406Z"
|
||||
"WhenOpened": "2024-08-25T17:03:13.406Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"DocumentIndex": 3,
|
||||
"Title": "form_employees.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_employees.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_employees.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_employees.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_employees.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T17:03:11.483Z"
|
||||
"WhenOpened": "2024-08-25T17:03:11.483Z",
|
||||
"EditorCaption": " [Design]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"DocumentIndex": 4,
|
||||
"Title": "form_main.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_main.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_main.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T05:32:49.675Z",
|
||||
"EditorCaption": " [Design]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "form_main.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_main.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_main.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAqwA8AAAAUAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T06:04:04.236Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "form_modify_department.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_department.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_modify_department.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_modify_department.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_modify_department.cs",
|
||||
"ViewState": "AQIAABIAAAAAAAAAAAAowDIAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-26T15:18:27.544Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "form_dashboard.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_dashboard.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_dashboard.cs",
|
||||
|
|
@ -133,22 +227,24 @@
|
|||
"RelativeToolTip": "PayrollSystem\\form_dashboard.cs",
|
||||
"ViewState": "AQIAAAYAAAAAAAAAAAAIwBsAAABKAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T11:01:49.474Z"
|
||||
"WhenOpened": "2024-08-25T11:01:49.474Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"DocumentIndex": 12,
|
||||
"Title": "payrolldbDataSet.xsd",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\payrolldbDataSet.xsd",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\payrolldbDataSet.xsd",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\payrolldbDataSet.xsd",
|
||||
"RelativeToolTip": "PayrollSystem\\payrolldbDataSet.xsd",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003579|",
|
||||
"WhenOpened": "2024-08-25T10:05:24.481Z"
|
||||
"WhenOpened": "2024-08-25T10:05:24.481Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"DocumentIndex": 15,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\Program.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\Program.cs",
|
||||
|
|
@ -156,11 +252,12 @@
|
|||
"RelativeToolTip": "PayrollSystem\\Program.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAgAAAAEAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T10:05:19.141Z"
|
||||
"WhenOpened": "2024-08-25T10:05:19.141Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"DocumentIndex": 16,
|
||||
"Title": "Form1.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\Form1.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\Form1.cs",
|
||||
|
|
@ -168,52 +265,32 @@
|
|||
"RelativeToolTip": "PayrollSystem\\Form1.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAABwAAABTAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T06:05:16.764Z"
|
||||
"WhenOpened": "2024-08-25T06:05:16.764Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "form_main.cs",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_main.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeToolTip": "PayrollSystem\\form_main.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAABgAAAAkAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T06:04:04.236Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"DocumentIndex": 13,
|
||||
"Title": "form_dashboard.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_dashboard.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_dashboard.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_dashboard.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_dashboard.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T05:38:00.048Z"
|
||||
"WhenOpened": "2024-08-25T05:38:00.048Z",
|
||||
"EditorCaption": " [Design]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "form_main.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\form_main.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\form_main.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\form_main.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T05:32:49.675Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"DocumentIndex": 14,
|
||||
"Title": "Form1.cs [Design]",
|
||||
"DocumentMoniker": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\Form1.cs",
|
||||
"RelativeDocumentMoniker": "PayrollSystem\\Form1.cs",
|
||||
"ToolTip": "C:\\Users\\warlock\\source\\repos\\PayrollSystem\\PayrollSystem\\Form1.cs [Design]",
|
||||
"RelativeToolTip": "PayrollSystem\\Form1.cs [Design]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-08-25T05:21:39.964Z"
|
||||
"WhenOpened": "2024-08-25T05:21:39.964Z",
|
||||
"EditorCaption": " [Design]"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
49
PayrollSystem/form_departments.Designer.cs
generated
49
PayrollSystem/form_departments.Designer.cs
generated
|
|
@ -29,14 +29,14 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.list_departments = new System.Windows.Forms.ListView();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.btnEdit = new System.Windows.Forms.Button();
|
||||
this.btnRemove = new System.Windows.Forms.Button();
|
||||
this.btnShowEmployees = new System.Windows.Forms.Button();
|
||||
this.col_ID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.col_Name = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.col_basic = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.col_employees = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.btnEdit = new System.Windows.Forms.Button();
|
||||
this.btnRemove = new System.Windows.Forms.Button();
|
||||
this.btnShowEmployees = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// list_departments
|
||||
|
|
@ -55,6 +55,26 @@
|
|||
this.list_departments.TabIndex = 0;
|
||||
this.list_departments.UseCompatibleStateImageBehavior = false;
|
||||
this.list_departments.View = System.Windows.Forms.View.Details;
|
||||
this.list_departments.SelectedIndexChanged += new System.EventHandler(this.list_departments_SelectedIndexChanged);
|
||||
//
|
||||
// col_ID
|
||||
//
|
||||
this.col_ID.Text = "ID";
|
||||
//
|
||||
// col_Name
|
||||
//
|
||||
this.col_Name.Text = "Name";
|
||||
this.col_Name.Width = 284;
|
||||
//
|
||||
// col_basic
|
||||
//
|
||||
this.col_basic.Text = "Basic";
|
||||
this.col_basic.Width = 194;
|
||||
//
|
||||
// col_employees
|
||||
//
|
||||
this.col_employees.Text = "Employee Count";
|
||||
this.col_employees.Width = 135;
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
|
|
@ -75,6 +95,7 @@
|
|||
this.btnEdit.TabIndex = 2;
|
||||
this.btnEdit.Text = "Edit selected Department";
|
||||
this.btnEdit.UseVisualStyleBackColor = true;
|
||||
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
|
||||
//
|
||||
// btnRemove
|
||||
//
|
||||
|
|
@ -85,6 +106,7 @@
|
|||
this.btnRemove.TabIndex = 3;
|
||||
this.btnRemove.Text = "Remove selected Department";
|
||||
this.btnRemove.UseVisualStyleBackColor = true;
|
||||
this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
|
||||
//
|
||||
// btnShowEmployees
|
||||
//
|
||||
|
|
@ -96,25 +118,6 @@
|
|||
this.btnShowEmployees.UseVisualStyleBackColor = true;
|
||||
this.btnShowEmployees.Click += new System.EventHandler(this.btnShowEmployees_Click);
|
||||
//
|
||||
// col_ID
|
||||
//
|
||||
this.col_ID.Text = "ID";
|
||||
//
|
||||
// col_Name
|
||||
//
|
||||
this.col_Name.Text = "Name";
|
||||
this.col_Name.Width = 284;
|
||||
//
|
||||
// col_basic
|
||||
//
|
||||
this.col_basic.Text = "Basic";
|
||||
this.col_basic.Width = 194;
|
||||
//
|
||||
// col_employees
|
||||
//
|
||||
this.col_employees.Text = "Employee Count";
|
||||
this.col_employees.Width = 135;
|
||||
//
|
||||
// form_departments
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
|
|
|||
|
|
@ -13,14 +13,18 @@ namespace PayrollSystem
|
|||
{
|
||||
public partial class form_departments : Form
|
||||
{
|
||||
public form_departments()
|
||||
form_main mainForm;
|
||||
|
||||
public form_departments(form_main main)
|
||||
{
|
||||
InitializeComponent();
|
||||
mainForm= main;
|
||||
}
|
||||
|
||||
private void form_departments_Load(object sender, EventArgs e)
|
||||
{
|
||||
Search();
|
||||
RefreshUI();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -72,7 +76,85 @@ namespace PayrollSystem
|
|||
|
||||
private void btnShowEmployees_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshUI();
|
||||
if (!isSelectedItem) { return; }
|
||||
|
||||
mainForm.ShowEmployeesOnDepartment(list_departments.SelectedItems[0].SubItems[1].Text);
|
||||
}
|
||||
|
||||
private void btnEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshUI();
|
||||
if (!isSelectedItem) { return; }
|
||||
|
||||
form_modify_department editForm = new form_modify_department(int.Parse(list_departments.SelectedItems[0].Text));
|
||||
editForm.ShowDialog();
|
||||
|
||||
Search();
|
||||
}
|
||||
bool isSelectedItem => list_departments.SelectedItems.Count > 0;
|
||||
void RefreshUI()
|
||||
{
|
||||
btnEdit.Enabled = btnRemove.Enabled = btnShowEmployees.Enabled = isSelectedItem;
|
||||
}
|
||||
|
||||
private void list_departments_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
RefreshUI();
|
||||
}
|
||||
|
||||
private void btnRemove_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshUI();
|
||||
if (!isSelectedItem) { return; }
|
||||
|
||||
string selectedID = list_departments.SelectedItems[0].Text;
|
||||
|
||||
DialogResult confirmation = MessageBox.Show("Are you sure to remove this department? This will cause all the employees in this department to be removed!", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
if (confirmation == DialogResult.Yes)
|
||||
{
|
||||
List<string> affectedEmployees = new List<string>();
|
||||
using (SqlConnection con = new SqlConnection(Helpers.conString))
|
||||
{
|
||||
con.Open();
|
||||
using (SqlCommand cmd = new SqlCommand("SELECT Name FROM Employees WHERE Department_ID=@id", con)) {
|
||||
cmd.Parameters.AddWithValue("@id", selectedID);
|
||||
using (SqlDataReader reader = cmd.ExecuteReader())
|
||||
{
|
||||
while (reader.Read()) {
|
||||
affectedEmployees.Add(reader["Name"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string msg = "These are the list of employees that will be removed with this operation\n";
|
||||
foreach (string employee in affectedEmployees)
|
||||
{
|
||||
msg += $"\n{employee}";
|
||||
}
|
||||
|
||||
DialogResult finalConfirmation = MessageBox.Show(msg, "Are you still sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
if (finalConfirmation == DialogResult.Yes)
|
||||
{
|
||||
using (SqlCommand cmd = new SqlCommand("DELETE FROM Employees WHERE Department_ID=@id", con))
|
||||
{
|
||||
cmd.Parameters.AddWithValue("@id", selectedID);
|
||||
|
||||
int result = cmd.ExecuteNonQuery();
|
||||
}
|
||||
|
||||
using (SqlCommand cmd = new SqlCommand("DELETE FROM Departments WHERE ID=@id", con))
|
||||
{
|
||||
cmd.Parameters.AddWithValue("@id", selectedID);
|
||||
|
||||
int result = cmd.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
con.Close();
|
||||
}
|
||||
|
||||
Search();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace PayrollSystem
|
|||
{
|
||||
public partial class form_employees : Form
|
||||
{
|
||||
public form_employees()
|
||||
public form_employees(string departmentName = "")
|
||||
{
|
||||
InitializeComponent();
|
||||
combo_date_type.SelectedIndex = 0;
|
||||
|
|
@ -35,8 +35,22 @@ namespace PayrollSystem
|
|||
connection.Close();
|
||||
}
|
||||
|
||||
if (departmentName != "")
|
||||
{
|
||||
for (int i = 0; i < combo_department.Items.Count; i++)
|
||||
{
|
||||
if (departmentName == combo_department.Items[i].ToString())
|
||||
{
|
||||
combo_department.SelectedIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
combo_department.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
|
@ -75,7 +89,7 @@ namespace PayrollSystem
|
|||
//Prepare the WHERE Clauses
|
||||
List<string> clauses = new List<string>();
|
||||
if(txtID.Text.Length > 0) { clauses.Add($"Employees.ID={txtID.Text}"); }
|
||||
if (txtName.Text.Length > 0) { clauses.Add($"Employees.Name='%{txtName.Text}%'"); }
|
||||
if (txtName.Text.Length > 0) { clauses.Add($"Employees.Name LIKE '%{txtName.Text}%'"); }
|
||||
|
||||
if(combo_date_type.SelectedItem.ToString() != "Anytime") {
|
||||
string condition = "=";
|
||||
|
|
|
|||
|
|
@ -12,6 +12,17 @@ namespace PayrollSystem
|
|||
{
|
||||
public partial class form_main : Form
|
||||
{
|
||||
|
||||
public void ShowEmployeesOnDepartment(string id)
|
||||
{
|
||||
form_employees employees = new form_employees(id);
|
||||
employees.TopLevel = false;
|
||||
employees.AutoScroll = true;
|
||||
panel1.Controls.Clear();
|
||||
panel1.Controls.Add(employees);
|
||||
employees.Show();
|
||||
}
|
||||
|
||||
public form_main()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
|
@ -44,7 +55,7 @@ namespace PayrollSystem
|
|||
|
||||
private void btn_departments_Click(object sender, EventArgs e)
|
||||
{
|
||||
form_departments deparments = new form_departments();
|
||||
form_departments deparments = new form_departments(this);
|
||||
deparments.TopLevel = false;
|
||||
deparments.AutoScroll = true;
|
||||
panel1.Controls.Clear();
|
||||
|
|
|
|||
|
|
@ -25,6 +25,28 @@ namespace PayrollSystem
|
|||
{
|
||||
Text = isEditing ? "Edit Department" : "Add new Department";
|
||||
btnAdd.Text = isEditing ? "Edit" : "Add";
|
||||
|
||||
if (isEditing)
|
||||
{
|
||||
using(SqlConnection con = new SqlConnection(Helpers.conString))
|
||||
{
|
||||
con.Open();
|
||||
using (SqlCommand cmd= new SqlCommand("SELECT * FROM Departments WHERE ID=@id", con))
|
||||
{
|
||||
cmd.Parameters.AddWithValue("@id", editingId);
|
||||
|
||||
using(SqlDataReader reader = cmd.ExecuteReader())
|
||||
{
|
||||
while (reader.Read())
|
||||
{
|
||||
txtName.Text = reader["Name"].ToString();
|
||||
txtBasic.Text = reader["Basic"].ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
con.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void btnAdd_Click(object sender, EventArgs e)
|
||||
|
|
@ -46,30 +68,26 @@ namespace PayrollSystem
|
|||
}
|
||||
|
||||
|
||||
if (isEditing)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Insert();
|
||||
}
|
||||
}
|
||||
|
||||
void Insert()
|
||||
{
|
||||
using (SqlConnection con = new SqlConnection(Helpers.conString))
|
||||
{
|
||||
con.Open();
|
||||
using (SqlCommand cmd = new SqlCommand("INSERT INTO Departments (Name, Basic) VALUES(@name,@basic)", con))
|
||||
string query = "INSERT INTO Departments (Name, Basic) VALUES(@name,@basic)";
|
||||
if (isEditing)
|
||||
{
|
||||
query = "UPDATE Departments SET Name=@name, Basic=@basic WHERE ID=@id";
|
||||
}
|
||||
using (SqlCommand cmd = new SqlCommand(query, con))
|
||||
{
|
||||
if (isEditing) {
|
||||
cmd.Parameters.AddWithValue("@id", editingId);
|
||||
}
|
||||
cmd.Parameters.AddWithValue("@name", txtName.Text);
|
||||
cmd.Parameters.AddWithValue("@basic", txtBasic.Text);
|
||||
|
||||
int result = cmd.ExecuteNonQuery();
|
||||
if (result < 0)
|
||||
{
|
||||
MessageBox.Show("There was an error adding new department", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show($"There was an error {(isEditing ? "editing" : "adding new")} Department", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
con.Close();
|
||||
|
|
@ -77,6 +95,7 @@ namespace PayrollSystem
|
|||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
private void btn_cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user