Compare commits
2 Commits
c664ef8be2
...
62a5c37073
Author | SHA1 | Date | |
---|---|---|---|
62a5c37073 | |||
bf2aa0e8fe |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3,20 +3,8 @@
|
||||
"WorkspaceRootPath": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addservices.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addservices.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addservices.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addservices.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addclient.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addclient.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\models\\service.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:models\\service.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addclient.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addclient.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@ -26,7 +14,7 @@
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 4,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
@ -36,55 +24,16 @@
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "AddClient.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml.cs",
|
||||
"RelativeDocumentMoniker": "Functions\\AddClient.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml.cs",
|
||||
"RelativeToolTip": "Functions\\AddClient.axaml.cs",
|
||||
"ViewState": "AgIAAA8AAAAAAAAAAAAAAB4AAABpAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:26:35.443Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "Service.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Models\\Service.cs",
|
||||
"RelativeDocumentMoniker": "Models\\Service.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Models\\Service.cs",
|
||||
"RelativeToolTip": "Models\\Service.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAASAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:14:09.14Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "AddServices.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml.cs",
|
||||
"RelativeDocumentMoniker": "Functions\\AddServices.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml.cs",
|
||||
"RelativeToolTip": "Functions\\AddServices.axaml.cs",
|
||||
"ViewState": "AgIAACoAAAAAAAAAAAAAADgAAABfAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:11:59.898Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "AddServices.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AddServices.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml",
|
||||
"RelativeToolTip": "Functions\\AddServices.axaml",
|
||||
"Title": "AddClient.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AddClient.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml",
|
||||
"RelativeToolTip": "Functions\\AddClient.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T12:11:58.617Z",
|
||||
"WhenOpened": "2025-02-26T20:55:34.609Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
|
@ -3,20 +3,8 @@
|
||||
"WorkspaceRootPath": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addservices.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addservices.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addservices.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addservices.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addclient.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addclient.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\models\\service.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:models\\service.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|c:\\users\\vivobook 15x\\desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\demo_blagodat\\demo_blagodat\\demo_blagodat\\functions\\addclient.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{B40AB1D5-A904-4458-95A8-8CAE49BE0884}|demo_blagodat.csproj|solutionrelative:functions\\addclient.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@ -26,7 +14,7 @@
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 4,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
@ -36,55 +24,16 @@
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "AddClient.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml.cs",
|
||||
"RelativeDocumentMoniker": "Functions\\AddClient.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml.cs",
|
||||
"RelativeToolTip": "Functions\\AddClient.axaml.cs",
|
||||
"ViewState": "AgIAAA8AAAAAAAAAAAAAAB4AAABpAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:26:35.443Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "Service.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Models\\Service.cs",
|
||||
"RelativeDocumentMoniker": "Models\\Service.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Models\\Service.cs",
|
||||
"RelativeToolTip": "Models\\Service.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAASAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:14:09.14Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "AddServices.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml.cs",
|
||||
"RelativeDocumentMoniker": "Functions\\AddServices.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml.cs",
|
||||
"RelativeToolTip": "Functions\\AddServices.axaml.cs",
|
||||
"ViewState": "AgIAACoAAAAAAAAAAAAAADgAAABfAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T12:11:59.898Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "AddServices.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AddServices.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddServices.axaml",
|
||||
"RelativeToolTip": "Functions\\AddServices.axaml",
|
||||
"Title": "AddClient.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AddClient.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u043D\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438\\Demo_Blagodat\\demo_blagodat\\demo_blagodat\\Functions\\AddClient.axaml",
|
||||
"RelativeToolTip": "Functions\\AddClient.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T12:11:58.617Z",
|
||||
"WhenOpened": "2025-02-26T20:55:34.609Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
|
@ -5,31 +5,50 @@
|
||||
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="700"
|
||||
x:Class="demo_blagodat.AddClient"
|
||||
Title="Добавление клиентов">
|
||||
<StackPanel Spacing="15" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Spacing="15" HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите ФИО"/>
|
||||
<TextBox Width="300" x:Name="TextName"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Введите ФИО"/>
|
||||
<TextBox Width="300" x:Name="TextName"/>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите Паспорт"/>
|
||||
<TextBox Width="300" x:Name="TextPassport"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Введите Паспорт"/>
|
||||
<TextBox Width="300" x:Name="TextPassport"/>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите дату рождения (цифрами)"/>
|
||||
<TextBox Width="300" x:Name="TextBirthday"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Spacing="15" HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
|
||||
<TextBlock Text="Введите дату рождения"/>
|
||||
<TextBox Width="300" x:Name="TextBirthday"/>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите адрес"/>
|
||||
<TextBox Width="300" Height="90" x:Name="TextAddress" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Введите адрес"/>
|
||||
<TextBox Width="300" Height="90" x:Name="TextAddress"/>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите Email"/>
|
||||
<TextBox Width="300" x:Name="TextEmail"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Введите Email"/>
|
||||
<TextBox Width="300" x:Name="TextEmail"/>
|
||||
|
||||
<TextBlock Text="Введите пароль"/>
|
||||
<TextBox Width="300" x:Name="TextPassword"></TextBox>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Введите пароль"/>
|
||||
<TextBox Width="300" x:Name="TextPassword"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Vertical" VerticalAlignment="Center">
|
||||
<Button Content="Добавить Клиента" Click="addclient"/>
|
||||
<Button Content="Вернуться назад" Click="ExitClik"/>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<TextBlock x:Name="MesAddError" Text="" Foreground="Red"/>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Vertical">
|
||||
<TextBlock x:Name="MesAddError" Text="" Foreground="Red"/>
|
||||
<TextBlock x:Name="MesAdd" Text="" Foreground="Green"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
@ -50,15 +50,14 @@ public partial class AddServices : Window
|
||||
{
|
||||
using (User11Context db = new User11Context()) // Ïîäêëþ÷åíèå ê ÁÄ
|
||||
{
|
||||
// Ñîáèðàåì âñå äàííûå ñ ýêðàíà
|
||||
int id = db.Services.Max(it => it.ServiceId) + 1; // áåð¸ì ìàêñèìàëüíûé ID ïîëüçîâàòåëÿ è ïðèáàâëÿåì "1"
|
||||
string name = TextName.Text;
|
||||
string code = TextCode.Text;
|
||||
decimal price = Math.Round(decimal.Parse(TextPrice.Text.Replace(".", ",")), 2);
|
||||
|
||||
|
||||
if (name != null && code != null) // Ïðîâåðÿåì íàëè÷èå âàæíûõ äàííûõ
|
||||
if (TextName.Text != null && TextCode.Text != null) // Ïðîâåðÿåì íàëè÷èå âàæíûõ äàííûõ
|
||||
{
|
||||
// Ñîáèðàåì âñå äàííûå ñ ýêðàíà
|
||||
int id = db.Services.Max(it => it.ServiceId) + 1; // áåð¸ì ìàêñèìàëüíûé ID ïîëüçîâàòåëÿ è ïðèáàâëÿåì "1"
|
||||
string name = TextName.Text;
|
||||
string code = TextCode.Text;
|
||||
decimal price = Math.Round(decimal.Parse(TextPrice.Text.Replace(".", ",")), 2);
|
||||
|
||||
Service newService = new Service() // ñîçäà¸ì ýêçåìïëÿð êëàññà Service
|
||||
{
|
||||
// Ñîîòíîñèì ïåðåìåííûå
|
||||
@ -79,7 +78,7 @@ public partial class AddServices : Window
|
||||
|
||||
// Ìåíÿåì ñîîáùåíèå
|
||||
MesAddError.Text = "";
|
||||
MesAdd.Text = "Óñëóãà äîáàëåíà";
|
||||
MesAdd.Text = "Óñëóãà äîáàâëåíà";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -5,13 +5,25 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="demo_blagodat.Admin"
|
||||
Title="Администратор">
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день, "/>
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Добавить клиента" Click="addClient"/>
|
||||
<Button Content="Сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Добавить услугу" Click="addServices"/>
|
||||
<Button Content="Удалить заказ" />
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день, " HorizontalAlignment="Center" VerticalAlignment="Top"/>
|
||||
<StackPanel HorizontalAlignment="Stretch">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Ваши данные:"/>
|
||||
<TextBlock x:Name="Username" Text="Ваше имя: "/>
|
||||
<TextBlock x:Name="Userlogin" Text="Ваш логин: "/>
|
||||
<TextBlock x:Name="Userpassword" Text="Ваш пароль: "/>
|
||||
<TextBlock x:Name="Userposition" Text="Ваша должность: "/>
|
||||
</StackPanel>
|
||||
<TextBlock Text="Доступные функции" HorizontalAlignment="Center"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Добавить клиента" Click="addClient"/>
|
||||
<Button Content="Сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Добавить услугу" Click="addServices"/>
|
||||
<Button Content="Удалить заказ" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
|
@ -17,8 +17,16 @@ public partial class Admin : Window
|
||||
{
|
||||
InitializeComponent();
|
||||
User = user; // Передаём данные пользователя в публичную переменную
|
||||
Hellouser();// Ïðèâåòñòâóåì ïîëüçîâàòåëÿ
|
||||
}
|
||||
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName; // Приветствуем пользователя
|
||||
private void Hellouser()
|
||||
{
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName;
|
||||
Username.Text = Username.Text + User.EmployeesName;
|
||||
Userlogin.Text = Userlogin.Text + User.EmployeesLogin;
|
||||
Userpassword.Text = Userpassword.Text + User.EmployeesPassword;
|
||||
Userposition.Text = Userposition.Text + User.EmployeesPosition;
|
||||
}
|
||||
|
||||
// Выход в окно Авторизации
|
||||
|
@ -5,12 +5,24 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="demo_blagodat.Seller"
|
||||
Title="Продавец">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день "/>
|
||||
<Button Content="Сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Добавить клиента" Click="addClient"/>
|
||||
<Button Content="Добавить услугу" Click="addServices"/>
|
||||
<StackPanel Orientation="Vertical" >
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день, " HorizontalAlignment="Center" VerticalAlignment="Top"/>
|
||||
<StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Ваши данные:"/>
|
||||
<TextBlock x:Name="Username" Text="Ваше имя: "/>
|
||||
<TextBlock x:Name="Userlogin" Text="Ваш логин: "/>
|
||||
<TextBlock x:Name="Userpassword" Text="Ваш пароль: "/>
|
||||
<TextBlock x:Name="Userposition" Text="Ваша должность: "/>
|
||||
</StackPanel>
|
||||
<TextBlock Text="Доступные функции" HorizontalAlignment="Center"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Content="Сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Добавить клиента" Click="addClient"/>
|
||||
<Button Content="Добавить услугу" Click="addServices"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
|
@ -17,8 +17,18 @@ public partial class Seller : Window
|
||||
{
|
||||
InitializeComponent();
|
||||
User = user; // Ïåðåäà¸ì äàííûå ïîëüçîâàòåëÿ â ïóáëè÷íóþ ïåðåìåííóþ
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName; // Приветствуем пользователя
|
||||
Hellouser(); // Ïðèâåòñòâóåì ïîëüçîâàòåëÿ
|
||||
}
|
||||
|
||||
private void Hellouser()
|
||||
{
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName;
|
||||
Username.Text = Username.Text + User.EmployeesName;
|
||||
Userlogin.Text = Userlogin.Text + User.EmployeesLogin;
|
||||
Userpassword.Text = Userpassword.Text + User.EmployeesPassword;
|
||||
Userposition.Text = Userposition.Text + User.EmployeesPosition;
|
||||
}
|
||||
|
||||
private void ExitAuthorization(object sender, RoutedEventArgs e)
|
||||
{
|
||||
new Authorization().Show();
|
||||
|
@ -5,12 +5,24 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="demo_blagodat.ShiftSupervisor"
|
||||
Title="Начальник смены">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день "/>
|
||||
<Button Content="сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Добавить пользователя" Click="addClient"/>
|
||||
<Button Content="принять товар"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
<StackPanel>
|
||||
<TextBlock x:Name="HelloUser" Text="Добрый день, " HorizontalAlignment="Center" VerticalAlignment="Top"/>
|
||||
<StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Ваши данные:"/>
|
||||
<TextBlock x:Name="Username" Text="Ваше имя: "/>
|
||||
<TextBlock x:Name="Userlogin" Text="Ваш логин: "/>
|
||||
<TextBlock x:Name="Userpassword" Text="Ваш пароль: "/>
|
||||
<TextBlock x:Name="Userposition" Text="Ваша должность: "/>
|
||||
</StackPanel>
|
||||
<TextBlock Text="Доступные функции" HorizontalAlignment="Center"/>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||
<Button Content="сформировать заказ" Click="createOrder"/>
|
||||
<Button Content="Добавить пользователя" Click="addClient"/>
|
||||
<Button Content="принять товар"/>
|
||||
<Button Content="Выход из приложения" Click="Exit"/>
|
||||
<Button Content="Выход" Click="ExitAuthorization"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
|
@ -14,8 +14,18 @@ public partial class ShiftSupervisor : Window
|
||||
{
|
||||
InitializeComponent();
|
||||
User = user; // Ïåðåäà¸ì äàííûå ïîëüçîâàòåëÿ â ïóáëè÷íóþ ïåðåìåííóþ
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName; // Приветствуем пользователя
|
||||
Hellouser(); // Ïðèâåòñòâóåì ïîëüçîâàòåëÿ
|
||||
}
|
||||
|
||||
private void Hellouser()
|
||||
{
|
||||
HelloUser.Text = HelloUser.Text + User.EmployeesName;
|
||||
Username.Text = Username.Text + User.EmployeesName;
|
||||
Userlogin.Text = Userlogin.Text + User.EmployeesLogin;
|
||||
Userpassword.Text = Userpassword.Text + User.EmployeesPassword;
|
||||
Userposition.Text = Userposition.Text + User.EmployeesPosition;
|
||||
}
|
||||
|
||||
private void ExitAuthorization(object sender, RoutedEventArgs e)
|
||||
{
|
||||
new Authorization().Show();
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("demo_blagodat")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d1d788fca6acff374ece2a3f894c126aabaf8e6c")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+bf2aa0e8fea7c15adaa02c2776b3d962a64d8238")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("demo_blagodat")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("demo_blagodat")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@ -1 +1 @@
|
||||
9617ed43f2c6ccc36d2b3aaebf7dea43f410ae6f72ffcca46d342c98745650e9
|
||||
c5d4e7921b679a2380e31fa33a79d982d08a3ac86ee1a7bb5fda26b1f08fd78e
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user