ZWeite Schritt

This commit is contained in:
Aminekan
2025-09-18 11:24:42 +02:00
parent 14854fcbfb
commit 2c6831ce53
82 changed files with 36810 additions and 11 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
# SQL Server database files
*.mdf
*.ldf

Binary file not shown.

View File

@@ -2,9 +2,37 @@
"Version": 1, "Version": 1,
"WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\", "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\",
"Documents": [ "Documents": [
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\employer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\employer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{ {
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", "AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" "RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
} }
], ],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
@@ -14,7 +42,7 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": 1, "SelectedChildIndex": 5,
"Children": [ "Children": [
{ {
"$type": "Bookmark", "$type": "Bookmark",
@@ -22,15 +50,103 @@
}, },
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 0, "DocumentIndex": 4,
"Title": "Employer.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Employer.cs",
"RelativeDocumentMoniker": "Car-wash\\Employer.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Employer.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Employer.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-18T08:12:59.46Z",
"EditorCaption": " [Entwurf]"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "Form1.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeDocumentMoniker": "Car-wash\\Form1.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeToolTip": "Car-wash\\Form1.cs",
"ViewState": "AgIAACsAAAAAAAAAAAAYwD0AAAApAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-18T08:00:34.038Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "Form1.cs [Entwurf]", "Title": "Form1.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs", "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeDocumentMoniker": "Car-wash\\Form1.cs", "RelativeDocumentMoniker": "Car-wash\\Form1.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs [Entwurf]", "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Form1.cs [Entwurf]", "RelativeToolTip": "Car-wash\\Form1.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-08T08:35:07.992Z", "WhenOpened": "2025-09-18T08:00:30.472Z",
"EditorCaption": " [Entwurf]" "EditorCaption": " [Entwurf]"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "setting.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeDocumentMoniker": "Car-wash\\setting.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeToolTip": "Car-wash\\setting.cs",
"ViewState": "AgIAAOAAAAAAAAAAAAAAwPMAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:54:02.833Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "setting.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeDocumentMoniker": "Car-wash\\setting.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\setting.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:53:54.546Z",
"EditorCaption": " [Entwurf]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Managecostofgoodsold.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeDocumentMoniker": "Car-wash\\Managecostofgoodsold.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeToolTip": "Car-wash\\Managecostofgoodsold.cs",
"ViewState": "AgIAAHkAAAAAAAAAAAAYwDMAAAA6AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:21:03.286Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Managecostofgoodsold.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeDocumentMoniker": "Car-wash\\Managecostofgoodsold.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Managecostofgoodsold.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T20:22:14.145Z",
"EditorCaption": " [Entwurf]"
},
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Program.cs",
"RelativeDocumentMoniker": "Car-wash\\Program.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Program.cs",
"RelativeToolTip": "Car-wash\\Program.cs",
"ViewState": "AgIAAAUAAAAAAAAAAAAswBUAAAAlAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T09:56:04.978Z",
"EditorCaption": ""
} }
] ]
} }

View File

@@ -3,8 +3,36 @@
"WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\", "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\",
"Documents": [ "Documents": [
{ {
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", "AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|c:\\users\\bib\\desktop\\projekt-car_wash\\car-wash\\car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\managecostofgoodsold.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\setting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\employer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\employer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" "RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\car-wash\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{BD5CAE3A-3D96-4378-B5A4-1E10242F88B2}|Car-wash\\Car-wash.csproj|solutionrelative:car-wash\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
} }
], ],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
@@ -14,7 +42,7 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": 1, "SelectedChildIndex": 5,
"Children": [ "Children": [
{ {
"$type": "Bookmark", "$type": "Bookmark",
@@ -22,15 +50,97 @@
}, },
{ {
"$type": "Document", "$type": "Document",
"DocumentIndex": 0, "DocumentIndex": 4,
"Title": "Employer.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Employer.cs",
"RelativeDocumentMoniker": "Car-wash\\Employer.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Employer.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Employer.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-18T08:12:59.46Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "Form1.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeDocumentMoniker": "Car-wash\\Form1.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeToolTip": "Car-wash\\Form1.cs",
"ViewState": "AgIAACsAAAAAAAAAAAAYwD0AAAApAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-18T08:00:34.038Z"
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "Form1.cs [Entwurf]", "Title": "Form1.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs", "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs",
"RelativeDocumentMoniker": "Car-wash\\Form1.cs", "RelativeDocumentMoniker": "Car-wash\\Form1.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs [Entwurf]", "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Form1.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Form1.cs [Entwurf]", "RelativeToolTip": "Car-wash\\Form1.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-08T08:35:07.992Z", "WhenOpened": "2025-09-18T08:00:30.472Z"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "setting.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeDocumentMoniker": "Car-wash\\setting.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeToolTip": "Car-wash\\setting.cs",
"ViewState": "AgIAAOAAAAAAAAAAAAAAwPMAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:54:02.833Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "setting.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs",
"RelativeDocumentMoniker": "Car-wash\\setting.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\setting.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\setting.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:53:54.546Z",
"EditorCaption": " [Entwurf]" "EditorCaption": " [Entwurf]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Managecostofgoodsold.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeDocumentMoniker": "Car-wash\\Managecostofgoodsold.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeToolTip": "Car-wash\\Managecostofgoodsold.cs",
"ViewState": "AgIAAHkAAAAAAAAAAAAYwDMAAAA6AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T23:21:03.286Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Managecostofgoodsold.cs [Entwurf]",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs",
"RelativeDocumentMoniker": "Car-wash\\Managecostofgoodsold.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Managecostofgoodsold.cs [Entwurf]",
"RelativeToolTip": "Car-wash\\Managecostofgoodsold.cs [Entwurf]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T20:22:14.145Z"
},
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Program.cs",
"RelativeDocumentMoniker": "Car-wash\\Program.cs",
"ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\Program.cs",
"RelativeToolTip": "Car-wash\\Program.cs",
"ViewState": "AgIAAAUAAAAAAAAAAAAswBUAAAAlAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-09-16T09:56:04.978Z"
} }
] ]
} }

View File

@@ -0,0 +1 @@
{"RootPath":"C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash","ProjectFileName":"Car-wash.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"dbconnect.cs"},{"SourceFile":"Employer.cs"},{"SourceFile":"Employer.Designer.cs"},{"SourceFile":"EmployerModule.cs"},{"SourceFile":"EmployerModule.Designer.cs"},{"SourceFile":"Form1.cs"},{"SourceFile":"Form1.Designer.cs"},{"SourceFile":"ManageVehicleType.cs"},{"SourceFile":"ManageVehicleType.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"setting.cs"},{"SourceFile":"setting.Designer.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\bib\\Desktop\\Projekt-CAR_WASH\\Car-wash\\Car-wash\\bin\\Debug\\Car-wash.exe","OutputItemRelativePath":"Car-wash.exe"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}

View File

@@ -46,17 +46,60 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="dbconnect.cs" />
<Compile Include="Employer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Employer.Designer.cs">
<DependentUpon>Employer.cs</DependentUpon>
</Compile>
<Compile Include="EmployerModule.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EmployerModule.Designer.cs">
<DependentUpon>EmployerModule.cs</DependentUpon>
</Compile>
<Compile Include="Form1.cs"> <Compile Include="Form1.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Form1.Designer.cs"> <Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon> <DependentUpon>Form1.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Managecostofgoodsold.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Managecostofgoodsold.Designer.cs">
<DependentUpon>Managecostofgoodsold.cs</DependentUpon>
</Compile>
<Compile Include="ManageVehicleType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ManageVehicleType.Designer.cs">
<DependentUpon>ManageVehicleType.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="setting.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="setting.Designer.cs">
<DependentUpon>setting.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Employer.resx">
<DependentUpon>Employer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EmployerModule.resx">
<DependentUpon>EmployerModule.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form1.resx"> <EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon> <DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Managecostofgoodsold.resx">
<DependentUpon>Managecostofgoodsold.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ManageVehicleType.resx">
<DependentUpon>ManageVehicleType.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -66,6 +109,9 @@
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
</Compile> </Compile>
<EmbeddedResource Include="setting.resx">
<DependentUpon>setting.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -79,5 +125,8 @@
<ItemGroup> <ItemGroup>
<None Include="App.config" /> <None Include="App.config" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="images\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory />
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>de-DE</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>

279
Car-wash/Car-wash/Employer.Designer.cs generated Normal file
View File

@@ -0,0 +1,279 @@
namespace Car_wash
{
partial class Employer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Employer));
this.dgvEmployer = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Edit = new System.Windows.Forms.DataGridViewImageColumn();
this.Delete = new System.Windows.Forms.DataGridViewImageColumn();
this.panel1 = new System.Windows.Forms.Panel();
this.btnadd = new System.Windows.Forms.Button();
this.text_search = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dgvEmployer)).BeginInit();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// dgvEmployer
//
this.dgvEmployer.AllowUserToAddRows = false;
this.dgvEmployer.AllowUserToDeleteRows = false;
this.dgvEmployer.AllowUserToResizeColumns = false;
this.dgvEmployer.AllowUserToResizeRows = false;
this.dgvEmployer.BackgroundColor = System.Drawing.Color.White;
this.dgvEmployer.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.DodgerBlue;
dataGridViewCellStyle1.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvEmployer.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvEmployer.ColumnHeadersHeight = 28;
this.dgvEmployer.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgvEmployer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3,
this.Column4,
this.Column5,
this.Column10,
this.Column6,
this.Column8,
this.Column9,
this.Column7,
this.Edit,
this.Delete});
this.dgvEmployer.Dock = System.Windows.Forms.DockStyle.Top;
this.dgvEmployer.EnableHeadersVisualStyles = false;
this.dgvEmployer.Location = new System.Drawing.Point(0, 0);
this.dgvEmployer.MultiSelect = false;
this.dgvEmployer.Name = "dgvEmployer";
this.dgvEmployer.RowHeadersVisible = false;
this.dgvEmployer.RowHeadersWidth = 51;
this.dgvEmployer.RowTemplate.Height = 24;
this.dgvEmployer.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvEmployer.Size = new System.Drawing.Size(1151, 414);
this.dgvEmployer.TabIndex = 0;
this.dgvEmployer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvEmployer_cellContentClick);
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column1.HeaderText = "No";
this.Column1.MinimumWidth = 6;
this.Column1.Name = "Column1";
this.Column1.Width = 65;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column2.HeaderText = "Id";
this.Column2.MinimumWidth = 6;
this.Column2.Name = "Column2";
this.Column2.Width = 56;
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column3.HeaderText = "Name";
this.Column3.MinimumWidth = 6;
this.Column3.Name = "Column3";
this.Column3.Width = 98;
//
// Column4
//
this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column4.HeaderText = "Phone";
this.Column4.MinimumWidth = 6;
this.Column4.Name = "Column4";
this.Column4.Width = 99;
//
// Column5
//
this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column5.FillWeight = 120F;
this.Column5.HeaderText = "Address";
this.Column5.MinimumWidth = 6;
this.Column5.Name = "Column5";
//
// Column10
//
this.Column10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column10.HeaderText = "Date of Birth";
this.Column10.MinimumWidth = 6;
this.Column10.Name = "Column10";
this.Column10.Width = 156;
//
// Column6
//
this.Column6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column6.HeaderText = "Role";
this.Column6.MinimumWidth = 6;
this.Column6.Name = "Column6";
this.Column6.Width = 80;
//
// Column8
//
this.Column8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.Column8.DefaultCellStyle = dataGridViewCellStyle2;
this.Column8.HeaderText = "Salary";
this.Column8.MinimumWidth = 6;
this.Column8.Name = "Column8";
this.Column8.Width = 97;
//
// Column9
//
this.Column9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column9.HeaderText = "Password";
this.Column9.MinimumWidth = 6;
this.Column9.Name = "Column9";
this.Column9.Width = 130;
//
// Column7
//
this.Column7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column7.HeaderText = "Gender";
this.Column7.MinimumWidth = 6;
this.Column7.Name = "Column7";
this.Column7.Width = 112;
//
// Edit
//
this.Edit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Edit.HeaderText = "";
this.Edit.Image = ((System.Drawing.Image)(resources.GetObject("Edit.Image")));
this.Edit.MinimumWidth = 6;
this.Edit.Name = "Edit";
this.Edit.Width = 6;
//
// Delete
//
this.Delete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Delete.HeaderText = "";
this.Delete.Image = ((System.Drawing.Image)(resources.GetObject("Delete.Image")));
this.Delete.MinimumWidth = 6;
this.Delete.Name = "Delete";
this.Delete.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Delete.Width = 6;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.DodgerBlue;
this.panel1.Controls.Add(this.btnadd);
this.panel1.Controls.Add(this.text_search);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 414);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1151, 93);
this.panel1.TabIndex = 1;
//
// btnadd
//
this.btnadd.FlatAppearance.BorderSize = 0;
this.btnadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnadd.Image = ((System.Drawing.Image)(resources.GetObject("btnadd.Image")));
this.btnadd.Location = new System.Drawing.Point(899, 16);
this.btnadd.Name = "btnadd";
this.btnadd.Size = new System.Drawing.Size(82, 54);
this.btnadd.TabIndex = 2;
this.btnadd.UseVisualStyleBackColor = true;
this.btnadd.Click += new System.EventHandler(this.btnadd_Click);
//
// text_search
//
this.text_search.Location = new System.Drawing.Point(86, 29);
this.text_search.Name = "text_search";
this.text_search.Size = new System.Drawing.Size(173, 32);
this.text_search.TabIndex = 1;
this.text_search.TextChanged += new System.EventHandler(this.text_search_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(3, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Search";
//
// Employer
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1151, 507);
this.Controls.Add(this.panel1);
this.Controls.Add(this.dgvEmployer);
this.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Employer";
this.Text = "Employer";
((System.ComponentModel.ISupportInitialize)(this.dgvEmployer)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button btnadd;
private System.Windows.Forms.TextBox text_search;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridView dgvEmployer;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
private System.Windows.Forms.DataGridViewImageColumn Edit;
private System.Windows.Forms.DataGridViewImageColumn Delete;
}
}

View File

@@ -0,0 +1,157 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
public partial class Employer : Form
{
SqlCommand cm = new SqlCommand();
dbconnect dbcon = new dbconnect();
SqlDataReader dr;
string title = "Car Wash Management System";
public Employer()
{
InitializeComponent();
loadEmployer();
}
private void dgvEmployer_cellContentClick(object sender, DataGridViewCellEventArgs e)
{
string colName = dgvEmployer.Columns[e.ColumnIndex].Name;
if (colName == "Edit")
{
EmployerModule employerModule = new EmployerModule(this);
employerModule.lblEmpId.Text = dgvEmployer.Rows[e.RowIndex].Cells[1].Value.ToString();
employerModule.txtName.Text = dgvEmployer.Rows[e.RowIndex].Cells[2].Value.ToString();
employerModule.txtphone.Text = dgvEmployer.Rows[e.RowIndex].Cells[3].Value.ToString();
employerModule.txtadress.Text = dgvEmployer.Rows[e.RowIndex].Cells[4].Value.ToString();
employerModule.datdob.Value = DateTime.Parse(dgvEmployer.Rows[e.RowIndex].Cells[5].Value.ToString());
employerModule.combobox_Role.Text = dgvEmployer.Rows[e.RowIndex].Cells[6].Value.ToString();
employerModule.txtSalary.Text = dgvEmployer.Rows[e.RowIndex].Cells[7].Value.ToString();
employerModule.txt_password.Text = dgvEmployer.Rows[e.RowIndex].Cells[8].Value.ToString();
employerModule.rdMale.Checked = dgvEmployer.Rows[e.RowIndex].Cells[9].Value.ToString() == "Male" ? true : false;
employerModule.btnsave.Enabled = false;
employerModule.btnupdate.Enabled = true;
employerModule.ShowDialog();
}
else if (colName == "Delete")
{
try
{
if (MessageBox.Show("Are you sure you want to delete this Employer?", "Delete Employer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("DELETE FROM tbEmployer WHERE id LIKE '" + dgvEmployer.Rows[e.RowIndex].Cells[1].Value.ToString() + "'", dbcon.getConnection());
dbcon.openConnection();
cm.ExecuteNonQuery();
dbcon.closeConnection();
MessageBox.Show("Employer has been successfully deleted.", title, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
}
#region method
// list data to the datagridview
public void LoadEmployer()
{
try
{
int i = 0;
dgvEmployer.Rows.Clear();
cm = new SqlCommand("SELECT * FROM tbEmployer WHERE CONCAT(name,phone,address,role) LIKE '%" + text_search.Text + "%'", dbcon.getConnection());
dbcon.openConnection();
dr = cm.ExecuteReader();
while (dr.Read())
{
i++;
dgvEmployer.Rows.Add(i, dr[0].ToString(), dr[1].ToString(), dr[2].ToString(), dr[3].ToString(), DateTime.Parse(dr[4].ToString()).ToShortDateString(), dr[5].ToString(), dr[6].ToString(), dr[7].ToString(), dr[8].ToString());
}
dbcon.closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
#endregion method
private void btnadd_Click(object sender, EventArgs e)
{
EmployerModule employerModule = new EmployerModule(this);
employerModule.btnupdate.Enabled = false; // this is for save not Update
employerModule.ShowDialog();
}
private void text_search_TextChanged(object sender, EventArgs e)
{
}
public void loadEmployer()
{
try
{
int i = 0;
dgvEmployer.Rows.Clear();
dgvEmployer.ReadOnly = false;
cm = new SqlCommand("SELECT * FROM tbEmployer WHERE CONCAT(name,phone,address,role) LIKE '%" + text_search.Text + "%'", dbcon.getConnection());
dbcon.openConnection();
dr = cm.ExecuteReader();
while (dr.Read())
{
i++;
string dateString = dr[4].ToString();
string formattedDate = "";
if (DateTime.TryParse(dateString, out DateTime dt))
{
formattedDate = dt.ToShortDateString();
}
dgvEmployer.Rows.Add(
i,
dr[0].ToString(),
dr[1].ToString(),
dr[2].ToString(),
dr[3].ToString(),
formattedDate, // sicheres Datum
dr[5].ToString(),
dr[6].ToString(),
dr[7].ToString(),
dr[8].ToString()
);
}
dbcon.closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
}
}

View File

@@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Edit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="Edit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAPdJREFUOE9j
YBi24GFFheDT4uK9T0tKytHlSAab9+8X2bDvyJlLfRMvPS0u/v+0uLgMXQ3R4P9MBv7nS2xWb9h75POG
fUe+XO3uPfe0uHg3ujqiwP+ZDCL/ZzBc+D+D4f+rRSY3N+w/8mnDnsP73+bm8qGrJQj+z2cQ+D+D4STI
MBh+udRizardZ/jR1RIEyC5Dwvv/L2LgRldLEOAwbB91DZvJwIWuliAYNYwMwxYxcP+fhZrO/s9gOA7K
GehqiQL/D7AF/t/Nduz/TIbfFLkMBtb0qW76s5/jP9TQ3RQZBgJ5GTa31vaqrfp/gN3z/yoGTnT54QMA
vHPkT62Q73IAAAAASUVORK5CYII=
</value>
</data>
<metadata name="Delete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="Delete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAdVJREFUOE/V
ks1LG0EYh70IgmdB8H/wItmoiFmyayvYBlciGNEKiuix9FaRolZ7UHtoECkIfiDiSYk0ETSiFkFQkfYQ
rVQSRUOrqGtwZ7dpd5NfyQSCrqvtgBd/8DAwHw/vzDtZWY8ifPUn3iEFLhxSQGai2h8wu2gckr/WIQXA
jj9kdtF4fdE231f1jJXpddlauBgxaoMRHcyE9R2zi+a6sC94QakfP0JJ//dbiN4wm3B29xdl8ouKkU3l
FqNbhE3YvyxTmqeitBozro+HbMKRDYXydvEcL2dObvBhLcb+hmPbhDKwIqPDf5ahe+Ecy1tRHL7uxKVU
iZhLwGnLC5WINtHs+2dTGieO8Xn7B2T3MxCBM2Mogt19p9CqKXPf4oi86QIR7dBXlxAf6IHW5EZiNwTV
40pJT8HzOZZCq6ak5DGXSCuK93QAhoGkpkIPzoNUFNN5RSzmLYV3cVVZRg9qLR4kCQGSSfweGsxcXRW5
Kibhz/ZWeuXE3g6MtRXE3/cB+h9ojTUpoU54W35GOL+PvOCBzt9HuPfdKyJyCbXuOcjT0nRVDVJ6dHLe
jIwlimCvIwJ3ea3DCdXJDaOoKNu897+DJ4W5itNWnvp/mrOkwLz+4PkL1Vfnxr1mt44AAAAASUVORK5C
YII=
</value>
</data>
<data name="btnadd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAmJJREFUSEu1
lsurTWEYxo+BS0pk5BrJJf+AkokJc0ykGBqa4DiIMpHIJZGilAmljsyOW3E4ysDMSCYmtsHJWev9vWcv
2yWfXr6t1Xu+vdde+2xPPZP1vN/zrHd967sMDfWAPM93AjeBCeCNiNwTkf0hhLm+diCYmpparKqPgNCB
74FNftysYN0AzxNhnp+azeYKP75vqOrBREgn3vHj+wbwOhHQia1Go7HQe9RGCGE+8D0R0JGqut371EZR
FKu8cRVFZJ/3qY0sy9Z64yqKyAHvUxshhAXeuIp5nu/wPn0BaHjzbhSR9d6jLwC3vXkXfvDj+4aq7k4E
JKmql/34vhFCmAO88yEJfm02m8v9+FlBVfckgny3V/y4gQC45MNKnPhvJ9T09PSyRGC7273lWmAjcAJ4
ICJPgVHguIhsKNf1BBFZCvzyocb22g0hzBOR68BPXxP5Q1Wv9vx17LiLb+2NjLltrWamqk8SeopjXcNF
ZIuq3q04KI5YrS0lr8XLw7EOL3TB59kVZ12XDsss7HZiu5V9Rq+r6sn4Uqe9Zs1Yzp/AuGZH7FxNFM6g
/TjR+JTXjBXBf/UYesuL3dheu8DD0vMx+7yRW6O+rf3M3d1GbT4PeeMqisiZaPyy9HykNGszYF2Wasdt
cC/bog++Zmaz6rju8ReDn0XjYa8Zq+YYOGzi44RQxdbk5OSiLMvWAN+8XhHcKopitYmbgc+JgioOx64v
JrRx4BzwKqGd/zfxWZYtAc4CHxOFnfilKIqVA9m5bGnFTWQXcFREbgD344/zQlXftmnz3P67B75X10Wd
0+k33UWdE5L/lAgAAAAASUVORK5CYII=
</value>
</data>
</root>

View File

@@ -0,0 +1,368 @@
namespace Car_wash
{
partial class EmployerModule
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployerModule));
this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.datdob = new System.Windows.Forms.DateTimePicker();
this.label4 = new System.Windows.Forms.Label();
this.txtphone = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtadress = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.txtSalary = new System.Windows.Forms.TextBox();
this.combobox_Role = new System.Windows.Forms.ComboBox();
this.label8 = new System.Windows.Forms.Label();
this.rdMale = new System.Windows.Forms.RadioButton();
this.rdfemale = new System.Windows.Forms.RadioButton();
this.lblpass = new System.Windows.Forms.Label();
this.txt_password = new System.Windows.Forms.TextBox();
this.btnsave = new System.Windows.Forms.Button();
this.btnupdate = new System.Windows.Forms.Button();
this.btncancel = new System.Windows.Forms.Button();
this.lblEmpId = new System.Windows.Forms.Label();
this.btnclose = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Orange;
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(828, 34);
this.panel1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.SystemColors.Control;
this.label1.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.DodgerBlue;
this.label1.Location = new System.Drawing.Point(12, 53);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(220, 23);
this.label1.TabIndex = 1;
this.label1.Text = "Employer Registration";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(20, 103);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(120, 23);
this.label2.TabIndex = 2;
this.label2.Text = "Full Name :";
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(178, 100);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(582, 32);
this.txtName.TabIndex = 3;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(20, 157);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(143, 23);
this.label3.TabIndex = 2;
this.label3.Text = "Date of birth :";
//
// datdob
//
this.datdob.CustomFormat = "dd/MM/yyyy";
this.datdob.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.datdob.Location = new System.Drawing.Point(178, 154);
this.datdob.Name = "datdob";
this.datdob.Size = new System.Drawing.Size(177, 32);
this.datdob.TabIndex = 4;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(392, 157);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(83, 23);
this.label4.TabIndex = 2;
this.label4.Text = "Phone :";
//
// txtphone
//
this.txtphone.Location = new System.Drawing.Point(510, 154);
this.txtphone.Name = "txtphone";
this.txtphone.Size = new System.Drawing.Size(250, 32);
this.txtphone.TabIndex = 3;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(20, 229);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(99, 23);
this.label5.TabIndex = 2;
this.label5.Text = "Address :";
//
// txtadress
//
this.txtadress.Location = new System.Drawing.Point(178, 226);
this.txtadress.Multiline = true;
this.txtadress.Name = "txtadress";
this.txtadress.Size = new System.Drawing.Size(582, 73);
this.txtadress.TabIndex = 3;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(20, 326);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(64, 23);
this.label6.TabIndex = 2;
this.label6.Text = "Role :";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(20, 385);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(81, 23);
this.label7.TabIndex = 2;
this.label7.Text = "Salary :";
//
// txtSalary
//
this.txtSalary.Location = new System.Drawing.Point(178, 382);
this.txtSalary.Name = "txtSalary";
this.txtSalary.Size = new System.Drawing.Size(189, 32);
this.txtSalary.TabIndex = 3;
this.txtSalary.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSalary_KeyPress);
//
// combobox_Role
//
this.combobox_Role.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.combobox_Role.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.combobox_Role.FormattingEnabled = true;
this.combobox_Role.Items.AddRange(new object[] {
"Manager",
"Supervisor",
"Cashier",
"Worker"});
this.combobox_Role.Location = new System.Drawing.Point(178, 323);
this.combobox_Role.Name = "combobox_Role";
this.combobox_Role.Size = new System.Drawing.Size(581, 31);
this.combobox_Role.TabIndex = 5;
this.combobox_Role.SelectedIndexChanged += new System.EventHandler(this.combobox_Role_SelectedIndexChanged);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(392, 385);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(96, 23);
this.label8.TabIndex = 2;
this.label8.Text = "Gender :";
//
// rdMale
//
this.rdMale.AutoSize = true;
this.rdMale.Checked = true;
this.rdMale.Location = new System.Drawing.Point(510, 385);
this.rdMale.Name = "rdMale";
this.rdMale.Size = new System.Drawing.Size(80, 27);
this.rdMale.TabIndex = 6;
this.rdMale.TabStop = true;
this.rdMale.Text = "Male";
this.rdMale.UseVisualStyleBackColor = true;
//
// rdfemale
//
this.rdfemale.AutoSize = true;
this.rdfemale.Location = new System.Drawing.Point(631, 385);
this.rdfemale.Name = "rdfemale";
this.rdfemale.Size = new System.Drawing.Size(105, 27);
this.rdfemale.TabIndex = 6;
this.rdfemale.Text = "Female";
this.rdfemale.UseVisualStyleBackColor = true;
//
// lblpass
//
this.lblpass.AutoSize = true;
this.lblpass.Location = new System.Drawing.Point(20, 455);
this.lblpass.Name = "lblpass";
this.lblpass.Size = new System.Drawing.Size(114, 23);
this.lblpass.TabIndex = 2;
this.lblpass.Text = "Password :";
//
// txt_password
//
this.txt_password.Location = new System.Drawing.Point(178, 452);
this.txt_password.Name = "txt_password";
this.txt_password.Size = new System.Drawing.Size(412, 32);
this.txt_password.TabIndex = 3;
this.txt_password.UseSystemPasswordChar = true;
//
// btnsave
//
this.btnsave.BackColor = System.Drawing.Color.DodgerBlue;
this.btnsave.FlatAppearance.BorderSize = 0;
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(295, 525);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(139, 52);
this.btnsave.TabIndex = 7;
this.btnsave.Text = "Save";
this.btnsave.UseVisualStyleBackColor = false;
this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
//
// btnupdate
//
this.btnupdate.BackColor = System.Drawing.Color.Orange;
this.btnupdate.FlatAppearance.BorderSize = 0;
this.btnupdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnupdate.ForeColor = System.Drawing.Color.White;
this.btnupdate.Location = new System.Drawing.Point(451, 525);
this.btnupdate.Name = "btnupdate";
this.btnupdate.Size = new System.Drawing.Size(139, 52);
this.btnupdate.TabIndex = 7;
this.btnupdate.Text = "Update";
this.btnupdate.UseVisualStyleBackColor = false;
this.btnupdate.Click += new System.EventHandler(this.btnupdate_Click);
//
// btncancel
//
this.btncancel.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.btncancel.FlatAppearance.BorderSize = 0;
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncancel.ForeColor = System.Drawing.Color.White;
this.btncancel.Location = new System.Drawing.Point(620, 525);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(139, 52);
this.btncancel.TabIndex = 7;
this.btncancel.Text = "Cancel";
this.btncancel.UseVisualStyleBackColor = false;
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// lblEmpId
//
this.lblEmpId.AutoSize = true;
this.lblEmpId.Location = new System.Drawing.Point(20, 540);
this.lblEmpId.Name = "lblEmpId";
this.lblEmpId.Size = new System.Drawing.Size(44, 23);
this.lblEmpId.TabIndex = 2;
this.lblEmpId.Text = "Eid ";
this.lblEmpId.Visible = false;
//
// btnclose
//
this.btnclose.FlatAppearance.BorderSize = 0;
this.btnclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnclose.Image = ((System.Drawing.Image)(resources.GetObject("btnclose.Image")));
this.btnclose.Location = new System.Drawing.Point(731, 37);
this.btnclose.Name = "btnclose";
this.btnclose.Size = new System.Drawing.Size(80, 54);
this.btnclose.TabIndex = 8;
this.btnclose.UseVisualStyleBackColor = true;
this.btnclose.Click += new System.EventHandler(this.btnclose_Click);
//
// EmployerModule
//
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 23F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(828, 621);
this.Controls.Add(this.btnclose);
this.Controls.Add(this.btncancel);
this.Controls.Add(this.btnupdate);
this.Controls.Add(this.btnsave);
this.Controls.Add(this.rdfemale);
this.Controls.Add(this.rdMale);
this.Controls.Add(this.combobox_Role);
this.Controls.Add(this.datdob);
this.Controls.Add(this.txtadress);
this.Controls.Add(this.txtphone);
this.Controls.Add(this.txt_password);
this.Controls.Add(this.txtSalary);
this.Controls.Add(this.txtName);
this.Controls.Add(this.label3);
this.Controls.Add(this.label8);
this.Controls.Add(this.lblEmpId);
this.Controls.Add(this.lblpass);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "EmployerModule";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Employermodule";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label lblpass;
public System.Windows.Forms.TextBox txtName;
public System.Windows.Forms.DateTimePicker datdob;
public System.Windows.Forms.TextBox txtphone;
public System.Windows.Forms.TextBox txtadress;
public System.Windows.Forms.TextBox txtSalary;
public System.Windows.Forms.ComboBox combobox_Role;
public System.Windows.Forms.RadioButton rdMale;
public System.Windows.Forms.RadioButton rdfemale;
public System.Windows.Forms.TextBox txt_password;
public System.Windows.Forms.Button btnsave;
public System.Windows.Forms.Button btnupdate;
public System.Windows.Forms.Button btncancel;
private System.Windows.Forms.Button btnclose;
public System.Windows.Forms.Label lblEmpId;
}
}

View File

@@ -0,0 +1,209 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
public partial class EmployerModule : Form
{
SqlCommand cm = new SqlCommand();
dbconnect dbcon = new dbconnect();
string title = "Car Wash Management System";
bool check = false;
Employer employer;
public EmployerModule(Employer em)
{
InitializeComponent();
combobox_Role.SelectedIndex = 3;
employer = em;
}
private void btnclose_Click(object sender, EventArgs e)
{
this.Dispose();
}
// to insert Employer data into database
private void btnsave_Click(object sender, EventArgs e)
{
try
{
checkfield();
if (check)
{
if (MessageBox.Show("Are you sure you want to save this Employer?", "Save Employer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("INSERT INTO tbEmployer(name,phone,address,dob,role,salary,password,gender)VALUES(@name,@phone,@address,@dob,@role,@salary,@password,@gender)", dbcon.getConnection());
cm.Parameters.AddWithValue("@name", txtName.Text);
cm.Parameters.AddWithValue("@phone", txtphone.Text);
cm.Parameters.AddWithValue("@address", txtadress.Text);
cm.Parameters.AddWithValue("@dob", datdob.Value);
cm.Parameters.AddWithValue("@role", combobox_Role.Text);
cm.Parameters.AddWithValue("@salary", txtSalary.Text);
cm.Parameters.AddWithValue("@password", txt_password.Text);
cm.Parameters.AddWithValue("@gender", rdMale.Checked ? "Male" : "Female");
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Employer has been successfully saved.", title);
Clear();
check = false;
employer.loadEmployer(); // refresh data in datagridview
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btnupdate_Click(object sender, EventArgs e)
{
try
{
checkfield();
if (check)
{
if (MessageBox.Show("Are you sure you want to Update this Employer?", "Update Employer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("Update tbEmployer SET name=@name,phone=@phone,address=@address,dob=@dob,role=@role,salary=@salary,password=@password,gender=@gender WHERE id=@id", dbcon.getConnection());
cm.Parameters.AddWithValue("@id", lblEmpId.Text);
cm.Parameters.AddWithValue("@name", txtName.Text);
cm.Parameters.AddWithValue("@phone", txtphone.Text);
cm.Parameters.AddWithValue("@address", txtadress.Text);
cm.Parameters.AddWithValue("@dob", datdob.Value);
cm.Parameters.AddWithValue("@role", combobox_Role.Text);
cm.Parameters.AddWithValue("@salary", decimal.Parse(txtSalary.Text));
cm.Parameters.AddWithValue("@password", txt_password.Text);
cm.Parameters.AddWithValue("@gender", rdMale.Checked ? "Male" : "Female");
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Employer has been successfully saved.", title);
Clear();
this.Dispose();
employer.loadEmployer(); // refresh data in datagridview
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btncancel_Click(object sender, EventArgs e)
{
Clear();
btnupdate.Enabled = false;
btnsave.Enabled = true;
}
private void txtSalary_KeyPress(object sender, KeyPressEventArgs e)
{
// only number
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar != '.')
{
e.Handled = true;
}
if (e.KeyChar == '.' && (sender as TextBox).Text.IndexOf('.') > -1)
{
e.Handled = true;
}
}
// function for Clear all filed
# region method
public void Clear()
{
txtName.Clear();
txtphone.Clear();
txtadress.Clear();
txtSalary.Clear();
txt_password.Clear();
datdob.Value = DateTime.Now;
rdMale.Checked = true;
btnsave.Enabled = true;
btnupdate.Enabled = false;
}
// To check data field
public void checkfield()
{
if (string.IsNullOrWhiteSpace(txtName.Text) || string.IsNullOrWhiteSpace(txtphone.Text) || string.IsNullOrWhiteSpace(txtadress.Text) || string.IsNullOrWhiteSpace(txtSalary.Text) || string.IsNullOrWhiteSpace(txt_password.Text) || combobox_Role.SelectedIndex == -1)
{
MessageBox.Show("Please fill in all required fields.", "Warning");
return;
}
if (checkage(datdob.Value) < 18)
{
MessageBox.Show("Employer must be at least 18 years old.", "Warning");
return;
}
check = true;
}
// to check the age
private static int checkage(DateTime dateofbirth)
{
int age = DateTime.Now.Year - dateofbirth.Year;
if (DateTime.Now.DayOfYear < dateofbirth.DayOfYear)
age = age - 1;
return age;
}
private void combobox_Role_SelectedIndexChanged(object sender, EventArgs e)
{
if(combobox_Role.Text =="Supervisor" || combobox_Role.Text == "Worker")
{
this.Height = 621 - 32;
txt_password.Clear();
lblpass.Visible = false;
txt_password.Visible = false;
}
else
{
lblpass.Visible = true;
txt_password.Visible = true;
this.Height = 621;
}
}
#endregion method
}
}

View File

@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnclose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAX1JREFUOE+t
lb1KA0EUhY+l//oIFiooiJA4d0QL6xR2IlgoWAg+gCDY6JtYaCP6AGKxezcxCgZWxUrIsygnmw2zF/OH
+WDIcs/Zm7kzd2aBPjyhNKtwCxyvkBmrD0QV2/MJ5EohjQQSKfx1NlzMmMJfRlifs+/9icLvKyRVuMMG
ShNWZ0zhjuiJ4fasXkAh5wn8XYSdKatZatiaVsh9AndmtRYKd8BkP8CY1bpBr0IeWFVByBZe0kesTRaE
AWjPNC1smMJfcF1Co8LvJpCVMEYYoxbGFHLM5QoDL3VsjoemGjZWFfLJXxuzf9TeqOe2iVN2cWjIUchi
DPmK4MocfGbM+ohCklZXVOGWFO7GGnKYQCHNGNLslowo/G1Lr6G83CshZ6aQbw4+Wz2HCTm5niWHZYbl
Wx9hyZ0uUUjdntNhNoVHtbMpJGsbOQlNCqnYF0nWNlIJYzH8aaFt2Ngx5P0fjf1hKxzt0csZ6eWQM9Lr
K6fPBfs21AVrGfYT8Ash8M5MPZqK9AAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -28,20 +28,506 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.panel1 = new System.Windows.Forms.Panel();
this.panelSilde = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.btnlogout = new System.Windows.Forms.Button();
this.btnsetting = new System.Windows.Forms.Button();
this.btnReport = new System.Windows.Forms.Button();
this.btncash = new System.Windows.Forms.Button();
this.btnservice = new System.Windows.Forms.Button();
this.btncustomer = new System.Windows.Forms.Button();
this.btnEmployer = new System.Windows.Forms.Button();
this.btndashboard = new System.Windows.Forms.Button();
this.panel_logo = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel3 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.panel6 = new System.Windows.Forms.Panel();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.panel4 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.panelchild = new System.Windows.Forms.Panel();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel_logo.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel3.SuspendLayout();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
this.panel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// panel1
//
this.panel1.Controls.Add(this.panelSilde);
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(12, 780);
this.panel1.TabIndex = 0;
//
// panelSilde
//
this.panelSilde.BackColor = System.Drawing.Color.Orange;
this.panelSilde.Location = new System.Drawing.Point(3, 150);
this.panelSilde.Name = "panelSilde";
this.panelSilde.Size = new System.Drawing.Size(10, 57);
this.panelSilde.TabIndex = 0;
//
// panel2
//
this.panel2.Controls.Add(this.btnlogout);
this.panel2.Controls.Add(this.btnsetting);
this.panel2.Controls.Add(this.btnReport);
this.panel2.Controls.Add(this.btncash);
this.panel2.Controls.Add(this.btnservice);
this.panel2.Controls.Add(this.btncustomer);
this.panel2.Controls.Add(this.btnEmployer);
this.panel2.Controls.Add(this.btndashboard);
this.panel2.Controls.Add(this.panel_logo);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(12, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(201, 780);
this.panel2.TabIndex = 1;
//
// btnlogout
//
this.btnlogout.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btnlogout.FlatAppearance.BorderSize = 0;
this.btnlogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnlogout.Image = ((System.Drawing.Image)(resources.GetObject("btnlogout.Image")));
this.btnlogout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnlogout.Location = new System.Drawing.Point(0, 718);
this.btnlogout.Name = "btnlogout";
this.btnlogout.Size = new System.Drawing.Size(201, 62);
this.btnlogout.TabIndex = 8;
this.btnlogout.Text = " Logout";
this.btnlogout.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnlogout.UseVisualStyleBackColor = true;
//
// btnsetting
//
this.btnsetting.Dock = System.Windows.Forms.DockStyle.Top;
this.btnsetting.FlatAppearance.BorderSize = 0;
this.btnsetting.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsetting.Image = ((System.Drawing.Image)(resources.GetObject("btnsetting.Image")));
this.btnsetting.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnsetting.Location = new System.Drawing.Point(0, 474);
this.btnsetting.Name = "btnsetting";
this.btnsetting.Size = new System.Drawing.Size(201, 54);
this.btnsetting.TabIndex = 7;
this.btnsetting.Text = " setting";
this.btnsetting.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnsetting.UseVisualStyleBackColor = true;
this.btnsetting.Click += new System.EventHandler(this.btnsetting_Click);
//
// btnReport
//
this.btnReport.Dock = System.Windows.Forms.DockStyle.Top;
this.btnReport.FlatAppearance.BorderSize = 0;
this.btnReport.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReport.Image = ((System.Drawing.Image)(resources.GetObject("btnReport.Image")));
this.btnReport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnReport.Location = new System.Drawing.Point(0, 420);
this.btnReport.Name = "btnReport";
this.btnReport.Size = new System.Drawing.Size(201, 54);
this.btnReport.TabIndex = 6;
this.btnReport.Text = " Report";
this.btnReport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnReport.UseVisualStyleBackColor = true;
this.btnReport.Click += new System.EventHandler(this.btnReport_Click);
//
// btncash
//
this.btncash.Dock = System.Windows.Forms.DockStyle.Top;
this.btncash.FlatAppearance.BorderSize = 0;
this.btncash.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncash.Image = ((System.Drawing.Image)(resources.GetObject("btncash.Image")));
this.btncash.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btncash.Location = new System.Drawing.Point(0, 366);
this.btncash.Name = "btncash";
this.btncash.Size = new System.Drawing.Size(201, 54);
this.btncash.TabIndex = 5;
this.btncash.Text = " Cash";
this.btncash.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btncash.UseVisualStyleBackColor = true;
this.btncash.Click += new System.EventHandler(this.btncash_Click);
//
// btnservice
//
this.btnservice.Dock = System.Windows.Forms.DockStyle.Top;
this.btnservice.FlatAppearance.BorderSize = 0;
this.btnservice.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnservice.Image = ((System.Drawing.Image)(resources.GetObject("btnservice.Image")));
this.btnservice.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnservice.Location = new System.Drawing.Point(0, 312);
this.btnservice.Name = "btnservice";
this.btnservice.Size = new System.Drawing.Size(201, 54);
this.btnservice.TabIndex = 4;
this.btnservice.Text = " Service";
this.btnservice.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnservice.UseVisualStyleBackColor = true;
this.btnservice.Click += new System.EventHandler(this.btnservice_Click);
//
// btncustomer
//
this.btncustomer.Dock = System.Windows.Forms.DockStyle.Top;
this.btncustomer.FlatAppearance.BorderSize = 0;
this.btncustomer.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncustomer.Image = ((System.Drawing.Image)(resources.GetObject("btncustomer.Image")));
this.btncustomer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btncustomer.Location = new System.Drawing.Point(0, 258);
this.btncustomer.Name = "btncustomer";
this.btncustomer.Size = new System.Drawing.Size(201, 54);
this.btncustomer.TabIndex = 3;
this.btncustomer.Text = " Customer";
this.btncustomer.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btncustomer.UseVisualStyleBackColor = true;
this.btncustomer.Click += new System.EventHandler(this.btncustomer_Click);
//
// btnEmployer
//
this.btnEmployer.Dock = System.Windows.Forms.DockStyle.Top;
this.btnEmployer.FlatAppearance.BorderSize = 0;
this.btnEmployer.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnEmployer.Image = ((System.Drawing.Image)(resources.GetObject("btnEmployer.Image")));
this.btnEmployer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnEmployer.Location = new System.Drawing.Point(0, 204);
this.btnEmployer.Name = "btnEmployer";
this.btnEmployer.Size = new System.Drawing.Size(201, 54);
this.btnEmployer.TabIndex = 2;
this.btnEmployer.Text = " Employer";
this.btnEmployer.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnEmployer.UseVisualStyleBackColor = true;
this.btnEmployer.Click += new System.EventHandler(this.btnEmployer_Click);
//
// btndashboard
//
this.btndashboard.Dock = System.Windows.Forms.DockStyle.Top;
this.btndashboard.FlatAppearance.BorderSize = 0;
this.btndashboard.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndashboard.Image = ((System.Drawing.Image)(resources.GetObject("btndashboard.Image")));
this.btndashboard.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btndashboard.Location = new System.Drawing.Point(0, 150);
this.btndashboard.Name = "btndashboard";
this.btndashboard.Size = new System.Drawing.Size(201, 54);
this.btndashboard.TabIndex = 1;
this.btndashboard.Text = " Dashboard";
this.btndashboard.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btndashboard.UseVisualStyleBackColor = true;
this.btndashboard.Click += new System.EventHandler(this.btndashboard_Click);
//
// panel_logo
//
this.panel_logo.Controls.Add(this.pictureBox1);
this.panel_logo.Dock = System.Windows.Forms.DockStyle.Top;
this.panel_logo.Location = new System.Drawing.Point(0, 0);
this.panel_logo.Name = "panel_logo";
this.panel_logo.Size = new System.Drawing.Size(201, 150);
this.panel_logo.TabIndex = 0;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(17, 26);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(160, 106);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.DodgerBlue;
this.panel3.Controls.Add(this.panel5);
this.panel3.Controls.Add(this.panel6);
this.panel3.Controls.Add(this.panel4);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(213, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1054, 290);
this.panel3.TabIndex = 2;
//
// panel5
//
this.panel5.BackColor = System.Drawing.Color.White;
this.panel5.Controls.Add(this.label4);
this.panel5.Controls.Add(this.label5);
this.panel5.Controls.Add(this.label6);
this.panel5.Controls.Add(this.pictureBox4);
this.panel5.Controls.Add(this.pictureBox5);
this.panel5.Location = new System.Drawing.Point(756, 73);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(286, 121);
this.panel5.TabIndex = 4;
//
// label4
//
this.label4.Font = new System.Drawing.Font("Century Gothic", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(3, 40);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(125, 34);
this.label4.TabIndex = 3;
this.label4.Text = "0.00";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(61, 92);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(153, 21);
this.label5.TabIndex = 2;
this.label5.Text = "Since last 7 days";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(3, 6);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(136, 21);
this.label6.TabIndex = 2;
this.label6.Text = "GROSS PROFIT";
//
// pictureBox4
//
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
this.pictureBox4.Location = new System.Drawing.Point(3, 77);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(52, 41);
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox4.TabIndex = 1;
this.pictureBox4.TabStop = false;
//
// pictureBox5
//
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(216, 6);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(58, 53);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox5.TabIndex = 0;
this.pictureBox5.TabStop = false;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.White;
this.panel6.Controls.Add(this.label7);
this.panel6.Controls.Add(this.label8);
this.panel6.Controls.Add(this.label9);
this.panel6.Controls.Add(this.pictureBox6);
this.panel6.Controls.Add(this.pictureBox7);
this.panel6.Location = new System.Drawing.Point(387, 73);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(286, 121);
this.panel6.TabIndex = 4;
//
// label7
//
this.label7.Font = new System.Drawing.Font("Century Gothic", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label7.Location = new System.Drawing.Point(3, 40);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(125, 34);
this.label7.TabIndex = 3;
this.label7.Text = "0.00";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(61, 92);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(153, 21);
this.label8.TabIndex = 2;
this.label8.Text = "Since last 7 days";
//
// label9
//
this.label9.Location = new System.Drawing.Point(3, 6);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(211, 26);
this.label9.TabIndex = 2;
this.label9.Text = "COST OF GOOD SOLD";
//
// pictureBox6
//
this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image")));
this.pictureBox6.Location = new System.Drawing.Point(3, 77);
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(52, 41);
this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox6.TabIndex = 1;
this.pictureBox6.TabStop = false;
this.pictureBox6.Click += new System.EventHandler(this.pictureBox6_Click);
//
// pictureBox7
//
this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
this.pictureBox7.Location = new System.Drawing.Point(225, 3);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(58, 53);
this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox7.TabIndex = 0;
this.pictureBox7.TabStop = false;
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.White;
this.panel4.Controls.Add(this.label3);
this.panel4.Controls.Add(this.label2);
this.panel4.Controls.Add(this.label1);
this.panel4.Controls.Add(this.pictureBox3);
this.panel4.Controls.Add(this.pictureBox2);
this.panel4.Location = new System.Drawing.Point(6, 73);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(286, 121);
this.panel4.TabIndex = 4;
//
// label3
//
this.label3.Font = new System.Drawing.Font("Century Gothic", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(3, 40);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(125, 34);
this.label3.TabIndex = 3;
this.label3.Text = "0.00";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(61, 92);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(153, 21);
this.label2.TabIndex = 2;
this.label2.Text = "Since last 7 days";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(90, 21);
this.label1.TabIndex = 2;
this.label1.Text = "REVENUS";
//
// pictureBox3
//
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(3, 77);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(52, 41);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox3.TabIndex = 1;
this.pictureBox3.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(216, 6);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(58, 53);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox2.TabIndex = 0;
this.pictureBox2.TabStop = false;
//
// panelchild
//
this.panelchild.BackColor = System.Drawing.Color.White;
this.panelchild.Location = new System.Drawing.Point(226, 216);
this.panelchild.Name = "panelchild";
this.panelchild.Size = new System.Drawing.Size(1017, 507);
this.panelchild.TabIndex = 3;
//
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1267, 780);
this.ClientSize = new System.Drawing.Size(929, 637); this.Controls.Add(this.panelchild);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Century Gothic", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Name = "Form1"; this.Name = "Form1";
this.Text = "Form1"; this.Text = "Car wash Management System";
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel_logo.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.panel3.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
this.panel6.ResumeLayout(false);
this.panel6.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
#endregion #endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel_logo;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panelchild;
private System.Windows.Forms.Button btndashboard;
private System.Windows.Forms.Button btnsetting;
private System.Windows.Forms.Button btnReport;
private System.Windows.Forms.Button btncash;
private System.Windows.Forms.Button btnservice;
private System.Windows.Forms.Button btncustomer;
private System.Windows.Forms.Button btnEmployer;
private System.Windows.Forms.Button btnlogout;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Panel panelSilde;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.PictureBox pictureBox5;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.PictureBox pictureBox6;
private System.Windows.Forms.PictureBox pictureBox7;
private System.Windows.Forms.Label label3;
} }
} }

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
using System.Drawing; using System.Drawing;
using System.Drawing.Text;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
@@ -16,5 +17,75 @@ namespace Car_wash
{ {
InitializeComponent(); InitializeComponent();
} }
private void btndashboard_Click(object sender, EventArgs e)
{
panelSilde.Height = btndashboard.Height;
panelSilde.Top = btndashboard.Top;
}
private void btnEmployer_Click(object sender, EventArgs e)
{
panelSilde.Height = btnEmployer.Height;
panelSilde.Top = btnEmployer.Top;
openchildform(new Employer());
}
private void btncustomer_Click(object sender, EventArgs e)
{
panelSilde.Height = btncustomer.Height;
panelSilde.Top = btncustomer.Top;
}
private void btnservice_Click(object sender, EventArgs e)
{
panelSilde.Height = btnservice.Height;
panelSilde.Top = btnservice.Top;
}
private void btncash_Click(object sender, EventArgs e)
{
panelSilde.Height = btncash.Height;
panelSilde.Top = btncash.Top;
}
private void btnReport_Click(object sender, EventArgs e)
{
panelSilde.Height = btnReport.Height;
panelSilde.Top = btnReport.Top;
}
private void btnsetting_Click(object sender, EventArgs e)
{
panelSilde.Height = btnsetting.Height;
panelSilde.Top = btnsetting.Top;
openchildform(new setting());
}
private void pictureBox6_Click(object sender, EventArgs e)
{
}
#region method
// create a function to open a form inside a panel
private Form activeform = null;
public void openchildform(Form childform)
{
if (activeform != null)
activeform.Close();
activeform = childform;
childform.TopLevel = false;
childform.FormBorderStyle = FormBorderStyle.None;
childform.Dock = DockStyle.Fill;
panelchild.Controls.Add(childform);
panelchild.Tag = childform;
childform.BringToFront();
childform.Show();
}
#endregion method
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,207 @@
namespace Car_wash
{
partial class ManagevehiculeType
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ManagevehiculeType));
this.btnclose = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.txtname = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btncancel = new System.Windows.Forms.Button();
this.btnupdate = new System.Windows.Forms.Button();
this.btnsave = new System.Windows.Forms.Button();
this.lblEmpId = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.combobox_class = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// btnclose
//
this.btnclose.FlatAppearance.BorderSize = 0;
this.btnclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnclose.Image = ((System.Drawing.Image)(resources.GetObject("btnclose.Image")));
this.btnclose.Location = new System.Drawing.Point(681, 37);
this.btnclose.Name = "btnclose";
this.btnclose.Size = new System.Drawing.Size(80, 54);
this.btnclose.TabIndex = 11;
this.btnclose.UseVisualStyleBackColor = true;
this.btnclose.Click += new System.EventHandler(this.btnclose_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.SystemColors.Control;
this.label1.Font = new System.Drawing.Font("Century Gothic", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.DodgerBlue;
this.label1.Location = new System.Drawing.Point(12, 53);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(253, 27);
this.label1.TabIndex = 10;
this.label1.Text = "Employer Registration";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Orange;
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(761, 34);
this.panel1.TabIndex = 9;
//
// txtname
//
this.txtname.Location = new System.Drawing.Point(171, 122);
this.txtname.Name = "txtname";
this.txtname.Size = new System.Drawing.Size(581, 32);
this.txtname.TabIndex = 13;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(13, 125);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(120, 23);
this.label2.TabIndex = 12;
this.label2.Text = "Full Name :";
//
// btncancel
//
this.btncancel.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.btncancel.FlatAppearance.BorderSize = 0;
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncancel.ForeColor = System.Drawing.Color.White;
this.btncancel.Location = new System.Drawing.Point(612, 255);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(139, 52);
this.btncancel.TabIndex = 17;
this.btncancel.Text = "Cancel";
this.btncancel.UseVisualStyleBackColor = false;
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// btnupdate
//
this.btnupdate.BackColor = System.Drawing.Color.Orange;
this.btnupdate.FlatAppearance.BorderSize = 0;
this.btnupdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnupdate.ForeColor = System.Drawing.Color.White;
this.btnupdate.Location = new System.Drawing.Point(443, 255);
this.btnupdate.Name = "btnupdate";
this.btnupdate.Size = new System.Drawing.Size(139, 52);
this.btnupdate.TabIndex = 18;
this.btnupdate.Text = "Update";
this.btnupdate.UseVisualStyleBackColor = false;
this.btnupdate.Click += new System.EventHandler(this.btnupdate_Click);
//
// btnsave
//
this.btnsave.BackColor = System.Drawing.Color.DodgerBlue;
this.btnsave.FlatAppearance.BorderSize = 0;
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(287, 255);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(139, 52);
this.btnsave.TabIndex = 19;
this.btnsave.Text = "Save";
this.btnsave.UseVisualStyleBackColor = false;
this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
//
// lblEmpId
//
this.lblEmpId.AutoSize = true;
this.lblEmpId.Location = new System.Drawing.Point(12, 270);
this.lblEmpId.Name = "lblEmpId";
this.lblEmpId.Size = new System.Drawing.Size(60, 29);
this.lblEmpId.TabIndex = 14;
this.lblEmpId.Text = "Vid ";
this.lblEmpId.Visible = false;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(13, 195);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 23);
this.label9.TabIndex = 15;
this.label9.Text = "Class :";
//
// combobox_class
//
this.combobox_class.FormattingEnabled = true;
this.combobox_class.Items.AddRange(new object[] {
"1",
"2",
"3",
"4"});
this.combobox_class.Location = new System.Drawing.Point(171, 192);
this.combobox_class.Name = "combobox_class";
this.combobox_class.Size = new System.Drawing.Size(581, 31);
this.combobox_class.TabIndex = 20;
//
// ManagevehiculeType
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(761, 315);
this.Controls.Add(this.combobox_class);
this.Controls.Add(this.btncancel);
this.Controls.Add(this.btnupdate);
this.Controls.Add(this.btnsave);
this.Controls.Add(this.lblEmpId);
this.Controls.Add(this.label9);
this.Controls.Add(this.txtname);
this.Controls.Add(this.label2);
this.Controls.Add(this.btnclose);
this.Controls.Add(this.label1);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ManagevehiculeType";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ManageVehicleType";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnclose;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel1;
public System.Windows.Forms.TextBox txtname;
private System.Windows.Forms.Label label2;
public System.Windows.Forms.Button btncancel;
public System.Windows.Forms.Button btnupdate;
public System.Windows.Forms.Button btnsave;
public System.Windows.Forms.Label lblEmpId;
private System.Windows.Forms.Label label9;
public System.Windows.Forms.ComboBox combobox_class;
}
}

View File

@@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
public partial class ManagevehiculeType : Form
{
SqlCommand cm = new SqlCommand();
dbconnect dbcon = new dbconnect();
setting Setting;
string title = "Car Wash Management System";
public ManagevehiculeType(setting sett)
{
InitializeComponent();
Setting = sett;
combobox_class.SelectedIndex = 0;
}
private void btnclose_Click(object sender, EventArgs e)
{
this.Dispose();
}
private void btnsave_Click(object sender, EventArgs e)
{
try
{
if (txtname.Text == "")
{
MessageBox.Show("Please enter Vehicle Type name.", "Warning");
return;
}
if (MessageBox.Show("Are you sure you want to save this Vehicle Type?", "Save Vehicle Type", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("INSERT INTO tbVehicleType(class,name)VALUES(@class,@name)" , dbcon.getConnection());
cm.Parameters.AddWithValue("@class", combobox_class.Text);
cm.Parameters.AddWithValue("@name", txtname.Text);
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Vehicle Type has been successfully saved.", title);
Clear();
Setting.loadManageVeh();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btnupdate_Click(object sender, EventArgs e)
{
try
{
if (MessageBox.Show("Are you sure you want to Update this Vehicle Type?", "Update Vehicle Type", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("Update tbVehicleType SET name= @name, class= @class WHERE id=@id", dbcon.getConnection());
cm.Parameters.AddWithValue("@id", lblEmpId.Text);
cm.Parameters.AddWithValue("@class", combobox_class.Text);
cm.Parameters.AddWithValue("@name", txtname.Text);
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Vehicle Type has been successfully Upadte.", title);
Clear();
Setting.loadManageVeh();
this.Dispose();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btncancel_Click(object sender, EventArgs e)
{
Clear();
}
#region method
public void Clear()
{
txtname.Clear();
combobox_class.SelectedIndex = 0;
btnsave.Enabled = true;
btnupdate.Enabled = false;
}
#endregion method
}
}

View File

@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnclose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAX1JREFUOE+t
lb1KA0EUhY+l//oIFiooiJA4d0QL6xR2IlgoWAg+gCDY6JtYaCP6AGKxezcxCgZWxUrIsygnmw2zF/OH
+WDIcs/Zm7kzd2aBPjyhNKtwCxyvkBmrD0QV2/MJ5EohjQQSKfx1NlzMmMJfRlifs+/9icLvKyRVuMMG
ShNWZ0zhjuiJ4fasXkAh5wn8XYSdKatZatiaVsh9AndmtRYKd8BkP8CY1bpBr0IeWFVByBZe0kesTRaE
AWjPNC1smMJfcF1Co8LvJpCVMEYYoxbGFHLM5QoDL3VsjoemGjZWFfLJXxuzf9TeqOe2iVN2cWjIUchi
DPmK4MocfGbM+ohCklZXVOGWFO7GGnKYQCHNGNLslowo/G1Lr6G83CshZ6aQbw4+Wz2HCTm5niWHZYbl
Wx9hyZ0uUUjdntNhNoVHtbMpJGsbOQlNCqnYF0nWNlIJYzH8aaFt2Ngx5P0fjf1hKxzt0csZ6eWQM9Lr
K6fPBfs21AVrGfYT8Ash8M5MPZqK9AAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,223 @@
namespace Car_wash
{
partial class Managecostofgoodsold
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Managecostofgoodsold));
this.btncancel = new System.Windows.Forms.Button();
this.btnupdate = new System.Windows.Forms.Button();
this.btnsave = new System.Windows.Forms.Button();
this.lblCid = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.txtname = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btnclose = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.dob_costofg = new System.Windows.Forms.DateTimePicker();
this.textBox_cost = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// btncancel
//
this.btncancel.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.btncancel.FlatAppearance.BorderSize = 0;
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncancel.ForeColor = System.Drawing.Color.White;
this.btncancel.Location = new System.Drawing.Point(612, 261);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(139, 52);
this.btncancel.TabIndex = 5;
this.btncancel.Text = "Cancel";
this.btncancel.UseVisualStyleBackColor = false;
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// btnupdate
//
this.btnupdate.BackColor = System.Drawing.Color.Orange;
this.btnupdate.FlatAppearance.BorderSize = 0;
this.btnupdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnupdate.ForeColor = System.Drawing.Color.White;
this.btnupdate.Location = new System.Drawing.Point(443, 261);
this.btnupdate.Name = "btnupdate";
this.btnupdate.Size = new System.Drawing.Size(139, 52);
this.btnupdate.TabIndex = 4;
this.btnupdate.Text = "Update";
this.btnupdate.UseVisualStyleBackColor = false;
this.btnupdate.Click += new System.EventHandler(this.btnupdate_Click);
//
// btnsave
//
this.btnsave.BackColor = System.Drawing.Color.DodgerBlue;
this.btnsave.FlatAppearance.BorderSize = 0;
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(287, 261);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(139, 52);
this.btnsave.TabIndex = 3;
this.btnsave.Text = "Save";
this.btnsave.UseVisualStyleBackColor = false;
this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
//
// lblCid
//
this.lblCid.AutoSize = true;
this.lblCid.Location = new System.Drawing.Point(12, 276);
this.lblCid.Name = "lblCid";
this.lblCid.Size = new System.Drawing.Size(49, 23);
this.lblCid.TabIndex = 26;
this.lblCid.Text = "Cid ";
this.lblCid.Visible = false;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(13, 168);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(65, 23);
this.label9.TabIndex = 27;
this.label9.Text = "Cost :";
//
// txtname
//
this.txtname.Location = new System.Drawing.Point(171, 112);
this.txtname.Name = "txtname";
this.txtname.Size = new System.Drawing.Size(581, 32);
this.txtname.TabIndex = 0;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(13, 115);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(132, 23);
this.label2.TabIndex = 24;
this.label2.Text = "Cost Name :";
//
// btnclose
//
this.btnclose.FlatAppearance.BorderSize = 0;
this.btnclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnclose.Image = ((System.Drawing.Image)(resources.GetObject("btnclose.Image")));
this.btnclose.Location = new System.Drawing.Point(681, 43);
this.btnclose.Name = "btnclose";
this.btnclose.Size = new System.Drawing.Size(80, 54);
this.btnclose.TabIndex = 6;
this.btnclose.UseVisualStyleBackColor = true;
this.btnclose.Click += new System.EventHandler(this.btnclose_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.SystemColors.Control;
this.label1.Font = new System.Drawing.Font("Century Gothic", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.DodgerBlue;
this.label1.Location = new System.Drawing.Point(12, 59);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(314, 27);
this.label1.TabIndex = 22;
this.label1.Text = "Manage Cost of Good Sold";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Orange;
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(764, 34);
this.panel1.TabIndex = 21;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(13, 222);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(70, 23);
this.label3.TabIndex = 27;
this.label3.Text = "Date :";
//
// dob_costofg
//
this.dob_costofg.Location = new System.Drawing.Point(171, 215);
this.dob_costofg.Name = "dob_costofg";
this.dob_costofg.Size = new System.Drawing.Size(581, 32);
this.dob_costofg.TabIndex = 2;
//
// textBox_cost
//
this.textBox_cost.Location = new System.Drawing.Point(171, 165);
this.textBox_cost.Name = "textBox_cost";
this.textBox_cost.Size = new System.Drawing.Size(581, 32);
this.textBox_cost.TabIndex = 1;
this.textBox_cost.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_cost_KeyPress);
//
// Managecostofgoodsold
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(764, 334);
this.Controls.Add(this.dob_costofg);
this.Controls.Add(this.btncancel);
this.Controls.Add(this.btnupdate);
this.Controls.Add(this.btnsave);
this.Controls.Add(this.lblCid);
this.Controls.Add(this.label3);
this.Controls.Add(this.label9);
this.Controls.Add(this.textBox_cost);
this.Controls.Add(this.txtname);
this.Controls.Add(this.label2);
this.Controls.Add(this.btnclose);
this.Controls.Add(this.label1);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Managecostofgoodsold";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Managecostofgoodsold";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.Button btncancel;
public System.Windows.Forms.Button btnupdate;
public System.Windows.Forms.Button btnsave;
public System.Windows.Forms.Label lblCid;
private System.Windows.Forms.Label label9;
public System.Windows.Forms.TextBox txtname;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnclose;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
public System.Windows.Forms.TextBox textBox_cost;
public System.Windows.Forms.DateTimePicker dob_costofg;
}
}

View File

@@ -0,0 +1,149 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
public partial class Managecostofgoodsold : Form
{
SqlCommand cm = new SqlCommand();
dbconnect dbcon = new dbconnect();
setting Setting;
string title = "Car Wash Management System";
bool check = false;
public Managecostofgoodsold(setting set)
{
InitializeComponent();
Setting = set;
}
private void btnclose_Click(object sender, EventArgs e)
{
this.Dispose();
}
private void btnsave_Click(object sender, EventArgs e)
{
try
{
checkfield();
if (check)
{
if (MessageBox.Show("Are you sure you want to save this Cost of Goods Sold?", "Save Cost of Goods Sold", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("INSERT INTO tbcostofgoodsold(costname,cost,date)VALUES(@costname,@cost,@date)", dbcon.getConnection());
cm.Parameters.AddWithValue("@costname", txtname.Text);
cm.Parameters.AddWithValue("@cost", textBox_cost.Text);
cm.Parameters.AddWithValue("@date", dob_costofg.Value);
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Cost of Goods Sold has been successfully saved.", title);
Clear();
Setting.loadManageCostofGood();
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btnupdate_Click(object sender, EventArgs e)
{
try
{
checkfield();
if (check)
{
if (MessageBox.Show("Are you sure you want to update this Cost of Goods Sold?", "Update Cost of Goods Sold", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("UPDATE tbcostofgoodsold SET costname=@costname, cost=@cost, date=@date WHERE id=@id ", dbcon.getConnection());
cm.Parameters.AddWithValue("@id", lblCid.Text);
cm.Parameters.AddWithValue("@costname", txtname.Text);
cm.Parameters.AddWithValue("@cost", textBox_cost.Text);
cm.Parameters.AddWithValue("@date", dob_costofg.Value);
dbcon.openConnection(); // to open connection
cm.ExecuteNonQuery();
dbcon.closeConnection(); // to close connection
MessageBox.Show("Cost of Goods Sold has been successfully updated.", title);
Clear();
this.Dispose();
Setting.loadManageCostofGood();
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btncancel_Click(object sender, EventArgs e)
{
Clear();
}
private void textBox_cost_KeyPress(object sender, KeyPressEventArgs e)
{
// only number
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar != '.')
{
e.Handled = true;
}
if (e.KeyChar == '.' && (sender as TextBox).Text.IndexOf('.') > -1)
{
e.Handled = true;
}
}
#region method cost of goods sold
public void Clear()
{
txtname.Clear();
textBox_cost.Clear();
dob_costofg.Value = DateTime.Now;
btnsave.Enabled = true;
btnupdate.Enabled = false;
}
public void checkfield()
{
if (txtname.Text == "" && textBox_cost.Text == "")
{
MessageBox.Show("Please enter Cost of Goods Sold name.", "Warning");
return;
}
check = true;
}
#endregion method cost of goods sold
}
}

View File

@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnclose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAX1JREFUOE+t
lb1KA0EUhY+l//oIFiooiJA4d0QL6xR2IlgoWAg+gCDY6JtYaCP6AGKxezcxCgZWxUrIsygnmw2zF/OH
+WDIcs/Zm7kzd2aBPjyhNKtwCxyvkBmrD0QV2/MJ5EohjQQSKfx1NlzMmMJfRlifs+/9icLvKyRVuMMG
ShNWZ0zhjuiJ4fasXkAh5wn8XYSdKatZatiaVsh9AndmtRYKd8BkP8CY1bpBr0IeWFVByBZe0kesTRaE
AWjPNC1smMJfcF1Co8LvJpCVMEYYoxbGFHLM5QoDL3VsjoemGjZWFfLJXxuzf9TeqOe2iVN2cWjIUchi
DPmK4MocfGbM+ohCklZXVOGWFO7GGnKYQCHNGNLslowo/G1Lr6G83CshZ6aQbw4+Wz2HCTm5niWHZYbl
Wx9hyZ0uUUjdntNhNoVHtbMpJGsbOQlNCqnYF0nWNlIJYzH8aaFt2Ngx5P0fjf1hKxzt0csZ6eWQM9Lr
K6fPBfs21AVrGfYT8Ash8M5MPZqK9AAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
using System.Data.SqlClient;
namespace Car_wash namespace Car_wash
{ {
@@ -12,6 +13,8 @@ namespace Car_wash
/// Der Haupteinstiegspunkt für die Anwendung. /// Der Haupteinstiegspunkt für die Anwendung.
/// </summary> /// </summary>
[STAThread] [STAThread]
static void Main() static void Main()
{ {
Application.EnableVisualStyles(); Application.EnableVisualStyles();

Binary file not shown.

View File

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

Binary file not shown.

View File

@@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
internal class dbconnect
{
private SqlConnection cn = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\DBCARwash.mdf;Integrated Security=True; Connect Timeout=30");
SqlCommand cm = new SqlCommand();
public SqlConnection getConnection()
{
return cn;
}
public void openConnection()
{
if (cn.State == System.Data.ConnectionState.Closed)
{
cn.Open();
}
}
public void closeConnection()
{
if (cn.State == System.Data.ConnectionState.Open)
{
cn.Close();
}
}
public void executeQuery(string query)
{
try {
openConnection();
cm = new SqlCommand(query, cn);
cm.ExecuteNonQuery();
closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Car wash Management System");
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1 @@
3b0b7842b51d4c01c92a30a1b90c51b563fe80c29c5fc7c7c34a1e9d0ca30ea9

View File

@@ -0,0 +1,16 @@
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\bin\Debug\Car-wash.exe.config
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\bin\Debug\Car-wash.exe
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\bin\Debug\Car-wash.pdb
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.csproj.AssemblyReference.cache
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.Form1.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.Properties.Resources.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.csproj.GenerateResource.cache
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.csproj.CoreCompileInputs.cache
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.exe
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.pdb
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car-wash.exe.config
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.Employermodule.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.Employer.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.setting.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.ManagevehiculeType.resources
C:\Users\bib\Desktop\Projekt-CAR_WASH\Car-wash\Car-wash\obj\Debug\Car_wash.Managecostofgoodsold.resources

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

544
Car-wash/Car-wash/setting.Designer.cs generated Normal file
View File

@@ -0,0 +1,544 @@
namespace Car_wash
{
partial class setting
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(setting));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.panel2 = new System.Windows.Forms.Panel();
this.btnaddVT = new System.Windows.Forms.Button();
this.text_searchVT = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dgvVehicel = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Edit = new System.Windows.Forms.DataGridViewImageColumn();
this.Delete = new System.Windows.Forms.DataGridViewImageColumn();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.panel3 = new System.Windows.Forms.Panel();
this.btnAddCG = new System.Windows.Forms.Button();
this.txtSearchCoG = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.dgvcostof = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EditC = new System.Windows.Forms.DataGridViewImageColumn();
this.DeleteC = new System.Windows.Forms.DataGridViewImageColumn();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.btncancel = new System.Windows.Forms.Button();
this.btnsave = new System.Windows.Forms.Button();
this.txtcomadress = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.txtcomName = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvVehicel)).BeginInit();
this.tabPage2.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvcostof)).BeginInit();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.OrangeRed;
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1151, 34);
this.panel1.TabIndex = 1;
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 34);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1151, 473);
this.tabControl1.TabIndex = 2;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.panel2);
this.tabPage1.Controls.Add(this.dgvVehicel);
this.tabPage1.Location = new System.Drawing.Point(4, 32);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1143, 437);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Vehicle Type";
this.tabPage1.UseVisualStyleBackColor = true;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.DodgerBlue;
this.panel2.Controls.Add(this.btnaddVT);
this.panel2.Controls.Add(this.text_searchVT);
this.panel2.Controls.Add(this.label1);
this.panel2.Location = new System.Drawing.Point(-4, 344);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1151, 90);
this.panel2.TabIndex = 4;
//
// btnaddVT
//
this.btnaddVT.FlatAppearance.BorderSize = 0;
this.btnaddVT.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnaddVT.Image = ((System.Drawing.Image)(resources.GetObject("btnaddVT.Image")));
this.btnaddVT.Location = new System.Drawing.Point(894, 14);
this.btnaddVT.Name = "btnaddVT";
this.btnaddVT.Size = new System.Drawing.Size(99, 59);
this.btnaddVT.TabIndex = 2;
this.btnaddVT.UseVisualStyleBackColor = true;
this.btnaddVT.Click += new System.EventHandler(this.btnaddVT_Click);
//
// text_searchVT
//
this.text_searchVT.Location = new System.Drawing.Point(86, 29);
this.text_searchVT.Name = "text_searchVT";
this.text_searchVT.Size = new System.Drawing.Size(173, 32);
this.text_searchVT.TabIndex = 1;
this.text_searchVT.TextChanged += new System.EventHandler(this.text_searchVT_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(3, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Search";
//
// dgvVehicel
//
this.dgvVehicel.AllowUserToAddRows = false;
this.dgvVehicel.AllowUserToDeleteRows = false;
this.dgvVehicel.AllowUserToResizeColumns = false;
this.dgvVehicel.AllowUserToResizeRows = false;
this.dgvVehicel.BackgroundColor = System.Drawing.Color.White;
this.dgvVehicel.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.DodgerBlue;
dataGridViewCellStyle6.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvVehicel.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dgvVehicel.ColumnHeadersHeight = 28;
this.dgvVehicel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgvVehicel.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3,
this.Column4,
this.Edit,
this.Delete});
this.dgvVehicel.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvVehicel.EnableHeadersVisualStyles = false;
this.dgvVehicel.Location = new System.Drawing.Point(3, 3);
this.dgvVehicel.MultiSelect = false;
this.dgvVehicel.Name = "dgvVehicel";
this.dgvVehicel.RowHeadersVisible = false;
this.dgvVehicel.RowHeadersWidth = 51;
this.dgvVehicel.RowTemplate.Height = 24;
this.dgvVehicel.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvVehicel.Size = new System.Drawing.Size(1137, 431);
this.dgvVehicel.TabIndex = 3;
this.dgvVehicel.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvVehicel_CellContentClick);
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column1.HeaderText = "No";
this.Column1.MinimumWidth = 6;
this.Column1.Name = "Column1";
this.Column1.Width = 65;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column2.HeaderText = "Id";
this.Column2.MinimumWidth = 6;
this.Column2.Name = "Column2";
this.Column2.Width = 56;
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column3.HeaderText = "Name";
this.Column3.MinimumWidth = 6;
this.Column3.Name = "Column3";
//
// Column4
//
this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column4.HeaderText = "Level";
this.Column4.MinimumWidth = 6;
this.Column4.Name = "Column4";
this.Column4.Width = 90;
//
// Edit
//
this.Edit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Edit.HeaderText = "";
this.Edit.Image = ((System.Drawing.Image)(resources.GetObject("Edit.Image")));
this.Edit.MinimumWidth = 6;
this.Edit.Name = "Edit";
this.Edit.Width = 6;
//
// Delete
//
this.Delete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Delete.HeaderText = "";
this.Delete.Image = ((System.Drawing.Image)(resources.GetObject("Delete.Image")));
this.Delete.MinimumWidth = 6;
this.Delete.Name = "Delete";
this.Delete.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Delete.Width = 6;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.panel3);
this.tabPage2.Controls.Add(this.dgvcostof);
this.tabPage2.Location = new System.Drawing.Point(4, 32);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1143, 437);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Cost of Good Sold";
this.tabPage2.UseVisualStyleBackColor = true;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.DodgerBlue;
this.panel3.Controls.Add(this.btnAddCG);
this.panel3.Controls.Add(this.txtSearchCoG);
this.panel3.Controls.Add(this.label2);
this.panel3.Location = new System.Drawing.Point(-4, 340);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1151, 94);
this.panel3.TabIndex = 5;
//
// btnAddCG
//
this.btnAddCG.FlatAppearance.BorderSize = 0;
this.btnAddCG.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAddCG.Image = ((System.Drawing.Image)(resources.GetObject("btnAddCG.Image")));
this.btnAddCG.Location = new System.Drawing.Point(872, 14);
this.btnAddCG.Name = "btnAddCG";
this.btnAddCG.Size = new System.Drawing.Size(99, 59);
this.btnAddCG.TabIndex = 2;
this.btnAddCG.UseVisualStyleBackColor = true;
this.btnAddCG.Click += new System.EventHandler(this.btnCostofGood_Click);
//
// txtSearchCoG
//
this.txtSearchCoG.Location = new System.Drawing.Point(86, 29);
this.txtSearchCoG.Name = "txtSearchCoG";
this.txtSearchCoG.Size = new System.Drawing.Size(173, 32);
this.txtSearchCoG.TabIndex = 1;
this.txtSearchCoG.TextChanged += new System.EventHandler(this.txtSearchCoG_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(3, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(77, 23);
this.label2.TabIndex = 0;
this.label2.Text = "Search";
//
// dgvcostof
//
this.dgvcostof.AllowUserToAddRows = false;
this.dgvcostof.AllowUserToDeleteRows = false;
this.dgvcostof.AllowUserToResizeColumns = false;
this.dgvcostof.AllowUserToResizeRows = false;
this.dgvcostof.BackgroundColor = System.Drawing.Color.White;
this.dgvcostof.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.DodgerBlue;
dataGridViewCellStyle4.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvcostof.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvcostof.ColumnHeadersHeight = 28;
this.dgvcostof.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgvcostof.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4,
this.Column5,
this.EditC,
this.DeleteC});
this.dgvcostof.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvcostof.EnableHeadersVisualStyles = false;
this.dgvcostof.Location = new System.Drawing.Point(3, 3);
this.dgvcostof.MultiSelect = false;
this.dgvcostof.Name = "dgvcostof";
this.dgvcostof.RowHeadersVisible = false;
this.dgvcostof.RowHeadersWidth = 51;
this.dgvcostof.RowTemplate.Height = 24;
this.dgvcostof.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvcostof.Size = new System.Drawing.Size(1137, 431);
this.dgvcostof.TabIndex = 4;
this.dgvcostof.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvcostof_CellContentClick_1);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.dataGridViewTextBoxColumn1.HeaderText = "No";
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Width = 65;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.dataGridViewTextBoxColumn2.HeaderText = "Id";
this.dataGridViewTextBoxColumn2.MinimumWidth = 6;
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Width = 56;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.HeaderText = "Name";
this.dataGridViewTextBoxColumn3.MinimumWidth = 6;
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle5;
this.dataGridViewTextBoxColumn4.HeaderText = "Cost";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 81;
//
// Column5
//
this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column5.HeaderText = "Date";
this.Column5.MinimumWidth = 6;
this.Column5.Name = "Column5";
this.Column5.Width = 86;
//
// EditC
//
this.EditC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.EditC.HeaderText = "";
this.EditC.Image = ((System.Drawing.Image)(resources.GetObject("EditC.Image")));
this.EditC.MinimumWidth = 6;
this.EditC.Name = "EditC";
this.EditC.Width = 6;
//
// DeleteC
//
this.DeleteC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.DeleteC.HeaderText = "";
this.DeleteC.Image = ((System.Drawing.Image)(resources.GetObject("DeleteC.Image")));
this.DeleteC.MinimumWidth = 6;
this.DeleteC.Name = "DeleteC";
this.DeleteC.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.DeleteC.Width = 6;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.btncancel);
this.tabPage3.Controls.Add(this.btnsave);
this.tabPage3.Controls.Add(this.txtcomadress);
this.tabPage3.Controls.Add(this.label5);
this.tabPage3.Controls.Add(this.label4);
this.tabPage3.Controls.Add(this.txtcomName);
this.tabPage3.Controls.Add(this.label3);
this.tabPage3.Location = new System.Drawing.Point(4, 32);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(1143, 437);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = " Company Detail";
this.tabPage3.UseVisualStyleBackColor = true;
//
// btncancel
//
this.btncancel.BackColor = System.Drawing.Color.MediumSeaGreen;
this.btncancel.FlatAppearance.BorderSize = 0;
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncancel.ForeColor = System.Drawing.Color.White;
this.btncancel.Location = new System.Drawing.Point(853, 270);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(139, 52);
this.btncancel.TabIndex = 7;
this.btncancel.Text = "Cancel";
this.btncancel.UseVisualStyleBackColor = false;
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// btnsave
//
this.btnsave.BackColor = System.Drawing.Color.DodgerBlue;
this.btnsave.FlatAppearance.BorderSize = 0;
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(670, 270);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(139, 52);
this.btnsave.TabIndex = 6;
this.btnsave.Text = "Save";
this.btnsave.UseVisualStyleBackColor = false;
this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
//
// txtcomadress
//
this.txtcomadress.Location = new System.Drawing.Point(279, 195);
this.txtcomadress.Name = "txtcomadress";
this.txtcomadress.Size = new System.Drawing.Size(713, 32);
this.txtcomadress.TabIndex = 4;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(46, 196);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(204, 23);
this.label5.TabIndex = 3;
this.label5.Text = "Company Address :";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(47, 199);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(16, 23);
this.label4.TabIndex = 2;
this.label4.Text = " ";
//
// txtcomName
//
this.txtcomName.Location = new System.Drawing.Point(279, 122);
this.txtcomName.Name = "txtcomName";
this.txtcomName.Size = new System.Drawing.Size(713, 32);
this.txtcomName.TabIndex = 1;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(39, 125);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(187, 23);
this.label3.TabIndex = 0;
this.label3.Text = "Company Name :";
//
// setting
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1151, 507);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "setting";
this.Text = "setting";
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvVehicel)).EndInit();
this.tabPage2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvcostof)).EndInit();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.DataGridView dgvVehicel;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button btnaddVT;
private System.Windows.Forms.TextBox text_searchVT;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewImageColumn Edit;
private System.Windows.Forms.DataGridViewImageColumn Delete;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.TextBox txtSearchCoG;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.DataGridView dgvcostof;
public System.Windows.Forms.Button btnAddCG;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewImageColumn EditC;
private System.Windows.Forms.DataGridViewImageColumn DeleteC;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtcomName;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtcomadress;
private System.Windows.Forms.Label label5;
public System.Windows.Forms.Button btncancel;
public System.Windows.Forms.Button btnsave;
}
}

View File

@@ -0,0 +1,294 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Car_wash
{
public partial class setting : Form
{
SqlCommand cm = new SqlCommand();
dbconnect dbcon = new dbconnect();
SqlDataReader dr;
string title = "Car Wash Management System";
bool hasdetail = false;
public setting()
{
InitializeComponent();
loadManageVeh();
loadManageCostofGood();
loadcompanyname();
}
#region vehicule method
private void text_searchVT_TextChanged(object sender, EventArgs e)
{
loadManageVeh();
}
private void btnaddVT_Click(object sender, EventArgs e)
{
ManagevehiculeType managevehicule = new ManagevehiculeType(this);
managevehicule.btnsave.Enabled = true;
managevehicule.btnupdate.Enabled = false;
managevehicule.ShowDialog();
}
public void loadManageVeh()
{
try
{
int i = 0;
dgvVehicel.Rows.Clear();
dgvVehicel.ReadOnly = false;
cm = new SqlCommand("SELECT * FROM tbVehicleType WHERE CONCAT(name,class) LIKE '%" + text_searchVT.Text + "%'", dbcon.getConnection());
dbcon.openConnection();
dr = cm.ExecuteReader();
while (dr.Read())
{
i++;
dgvVehicel.Rows.Add(
i,
dr[0].ToString(),
dr[1].ToString(),
dr[2].ToString()
);
}
dbcon.closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void dgvVehicel_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
string colName = dgvVehicel.Columns[e.ColumnIndex].Name;
if (colName == "Edit")
{
ManagevehiculeType managevh = new ManagevehiculeType(this);
managevh.lblEmpId.Text = dgvVehicel.Rows[e.RowIndex].Cells[1].Value.ToString();
managevh.txtname.Text = dgvVehicel.Rows[e.RowIndex].Cells[2].Value.ToString();
managevh.combobox_class.Text = dgvVehicel.Rows[e.RowIndex].Cells[3].Value.ToString();
managevh.btnsave.Enabled = false;
managevh.btnupdate.Enabled = true;
managevh.ShowDialog();
}
else if (colName == "Delete")
{
try
{
if (MessageBox.Show("Are you sure you want to delete this Vehicle?", "Delete Vehicle", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("DELETE FROM tbVehicleType WHERE id LIKE '" + dgvVehicel.Rows[e.RowIndex].Cells[1].Value.ToString() + "'", dbcon.getConnection());
dbcon.openConnection();
cm.ExecuteNonQuery();
dbcon.closeConnection();
MessageBox.Show("Vehicle type has been successfully deleted.", title, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
loadManageVeh();
}
#endregion vehicule method
#region cost method
//
//
private void dgvcostof_CellContentClick_1(object sender, DataGridViewCellEventArgs e)
{
string colname = dgvcostof.Columns[e.ColumnIndex].Name;
if (colname == "EditC")
{
Managecostofgoodsold manageCG = new Managecostofgoodsold(this);
manageCG.lblCid.Text = dgvcostof.Rows[e.RowIndex].Cells[1].Value.ToString();
manageCG.txtname.Text = dgvcostof.Rows[e.RowIndex].Cells[2].Value.ToString();
manageCG.textBox_cost.Text = dgvcostof.Rows[e.RowIndex].Cells[3].Value.ToString();
manageCG.dob_costofg.Value = DateTime.Parse(dgvcostof.Rows[e.RowIndex].Cells[4].Value.ToString());
manageCG.btnsave.Enabled = false;
manageCG.btnupdate.Enabled = true;
manageCG.ShowDialog();
}
else if (colname == "DeleteC")
{
try
{
if (MessageBox.Show("Are you sure you want to delete this cost of good sold?", "Delete Cost of good sold", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
cm = new SqlCommand("DELETE FROM tbcostofgoodsold WHERE id LIKE '" + dgvcostof.Rows[e.RowIndex].Cells[1].Value.ToString() + "'", dbcon.getConnection());
dbcon.openConnection();
cm.ExecuteNonQuery();
dbcon.closeConnection();
MessageBox.Show("Cost of good sold type has been successfully deleted.", title, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
loadManageCostofGood();
}
public void loadManageCostofGood()
{
try
{
int i = 0;
dgvcostof.Rows.Clear();
dgvcostof.ReadOnly = false;
cm = new SqlCommand("SELECT * FROM tbCostofgoodsold WHERE CONCAT(costname,cost) LIKE '%" + txtSearchCoG.Text + "%'", dbcon.getConnection());
dbcon.openConnection();
dr = cm.ExecuteReader();
while (dr.Read())
{
i++;
dgvcostof.Rows.Add(
i,
dr[0].ToString(),
dr[1].ToString(),
dr[2].ToString(),
DateTime.Parse(dr[3].ToString()).ToShortDateString()
);
}
dbcon.closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
#endregion vehicule method
#region cost method
private void txtSearchCoG_TextChanged(object sender, EventArgs e)
{
loadManageCostofGood();
}
private void btnCostofGood_Click(object sender, EventArgs e)
{
Managecostofgoodsold manageCG = new Managecostofgoodsold(this);
manageCG.btnsave.Enabled = true;
manageCG.btnupdate.Enabled = false;
manageCG.ShowDialog();
}
#endregion cost method
#region company name
public void loadcompanyname()
{
try
{
dbcon.openConnection();
cm = new SqlCommand("SELECT * FROM tbcompanyDetail", dbcon.getConnection());
dr = cm.ExecuteReader();
dr.Read();
if (dr.HasRows)
{
hasdetail = true;
txtcomName.Text = dr[0].ToString();
txtcomadress.Text = dr[1].ToString();
}
else
{
txtcomName.Clear();
txtcomadress.Clear();
}
dr.Close();
dbcon.closeConnection();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btnsave_Click(object sender, EventArgs e)
{
try
{
if (MessageBox.Show("Are you sure you want to save this company detail?", "Save company detail", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
if (hasdetail)
{
dbcon.executeQuery("UPDATE tbcompanyDetail SET name='" + txtcomName.Text + "', address='" + txtcomadress.Text + "'");
}
else
{
dbcon.executeQuery("INSERT INTO tbcompanyDetail(name,address)VALUES('" + txtcomName.Text + "','" + txtcomadress.Text + "')");
}
MessageBox.Show("Company detail has been successfully saved.", title);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, title);
}
}
private void btncancel_Click(object sender, EventArgs e)
{
txtcomadress.Clear();
txtcomName.Clear();
}
#endregion company name
}
}

View File

@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnAddCG.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAe1JREFUSEvt
lcGrTVEYxZ+hl/ASmZhhLpEiSSnJSL2UKK/8C6aEkUyUMjCR8kfIyPgNlIHyBzz35da9Z6+1rhvhHX21
j/b99r7ce982YtWqe/a3vu9322efc5aW/uufE8n2b9hzMvmGWvacTL4htaRzPt9J0nmfrwYmecbnO0k6
W8hXAy9sz8nkG2rZczL5hlr2nEy+oZY9J5NvqGXPyeQbatlzMvmGeSzpFck1AEdI7gshrIzH40MAbnhO
Jj9sRr8HcMrPmkuFoX/ym+FwuMd6JR2QdJfkOslP0euS7kja71kTKgz+nT80TbPX+gBcIzkqZDpL0lXP
+6VCwzRvAThpPZJW7TqtT5m3JenKBLBTAVC0pNeWty0kiaT2g+TzZN4L96caO3gT0BjMIFN80/IA7qfr
AO7F9RNN0xyLvx+kGTsHnjsP+GjMv3Prp9u23UFyM27tY0kv0wyAt547M7jf7++KeVNau23rbdvuDCFc
IPnQ3QozPHdmcK/XW455udp3AE8BXBoMBrstA+Ciy9BzbdCGh5QM4HDMT2x1vJ+P4vUXO3yj0eigyxS3
+jLJjx5U8JrlC4fruq2HEI53jxvJW2mmeLjmVeFx+irpSVcn+Yzkt6RefpwWUZUXyKLa9itzO0o/EpI+
m6d9JH4CwXGOG93l3EIAAAAASUVORK5CYII=
</value>
</data>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="EditC.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="EditC.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAPdJREFUOE9j
YBi24GFFheDT4uK9T0tKytHlSAab9+8X2bDvyJlLfRMvPS0u/v+0uLgMXQ3R4P9MBv7nS2xWb9h75POG
fUe+XO3uPfe0uHg3ujqiwP+ZDCL/ZzBc+D+D4f+rRSY3N+w/8mnDnsP73+bm8qGrJQj+z2cQ+D+D4STI
MBh+udRizardZ/jR1RIEyC5Dwvv/L2LgRldLEOAwbB91DZvJwIWuliAYNYwMwxYxcP+fhZrO/s9gOA7K
GehqiQL/D7AF/t/Nduz/TIbfFLkMBtb0qW76s5/jP9TQ3RQZBgJ5GTa31vaqrfp/gN3z/yoGTnT54QMA
vHPkT62Q73IAAAAASUVORK5CYII=
</value>
</data>
<metadata name="DeleteC.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="DeleteC.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAdVJREFUOE/V
ks1LG0EYh70IgmdB8H/wItmoiFmyayvYBlciGNEKiuix9FaRolZ7UHtoECkIfiDiSYk0ETSiFkFQkfYQ
rVQSRUOrqGtwZ7dpd5NfyQSCrqvtgBd/8DAwHw/vzDtZWY8ifPUn3iEFLhxSQGai2h8wu2gckr/WIQXA
jj9kdtF4fdE231f1jJXpddlauBgxaoMRHcyE9R2zi+a6sC94QakfP0JJ//dbiN4wm3B29xdl8ouKkU3l
FqNbhE3YvyxTmqeitBozro+HbMKRDYXydvEcL2dObvBhLcb+hmPbhDKwIqPDf5ahe+Ecy1tRHL7uxKVU
iZhLwGnLC5WINtHs+2dTGieO8Xn7B2T3MxCBM2Mogt19p9CqKXPf4oi86QIR7dBXlxAf6IHW5EZiNwTV
40pJT8HzOZZCq6ak5DGXSCuK93QAhoGkpkIPzoNUFNN5RSzmLYV3cVVZRg9qLR4kCQGSSfweGsxcXRW5
Kibhz/ZWeuXE3g6MtRXE3/cB+h9ojTUpoU54W35GOL+PvOCBzt9HuPfdKyJyCbXuOcjT0nRVDVJ6dHLe
jIwlimCvIwJ3ea3DCdXJDaOoKNu897+DJ4W5itNWnvp/mrOkwLz+4PkL1Vfnxr1mt44AAAAASUVORK5C
YII=
</value>
</data>
<data name="btnaddVT.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAq5JREFUSEvt
lrlrFVEUxqNi4b42IrhgIS4oKKI27mDlgoVo51+giAQ7OzVEtHEjoIWFhYJLIaJlCovgvnVKRMMz5OXN
3PN9856KmCvncSfMO0zem8SAFn7wFTn3nO/37mTmzrS1/de/Iu/9ROfcUpLbkiTZ1cwkt2uvzticUck5
t05EXgLwo/Qr59x6m1dIcRwvATCoQSSfA7gOoKuFr5F8FuCDmmFzW0pELoeAs3atlXRGZ0Xkql1rKQB9
AH7GcTzbrrVSpVKZqbMASnZtRJFcSfJg2O1Tu15UAHrCv+kQyVV2vUEKBTCUuUnO256iAnAukzNEcrXt
GZb3fgqATgC9YWC/7SkqAHtCxifN1Gzb06AA/xiG3utdOhYDeBcyeltCVSQfZS7RuJjkY8tpEMkVdmgM
FgBvwq4rab3pDUZyS05QEStM743l2Tzv/QQR2QjgBsmt2bUG5YB7qtXqAhE5nAOrW3fmnFtWq9UWAjgd
jtgygK8AukXkaKlUmmpZDbJgEbmkdRGZa4HBrwcGBqYDOALgW6b+A8CvzN99IrLB8oZlwSGgS0RepDWS
NwGcVMdxvDhA7Q/aGy59toYkSdZYZl05YOua935y2h9F0SKt2T6SO0iesnUAb733kxqpxcDqbgC3y+Xy
DD3ZctabgdX7LLcoWP1F+zOHRIObgUXkiuWOBtwTwATwXUR264s/tV4NfRqyNRE5HmYfWm5hsD4yARyF
F8BFAB2p9fFKkmRntgbgbpi/b7l54E7n3BzrKIpmBfAT+6PUzS41gDOWW//GMk3tticrACdygpuCR3ye
ReRY+H7qSHc2kvr7+6eJyGcb3gR8x2aMWSKyiWTVANpF5JapfQAwz87/kZIkWavHZ84OU98DMN/OjYv0
RCJ5IHzi6jv9AYALADbb3r+q3+sleGtKNvKHAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Edit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="Edit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAPdJREFUOE9j
YBi24GFFheDT4uK9T0tKytHlSAab9+8X2bDvyJlLfRMvPS0u/v+0uLgMXQ3R4P9MBv7nS2xWb9h75POG
fUe+XO3uPfe0uHg3ujqiwP+ZDCL/ZzBc+D+D4f+rRSY3N+w/8mnDnsP73+bm8qGrJQj+z2cQ+D+D4STI
MBh+udRizardZ/jR1RIEyC5Dwvv/L2LgRldLEOAwbB91DZvJwIWuliAYNYwMwxYxcP+fhZrO/s9gOA7K
GehqiQL/D7AF/t/Nduz/TIbfFLkMBtb0qW76s5/jP9TQ3RQZBgJ5GTa31vaqrfp/gN3z/yoGTnT54QMA
vHPkT62Q73IAAAAASUVORK5CYII=
</value>
</data>
<metadata name="Delete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="Delete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAdVJREFUOE/V
ks1LG0EYh70IgmdB8H/wItmoiFmyayvYBlciGNEKiuix9FaRolZ7UHtoECkIfiDiSYk0ETSiFkFQkfYQ
rVQSRUOrqGtwZ7dpd5NfyQSCrqvtgBd/8DAwHw/vzDtZWY8ifPUn3iEFLhxSQGai2h8wu2gckr/WIQXA
jj9kdtF4fdE231f1jJXpddlauBgxaoMRHcyE9R2zi+a6sC94QakfP0JJ//dbiN4wm3B29xdl8ouKkU3l
FqNbhE3YvyxTmqeitBozro+HbMKRDYXydvEcL2dObvBhLcb+hmPbhDKwIqPDf5ahe+Ecy1tRHL7uxKVU
iZhLwGnLC5WINtHs+2dTGieO8Xn7B2T3MxCBM2Mogt19p9CqKXPf4oi86QIR7dBXlxAf6IHW5EZiNwTV
40pJT8HzOZZCq6ak5DGXSCuK93QAhoGkpkIPzoNUFNN5RSzmLYV3cVVZRg9qLR4kCQGSSfweGsxcXRW5
Kibhz/ZWeuXE3g6MtRXE3/cB+h9ojTUpoU54W35GOL+PvOCBzt9HuPfdKyJyCbXuOcjT0nRVDVJ6dHLe
jIwlimCvIwJ3ea3DCdXJDaOoKNu897+DJ4W5itNWnvp/mrOkwLz+4PkL1Vfnxr1mt44AAAAASUVORK5C
YII=
</value>
</data>
</root>