Compare commits
No commits in common. "Devi" and "main" have entirely different histories.
Binary file not shown.
@ -1,35 +0,0 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\",
|
||||
"Documents": [],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
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.
Binary file not shown.
@ -1,248 +0,0 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\conector.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\conector.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\sotrudnikiwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\sotrudnikiwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknaroley\\adminwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\adminwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\sotrudnikiwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\sotrudnikiwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\activitywindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\activitywindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\uslugidao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\uslugidao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addotchotwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addotchotwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addotchotwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addotchotwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\ordersdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\ordersdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknaroley\\adminwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\adminwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\otchotdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\otchotdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Conector.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Conector.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Conector.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Conector.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Conector.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-12T07:11:06.434Z",
|
||||
"IsPinned": true,
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "uslugiDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAmAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-06T10:34:48.881Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "ActivityWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\ActivityWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\ActivityWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\ActivityWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\ActivityWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-06T10:22:21.807Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "AddZakazWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"ViewState": "AgIAACMAAAAAAAAAAAAmwDIAAAA7AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T07:57:26.093Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "ordersDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"ViewState": "AgIAAAYAAAAAAAAAAAAMwA0AAAAUAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T07:54:08.583Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "SotrudnikiWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"ViewState": "AgIAABkAAAAAAAAAAAAAABYAAAAgAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:37:20.724Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"Title": "OtchotDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:44:51.063Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "AddOtchotWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"ViewState": "AgIAAHQAAAAAAAAAAAAAAIMAAAABAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:40:02.074Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "AddOtchotWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:39:58.541Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"Title": "AddZakazWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddZakazWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\AddZakazWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:37:49.704Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "SotrudnikiWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:37:38.242Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "AdminWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaRoley\\AdminWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaRoley\\AdminWindow.axaml.cs",
|
||||
"ViewState": "AgIAAAoAAAAAAAAAAAAiwBUAAAAoAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:35:46.767Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "AdminWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaRoley\\AdminWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml",
|
||||
"RelativeToolTip": "OknaRoley\\AdminWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-05T10:17:22.428Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,248 +0,0 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\conector.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\conector.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\sotrudnikiwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\sotrudnikiwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknaroley\\adminwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\adminwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\sotrudnikiwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\sotrudnikiwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\activitywindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\activitywindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\uslugidao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\uslugidao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addotchotwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addotchotwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addotchotwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addotchotwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\ordersdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\ordersdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknaroley\\adminwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\adminwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\conect\\dao\\otchotdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\conect\\dao\\otchotdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\oknafunciy\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknafunciy\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Conector.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Conector.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Conector.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Conector.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Conector.cs",
|
||||
"ViewState": "AgIAAAUAAAAAAAAAAAAAAAgAAABjAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-12T07:11:06.434Z",
|
||||
"IsPinned": true,
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "uslugiDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\uslugiDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAmAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-06T10:34:48.881Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "ActivityWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\ActivityWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\ActivityWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\ActivityWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\ActivityWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-06T10:22:21.807Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "AddZakazWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\AddZakazWindow.axaml.cs",
|
||||
"ViewState": "AgIAACMAAAAAAAAAAAAmwDIAAAA7AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T07:57:26.093Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "ordersDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\ordersDao.cs",
|
||||
"ViewState": "AgIAAAYAAAAAAAAAAAAMwA0AAAAUAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-05T07:54:08.583Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "SotrudnikiWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\SotrudnikiWindow.axaml.cs",
|
||||
"ViewState": "AgIAABkAAAAAAAAAAAAAABYAAAAgAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:37:20.724Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"Title": "OtchotDao.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"RelativeDocumentMoniker": "Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"RelativeToolTip": "Hardik\\Conect\\Dao\\OtchotDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:44:51.063Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "AddOtchotWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaFunciy\\AddOtchotWindow.axaml.cs",
|
||||
"ViewState": "AgIAAHQAAAAAAAAAAAAAAIMAAAABAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:40:02.074Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "AddOtchotWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\AddOtchotWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:39:58.541Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"Title": "AddZakazWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\AddZakazWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\AddZakazWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\AddZakazWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:37:49.704Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "SotrudnikiWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"RelativeToolTip": "OknaFunciy\\SotrudnikiWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-26T10:37:38.242Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "AdminWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "OknaRoley\\AdminWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml.cs",
|
||||
"RelativeToolTip": "OknaRoley\\AdminWindow.axaml.cs",
|
||||
"ViewState": "AgIAAAoAAAAAAAAAAAAiwBUAAAAoAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-26T10:35:46.767Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "AdminWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml",
|
||||
"RelativeDocumentMoniker": "OknaRoley\\AdminWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\AdminWindow.axaml",
|
||||
"RelativeToolTip": "OknaRoley\\AdminWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-05T10:17:22.428Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"SelectedNode": "\\Demka_Snova_1.sln",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
@ -3,14 +3,12 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Demka_Snova_1.OknaRoley.AdminWindow"
|
||||
Title="Админ понель">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
x:Class="Demka_Snova_1.AdminWindow"
|
||||
Title="AdminWindow">
|
||||
<StackPanel>
|
||||
<Button Content="сформировать отчет" Click="FormatOtchot_Click"/>
|
||||
<Button Content="упровление пользователями" Click="KontrolUserov_Click"/>
|
||||
<Button Content="работа с материалами" Click="KontrolMateriala_Click"/>
|
||||
<Button Content="сформировать заказ" Click="FormatOtchot_Click"/>
|
||||
<Button Content="сформировать заказ" Click="KontrolUserov_Click"/>
|
||||
<Button Content="сформировать заказ" Click="KontrolMateriala_Click"/>
|
||||
<Button Content="Выход" Click="Exitka"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
34
AdminWindow.axaml.cs
Normal file
34
AdminWindow.axaml.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
public partial class AdminWindow : Window
|
||||
{
|
||||
public AdminWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FormatOtchot_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void KontrolUserov_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void KontrolMateriala_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
}
|
@ -9,22 +9,18 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="11.2.5" />
|
||||
<PackageReference Include="Avalonia.Desktop" Version="11.2.5" />
|
||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.5" />
|
||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.5" />
|
||||
<PackageReference Include="Avalonia" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Desktop" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.1"/>
|
||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.1"/>
|
||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.5">
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.1">
|
||||
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
||||
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="itext" Version="9.1.0" />
|
||||
<PackageReference Include="itext7" Version="9.1.0" />
|
||||
<PackageReference Include="iTextSharp" Version="5.5.13.4" />
|
||||
<PackageReference Include="LiveCharts.Core" Version="0.9.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.2" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.2" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.1" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -34,10 +30,4 @@
|
||||
<ItemGroup>
|
||||
<UpToDateCheckInput Remove="AdminWindow\.axaml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="OknaFunciy\AddZakazWindow.axaml.cs">
|
||||
<DependentUpon>AddZakazWindow.axaml</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
@ -1,12 +1,12 @@
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
namespace Demka_Snova_1.Hardik.Conect;
|
||||
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder oB)
|
||||
{
|
||||
oB.UseSqlServer("Server=45.67.56.214,5421;Database=user16;User=user16;Password=dZ28IVE5;");
|
||||
oB.UseSqlServer("Hoi");
|
||||
}
|
||||
public DbSet<SotrudnikDao> sotrudnik { get; set; }
|
||||
public DbSet<uslugiDao> uslugi { get; set; }
|
||||
@ -16,19 +16,17 @@ public class AppDbContext : DbContext
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder mb)
|
||||
{
|
||||
mb.Entity<KlientDao>().ToTable("Klient", "Demo_Blago").HasKey(klient => klient.Code);
|
||||
mb.Entity<KlientDao>().HasKey(klient => klient.Code);
|
||||
mb.Entity<KlientDao>().Property(klient => klient.Code).ValueGeneratedOnAdd();
|
||||
|
||||
mb.Entity<ordersDao>().ToTable("orders", "Demo_Blago").HasKey(orders => orders.ID);
|
||||
|
||||
mb.Entity<ordersDao>().HasKey(orders => orders.ID);
|
||||
mb.Entity<ordersDao>().Property(orders => orders.ID).ValueGeneratedOnAdd();
|
||||
|
||||
|
||||
mb.Entity<uslugiDao>().ToTable("uslugi", "Demo_Blago").HasKey(uslugi => uslugi.id);
|
||||
|
||||
mb.Entity<SotrudnikDao>().ToTable("Sotrudnik", "Demo_Blago").HasKey(sotrudnik => sotrudnik.ID);
|
||||
|
||||
mb.Entity<historyDao>().ToTable("history", "Demo_Blago").HasKey(history => history.id);
|
||||
|
||||
|
||||
mb.Entity<uslugiDao>().HasKey(uslugi => uslugi.ID);
|
||||
|
||||
mb.Entity<SotrudnikDao>().HasKey(sotrudnik => sotrudnik.ID);
|
||||
|
||||
mb.Entity<historyDao>().HasKey(history => history.id);
|
||||
}
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
namespace Demka_Snova_1.Hardik.Conect.Dao
|
||||
{
|
||||
internal class OtchotDao
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
}
|
||||
}
|
@ -1,12 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||
|
||||
public class SotrudnikDao
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Pozition { get; set; }
|
||||
public string Fio { get; set; }
|
||||
public string Login { get; set; }
|
||||
public string Pass { get; set; }
|
||||
public string LaspEnt { get; set; }
|
||||
public string TipeEnt { get; set; }
|
||||
public int ID {get;set;}
|
||||
public static string Pozition {get;set;}
|
||||
public string Fio {get;set;}
|
||||
public static string Login {get;set;}
|
||||
public static string Pass {get;set;}
|
||||
public string LaspEnt {get;set;}
|
||||
public string TipeEnt {get;set;}
|
||||
}
|
@ -4,14 +4,13 @@ namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||
|
||||
public class ordersDao
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string CodeZakaz { get; set; }
|
||||
public DateOnly Date { get; set; }
|
||||
public TimeOnly Time { get; set; }
|
||||
public string CodeClient { get; set; }
|
||||
public string Usluga { get; set; }
|
||||
public string Status { get; set; }
|
||||
public DateOnly? DateClose { get; set; }
|
||||
public decimal Prokat { get; set; }
|
||||
public KlientDao klient { get; set; }
|
||||
public int ID {get;set;}
|
||||
public string CodeZakaz {get;set;}
|
||||
public DateOnly Date {get;set;}
|
||||
public TimeOnly Time {get;set;}
|
||||
public string CodeClient {get;set;}
|
||||
public string Usluga {get;set;}
|
||||
public string Status {get;set;}
|
||||
public string DateClose {get;set;}
|
||||
public decimal Prokat {get;set;}
|
||||
}
|
@ -2,7 +2,7 @@ namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||
|
||||
public class uslugiDao
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int ID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Code { get; set; }
|
||||
public int PrisePerH { get; set; }
|
||||
|
@ -1,20 +1,20 @@
|
||||
namespace Demka_Snova_1.Hardik.Date;
|
||||
|
||||
public interface ISeller
|
||||
{
|
||||
void FormatZakaz();
|
||||
}
|
||||
{
|
||||
void CreateOrder();
|
||||
}
|
||||
|
||||
public interface IStarshiy
|
||||
{
|
||||
void FormatZakaz();
|
||||
void AcceptZakaz();
|
||||
public interface IStarshiy
|
||||
{
|
||||
void CreateOrder();
|
||||
void AcceptGoods();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public interface IAdmin
|
||||
{
|
||||
void FormatOtchots();
|
||||
void KontrolUsero();
|
||||
void KontrolMateriala();
|
||||
}
|
||||
public interface IAdmin
|
||||
{
|
||||
void GenerateReports();
|
||||
void MonitorLoginHistory();
|
||||
void ManageMaterials();
|
||||
}
|
||||
|
@ -1,52 +0,0 @@
|
||||
using System;
|
||||
using System.Timers;
|
||||
|
||||
namespace Demka_Snova_1.Hardik.Date
|
||||
{
|
||||
public class Otchot
|
||||
{
|
||||
private Timer _timer;
|
||||
private int _sessionDuration = 10;
|
||||
private int _warningTime = 5;
|
||||
private int _blockTime = 3;
|
||||
private DateTime _sessionStartTime;
|
||||
|
||||
public event Action<string> OnWarning;
|
||||
public event Action OnSessionEnd;
|
||||
|
||||
public void Start()
|
||||
{
|
||||
_sessionStartTime = DateTime.Now;
|
||||
_timer = new Timer(60000); // 1 минута
|
||||
_timer.Elapsed += TimerOtchot;
|
||||
_timer.Start();
|
||||
}
|
||||
|
||||
private void TimerOtchot(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
var OtchotTime = DateTime.Now - _sessionStartTime;
|
||||
var remainingTime = _sessionDuration - OtchotTime.TotalMinutes;
|
||||
|
||||
if (remainingTime <= _warningTime && remainingTime > 0)
|
||||
{
|
||||
OnWarning?.Invoke($"До окончания сеанса осталось {remainingTime} минут.");
|
||||
}
|
||||
|
||||
if (remainingTime <= 0)
|
||||
{
|
||||
_timer.Stop();
|
||||
OnSessionEnd?.Invoke();
|
||||
BlockLogin();
|
||||
}
|
||||
}
|
||||
|
||||
private void BlockLogin()
|
||||
{
|
||||
|
||||
var blockTime = DateTime.Now.AddMinutes(_blockTime);
|
||||
while (DateTime.Now < blockTime) // Блок на 3 минуты
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -2,20 +2,17 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="1200"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Demka_Snova_1.MainWindow"
|
||||
Title="Вход в систему"
|
||||
Width="650"
|
||||
Height="450">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="UsernameTextBox" Watermark="Логин" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox x:Name="PasswordTextBox" Watermark="Пароль" PasswordChar="*" />
|
||||
<Button x:Name="TogglePasswordButton" Content="👁️" Margin="5, 0" Click="TogglePasswordButton_Click" />
|
||||
</StackPanel>
|
||||
<Button x:Name="LoginButton" Content="Войти" Margin="0,10" Click="LoginButton_Click" />
|
||||
<Button x:Name="SellButton" Content="Продовец" Margin="" Click="SelerTest_Click" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Title="Вход в систему"
|
||||
Width="800"
|
||||
Height="1200">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="UsernameTextBox" Watermark="Логин" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox x:Name="PasswordTextBox" Watermark="Пароль" PasswordChar="*" />
|
||||
<Button x:Name="TogglePasswordButton" Content="👁" Margin="0,5, 0,0" Click="TogglePasswordButton_Click" />
|
||||
</StackPanel>
|
||||
<Button x:Name="LoginButton" Content="Войти" Margin="0,10" Click="LoginButton_Click" />
|
||||
</StackPanel>
|
||||
</Window>
|
||||
|
@ -1,16 +1,18 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect;
|
||||
using Demka_Snova_1.OknaRoley;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
private bool _isPasswordVisible = false;
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
}
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
@ -22,61 +24,54 @@ public partial class MainWindow : Window
|
||||
PasswordTextBox.PasswordChar = _isPasswordVisible ? '\0' : '*';
|
||||
}
|
||||
|
||||
private void SelerTest_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AdminWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private async void LoginButton_Click(object sender, RoutedEventArgs e)
|
||||
private void LoginButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string username = UsernameTextBox.Text;
|
||||
string password = PasswordTextBox.Text;
|
||||
|
||||
using (var context = new AppDbContext())
|
||||
if (IsValidUser(username, password))
|
||||
{
|
||||
var user = await context.sotrudnik
|
||||
.FirstOrDefaultAsync(u => u.Login == username && u.Pass == password);
|
||||
|
||||
if (user != null)
|
||||
Window nextWindow = null;
|
||||
switch (SotrudnikDao.Pozition)
|
||||
{
|
||||
Window nextWindow = null;
|
||||
switch (user.Pozition)
|
||||
{
|
||||
case "Продавец":
|
||||
nextWindow = new SellerWindow();
|
||||
break;
|
||||
case "Старший смены":
|
||||
nextWindow = new StarshiyWindow();
|
||||
break;
|
||||
case "Администратор":
|
||||
nextWindow = new AdminWindow();
|
||||
break;
|
||||
default:
|
||||
await ShowError("Неизвестная роль пользователя");
|
||||
return;
|
||||
}
|
||||
case "Продавец":
|
||||
nextWindow = new SellerWindow();
|
||||
break;
|
||||
case "Старший смены":
|
||||
nextWindow = new StarshiyWindow();
|
||||
break;
|
||||
case "Администратор":
|
||||
nextWindow = new AdminWindow();
|
||||
break;
|
||||
default:
|
||||
ShowError("Неизвестная роль пользователя");
|
||||
return;
|
||||
}
|
||||
|
||||
nextWindow.Show();
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
await ShowError("Неверный логин или пароль");
|
||||
}
|
||||
nextWindow.Show();
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private async Task ShowError(string message)
|
||||
{
|
||||
var dialog = new Window
|
||||
else
|
||||
{
|
||||
Title = "Ошибка",
|
||||
Content = message,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
ShowError("Неверный логин или пароль");
|
||||
}
|
||||
|
||||
async void ShowError(string mes)
|
||||
{
|
||||
var dialog = new Window
|
||||
{
|
||||
Title = "Ошибка",
|
||||
Content = mes,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
}
|
||||
|
||||
bool IsValidUser(string username, string password)
|
||||
{
|
||||
return username == SotrudnikDao.Login && password == SotrudnikDao.Pass;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="600"
|
||||
x:Class="Demka_Snova_1.OknaFunciy.ActivityWindow"
|
||||
Title="Активность сотрудников"
|
||||
Width="800"
|
||||
Height="600">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<DataGrid x:Name="ActivityDataGrid" AutoGenerateColumns="True" Margin="10" />
|
||||
</Grid>
|
||||
</Window>
|
@ -1,20 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class ActivityWindow : Window
|
||||
{
|
||||
public ActivityWindow(List<historyDao> activityList)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FindControl<DataGrid>("ActivityDataGrid").ItemsSource = activityList;
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="Demka_Snova_1.AddOtchotWindow"
|
||||
Title="Добавление отчета"
|
||||
Width="400"
|
||||
Height="300">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="ClientTextBox" Watermark="Код клиента" />
|
||||
<TextBox x:Name="UslugaTextBox" Watermark="Услуга" />
|
||||
<TextBox x:Name="ProkatTextBox" Watermark="Прокат" />
|
||||
<Button x:Name="FormatOtchot" Content="Создать отчет" Margin="0,10" Click="FormatOtchot_Click" />
|
||||
<Button x:Name="ExitButton" Content="Выход" Click="Exitka" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,132 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using Demka_Snova_1.OknaRoley;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using iText.Kernel.Pdf;
|
||||
using iText.Layout.Element;
|
||||
using Document = iText.Layout.Document;
|
||||
using iText.Kernel.Font;
|
||||
using iText.IO.Font;
|
||||
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
public partial class AddOtchotWindow : Window
|
||||
{
|
||||
private List<ordersDao> ordersList;
|
||||
private Random random;
|
||||
private int nextId = 1;
|
||||
|
||||
public AddOtchotWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
random = new Random();
|
||||
ordersList = new List<ordersDao>();
|
||||
}
|
||||
|
||||
private void TestOrders()
|
||||
{
|
||||
ordersList = new List<ordersDao>
|
||||
{
|
||||
new ordersDao { ID = 1, CodeZakaz = "Èâàíîâ Èâàí", Date = DateOnly.FromDayNumber(8), Time = TimeOnly.FromDateTime(DateTime.Now), CodeClient = "123", Usluga = "2023-10-01", Status = "Admin", DateClose = null, Prokat = 23 }
|
||||
};
|
||||
}
|
||||
|
||||
private void FormatOtchot_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string client = this.FindControl<TextBox>("ClientTextBox").Text;
|
||||
string usluga = this.FindControl<TextBox>("UslugaTextBox").Text;
|
||||
string prokatText = this.FindControl<TextBox>("ProkatTextBox").Text;
|
||||
|
||||
if (!decimal.TryParse(prokatText, out decimal prokat))
|
||||
{
|
||||
ShowError("Íåêîððåêòíîå çíà÷åíèå äëÿ ïðîêàòà.");
|
||||
return;
|
||||
}
|
||||
|
||||
string codeZakaz = $"{random.Next(10000, 99999)}.{random.Next(10000, 99999)}";
|
||||
|
||||
int id = nextId++;
|
||||
|
||||
DateOnly date = DateOnly.FromDateTime(DateTime.Now);
|
||||
TimeOnly time = TimeOnly.FromDateTime(DateTime.Now);
|
||||
|
||||
ordersDao Order = new ordersDao
|
||||
{
|
||||
ID = id,
|
||||
CodeZakaz = codeZakaz,
|
||||
Date = date,
|
||||
Time = time,
|
||||
CodeClient = client,
|
||||
Usluga = usluga,
|
||||
Status = "Íîâûé",
|
||||
DateClose = null,
|
||||
Prokat = prokat
|
||||
};
|
||||
|
||||
ordersList.Add(Order);
|
||||
|
||||
SaveOrderToPdf(Order);
|
||||
|
||||
this.FindControl<TextBox>("ClientTextBox").Text = string.Empty;
|
||||
this.FindControl<TextBox>("UslugaTextBox").Text = string.Empty;
|
||||
this.FindControl<TextBox>("ProkatTextBox").Text = string.Empty;
|
||||
|
||||
ShowError("Çàêàç óñïåøíî ñîçäàí è ñîõðàíåí â PDF!");
|
||||
}
|
||||
|
||||
private void SaveOrderToPdf(ordersDao order)
|
||||
{
|
||||
string directoryPath = "C:/Users/PC/source/Dopolnenia/Fails/Doky";
|
||||
string pdfPath = Path.Combine(directoryPath, $"Order_{order.CodeZakaz}.pdf");
|
||||
|
||||
if (!Directory.Exists(directoryPath))
|
||||
{
|
||||
Directory.CreateDirectory(directoryPath);
|
||||
}
|
||||
|
||||
using (PdfWriter writer = new PdfWriter(pdfPath))
|
||||
using (PdfDocument pdf = new PdfDocument(writer))
|
||||
{
|
||||
Document document = new Document(pdf);
|
||||
|
||||
PdfFont font = PdfFontFactory.CreateFont("C:/Windows/Fonts/arial.ttf", PdfEncodings.IDENTITY_H);
|
||||
|
||||
document.Add(new Paragraph($"Îò÷åò î çàêàçå îò {DateOnly.FromDateTime(DateTime.Now)}")
|
||||
.SetTextAlignment(iText.Layout.Properties.TextAlignment.CENTER)
|
||||
.SetFontSize(20)
|
||||
.SetFont(font));
|
||||
|
||||
document.Add(new Paragraph($"Êîä çàêàçà: {order.CodeZakaz}").SetFont(font));
|
||||
document.Add(new Paragraph($"Êîä êëèåíòà: {order.CodeClient}").SetFont(font));
|
||||
document.Add(new Paragraph($"Óñëóãà: {order.Usluga}").SetFont(font));
|
||||
document.Add(new Paragraph($"Ïðîêàò: {order.Prokat}").SetFont(font));
|
||||
document.Add(new Paragraph($"Äàòà: {order.Date}").SetFont(font));
|
||||
document.Add(new Paragraph($"Âðåìÿ: {order.Time}").SetFont(font));
|
||||
document.Add(new Paragraph($"Ñòàòóñ: {order.Status}").SetFont(font));
|
||||
|
||||
document.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AdminWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
async void ShowError(string mes)
|
||||
{
|
||||
var dialog = new Window
|
||||
{
|
||||
Title = "Îøèáêà",
|
||||
Content = mes,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="400"
|
||||
x:Class="Demka_Snova_1.OknaFunciy.AddSotrudnikWindow"
|
||||
Title="Добавление сотрудника"
|
||||
Width="400"
|
||||
Height="400">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="FIO" Watermark="ФИО" />
|
||||
<TextBox x:Name="Pozition" Watermark="Должность" />
|
||||
<TextBox x:Name="Login" Watermark="Логин" />
|
||||
<TextBox x:Name="Pass" Watermark="Пароль" />
|
||||
<Button x:Name="SaveButton" Content="Сохранить" Margin="0,10" Click="SaveSotrudnik" />
|
||||
<Button x:Name="CancelButton" Content="Отмена" Click="Cancel" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,39 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
|
||||
namespace Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class AddSotrudnikWindow : Window
|
||||
{
|
||||
public SotrudnikDao NewSotrudnik { get; set; }
|
||||
|
||||
public AddSotrudnikWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
}
|
||||
|
||||
private void SaveSotrudnik(object sender, RoutedEventArgs e)
|
||||
{
|
||||
NewSotrudnik = new SotrudnikDao
|
||||
{
|
||||
Fio = this.FindControl<TextBox>("FIO").Text,
|
||||
Pozition = this.FindControl<TextBox>("Pozition").Text,
|
||||
Login = this.FindControl<TextBox>("Login").Text,
|
||||
Pass = this.FindControl<TextBox>("Pass").Text,
|
||||
TipeEnt = "User"
|
||||
};
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Cancel(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="1200"
|
||||
x:Class="Demka_Snova_1.OknaFunciy.AddZakazWindow"
|
||||
Title="Сохдание заказа"
|
||||
Width="650"
|
||||
Height="450">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="ClientTextBox" Watermark="Код клиента" />
|
||||
<TextBox x:Name="UslugaTextBox" Watermark="Услуги" />
|
||||
<TextBox x:Name="ProkatTextBox" Watermark="Время проката" />
|
||||
<Button x:Name="FormatZakaz" Content="Создать" Margin="0,10" Click="FormatZakaz_Click" />
|
||||
<Button x:Name="VihodZakaz" Content="Выход" Margin="" Click="Exitka" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,77 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class AddZakazWindow : Window
|
||||
{
|
||||
private static int nextId = 50;
|
||||
private List<ordersDao> ordersList = new List<ordersDao>();
|
||||
Random random = new Random();
|
||||
|
||||
public AddZakazWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FormatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string client = ClientTextBox.Text;
|
||||
string usluga = UslugaTextBox.Text;
|
||||
decimal prokat;
|
||||
|
||||
if (!decimal.TryParse(ProkatTextBox.Text, out prokat))
|
||||
{
|
||||
ShowError("Некорректное значение для проката.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
string codeZakaz = $"{random.Next(10000, 99999)}.{random.Next(10000, 99999)}"; // Генерация кода заказа
|
||||
|
||||
|
||||
int id = nextId++; // Генерация ID
|
||||
|
||||
DateOnly date = DateOnly.FromDateTime(DateTime.Now);
|
||||
TimeOnly time = TimeOnly.FromDateTime(DateTime.Now);
|
||||
|
||||
|
||||
ordersDao Order = new ordersDao // Создание нового заказа
|
||||
{
|
||||
ID = id,
|
||||
CodeZakaz = codeZakaz,
|
||||
Date = date,
|
||||
Time = time,
|
||||
CodeClient = client,
|
||||
Usluga = usluga,
|
||||
Status = "Новый",
|
||||
DateClose = DateOnly.FromDateTime(DateTime.Now),
|
||||
Prokat = prokat
|
||||
};
|
||||
|
||||
|
||||
ordersList.Add(Order); // Добавление в список
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
async void ShowError(string mes)
|
||||
{
|
||||
var dialog = new Window
|
||||
{
|
||||
Title = "Ошибка",
|
||||
Content = mes,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="300"
|
||||
x:Class="Demka_Snova_1.OknaFunciy.ChangeRoleWindow"
|
||||
Title="Изменение роли"
|
||||
Width="400"
|
||||
Height="300">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
<TextBox x:Name="FiO" Watermark="ФИО" IsReadOnly="True" />
|
||||
<TextBox x:Name="Position" Watermark="Должность" />
|
||||
<Button x:Name="SaveButton" Content="Сохранить" Margin="0,10" Click="SavePosition" />
|
||||
<Button x:Name="CancelButton" Content="Отмена" Click="Cancel" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,31 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
|
||||
namespace Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class ChangeRoleWindow : Window
|
||||
{
|
||||
public SotrudnikDao UpdatedSotrudnik { get; private set; }
|
||||
private SotrudnikDao _sotrudnik;
|
||||
|
||||
public ChangeRoleWindow(SotrudnikDao sotrudnik)
|
||||
{
|
||||
InitializeComponent();
|
||||
_sotrudnik = sotrudnik;
|
||||
this.FindControl<TextBox>("FiO").Text = sotrudnik.Fio;
|
||||
this.FindControl<TextBox>("Position").Text = sotrudnik.TipeEnt;
|
||||
}
|
||||
|
||||
private void SavePosition(object sender, RoutedEventArgs e)
|
||||
{
|
||||
_sotrudnik.TipeEnt = this.FindControl<TextBox>("Position").Text;
|
||||
UpdatedSotrudnik = _sotrudnik;
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Cancel(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
x:Class="Demka_Snova_1.OknaFunciy.SotrudnikiWindow"
|
||||
xmlns:local="clr-namespace:Demka_Snova_1.Hardik.Conect.Dao"
|
||||
Title="Управление сотрудниками"
|
||||
Width="800"
|
||||
Height="600">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel Margin="10">
|
||||
|
||||
|
||||
<DataGrid x:Name="SotrudnikiDataGrid"
|
||||
AutoGenerateColumns="True"
|
||||
Margin="0,0,0,10"
|
||||
SelectionMode="Single"
|
||||
x:DataType="local:SotrudnikDao" />
|
||||
|
||||
|
||||
<Button x:Name="AddButton" Content="Добавить сотрудника" Click="AddSotrudnik" />
|
||||
<Button x:Name="DeleteButton" Content="Удалить сотрудника" Click="DeleteSotrudnik" />
|
||||
<Button x:Name="ChangeRoleButton" Content="Изменить роль" Click="ChangeRole" />
|
||||
<Button x:Name="ViewActivityButton" Content="Просмотреть активность" Click="ViewActivity" />
|
||||
<Button x:Name="ExitButton" Content="Выход" Margin="0,10" Click="Exitka" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,116 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using Demka_Snova_1.OknaRoley;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class SotrudnikiWindow : Window
|
||||
{
|
||||
private List<SotrudnikDao> _sotrudnikiList;
|
||||
private List<historyDao> _activityList;
|
||||
private readonly AppDbContext _dbContext;
|
||||
|
||||
public SotrudnikiWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
_dbContext = new AppDbContext();
|
||||
LoadSotrudnikiAsync().Wait();
|
||||
this.DataContext = this;
|
||||
}
|
||||
|
||||
private async Task LoadSotrudnikiAsync() // àñèíõðîííàÿ çàãðóçêà èç ÁÄ
|
||||
{
|
||||
_sotrudnikiList = await _dbContext.sotrudnik.ToListAsync();
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = _sotrudnikiList;
|
||||
}
|
||||
|
||||
private void AddSotrudnik(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var addWindow = new AddSotrudnikWindow();
|
||||
addWindow.Closed += (s, args) =>
|
||||
{
|
||||
if (addWindow.NewSotrudnik != null)
|
||||
{
|
||||
_sotrudnikiList.Add(addWindow.NewSotrudnik);
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = null;
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = _sotrudnikiList;
|
||||
}
|
||||
};
|
||||
addWindow.ShowDialog(this);
|
||||
}
|
||||
|
||||
private void DeleteSotrudnik(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var selectedSotrudnik = GetSelectedSotrudnik();
|
||||
if (selectedSotrudnik != null)
|
||||
{
|
||||
_sotrudnikiList.Remove(selectedSotrudnik);
|
||||
// Îáíîâëåíèå DataGrid
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = null;
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = _sotrudnikiList;
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowError("Âûáåðèòå ñîòðóäíèêà äëÿ óäàëåíèÿ.");
|
||||
}
|
||||
}
|
||||
|
||||
private SotrudnikDao GetSelectedSotrudnik()
|
||||
{
|
||||
return this.FindControl<DataGrid>("SotrudnikiDataGrid").SelectedItem as SotrudnikDao;
|
||||
}
|
||||
|
||||
private void ChangeRole(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var selectedSotrudnik = GetSelectedSotrudnik();
|
||||
if (selectedSotrudnik != null)
|
||||
{
|
||||
var roleWindow = new ChangeRoleWindow(selectedSotrudnik);
|
||||
roleWindow.Closed += (s, args) =>
|
||||
{
|
||||
if (roleWindow.UpdatedSotrudnik != null) // äëÿ îáíîâëåíèÿ ñïèñêà ñîòðóäíåêîâ
|
||||
{
|
||||
var index = _sotrudnikiList.IndexOf(selectedSotrudnik);
|
||||
_sotrudnikiList[index] = roleWindow.UpdatedSotrudnik;
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = null;
|
||||
this.FindControl<DataGrid>("SotrudnikiDataGrid").ItemsSource = _sotrudnikiList;
|
||||
}
|
||||
};
|
||||
roleWindow.ShowDialog(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowError("Âûáåðèòå ñîòðóäíèêà äëÿ èçìåíåíèÿ ðîëè.");
|
||||
}
|
||||
}
|
||||
|
||||
private void ViewActivity(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var activityWindow = new ActivityWindow(_activityList);
|
||||
activityWindow.ShowDialog(this);
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AdminWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
async void ShowError(string mes)
|
||||
{
|
||||
var dialog = new Window
|
||||
{
|
||||
Title = "Îøèáêà",
|
||||
Content = mes,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
}
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.OknaFunciy;
|
||||
|
||||
namespace Demka_Snova_1.OknaRoley;
|
||||
|
||||
public partial class AdminWindow : Window
|
||||
{
|
||||
public AdminWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FormatOtchot_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AddOtchotWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
private void KontrolUserov_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new SotrudnikiWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
private void KontrolMateriala_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
using Avalonia.Interactivity;
|
||||
|
||||
namespace Demka_Snova_1.OknaRoley;
|
||||
using Avalonia.Controls;
|
||||
using Demka_Snova_1;
|
||||
using Demka_Snova_1.OknaFunciy;
|
||||
|
||||
public partial class SellerWindow : Window
|
||||
{
|
||||
public SellerWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FormatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AddZakazWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Demka_Snova_1.Hardik.Conect.Dao"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Demka_Snova_1.OknaRoley.StarshiyWindow"
|
||||
Title="StarshiyWindow">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel>
|
||||
<Button Content="Сформировать заказ" Click="FormatZakaz_Click"/>
|
||||
<Button Content="Принять товар" Click="PrinatZakaz_Click"/>
|
||||
<Button Content="Выход" Click="Exitka"/>
|
||||
|
||||
<ListBox x:Name="OrdersListBox" Width="400" Margin="0,10,0,0">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="local:ordersDao">
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding CodeZakaz}" FontWeight="Bold"/>
|
||||
<TextBlock Text="{Binding Status}"/>
|
||||
<TextBlock Text="{Binding Usluga}"/>
|
||||
<TextBlock Text="{Binding Prokat, StringFormat='Прокат: {0:C}'}"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
@ -1,57 +0,0 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||
using Demka_Snova_1.OknaFunciy;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demka_Snova_1.OknaRoley;
|
||||
|
||||
public partial class StarshiyWindow : Window
|
||||
{
|
||||
private List<ordersDao> ordersList;
|
||||
public StarshiyWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
OrdersListBox.ItemsSource = ordersList;
|
||||
}
|
||||
|
||||
private void FormatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new AddZakazWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
private void PrinatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var selectedOrder = OrdersListBox.SelectedItem as ordersDao;
|
||||
|
||||
if (selectedOrder != null)
|
||||
{
|
||||
selectedOrder.Status = "Â ïðîêàòå";
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowError("Âûáåðèòå çàêàç äëÿ èçìåíåíèÿ ñòàòóñà.");
|
||||
}
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
async void ShowError(string mes)
|
||||
{
|
||||
var dialog = new Window
|
||||
{
|
||||
Title = "Îøèáêà",
|
||||
Content = mes,
|
||||
Width = 300,
|
||||
Height = 200
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
using Avalonia;
|
||||
using System;
|
||||
|
||||
namespace Demka_Snova_1.OknaRoley;
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
class Program
|
||||
{
|
||||
|
@ -3,12 +3,10 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Demka_Snova_1.OknaRoley.SellerWindow"
|
||||
x:Class="Demka_Snova_1.SellerWindow"
|
||||
Title="SellerWindow">
|
||||
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||
<StackPanel>
|
||||
<Button Content="сформировать заказ" Click="FormatZakaz_Click"/>
|
||||
<Button Content="Выход" Click="Exitka"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
36
SellerWindow.axaml.cs
Normal file
36
SellerWindow.axaml.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
public partial class SellerWindow : Window
|
||||
{
|
||||
public SellerWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void FormatZakaz()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void FormatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
FormatZakaz();
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
}
|
||||
}
|
13
StarshiyWindow.axaml
Normal file
13
StarshiyWindow.axaml
Normal file
@ -0,0 +1,13 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Demka_Snova_1.StarshiyWindow"
|
||||
Title="StarshiyWindow">
|
||||
<StackPanel>
|
||||
<Button Content="сформировать заказ" Click="FormatZakaz_Click"/>
|
||||
<Button Content="принять товар" Click="PrinatZakaz_Click"/>
|
||||
<Button Content="Выход" Click="Exitka"/>
|
||||
</StackPanel>
|
||||
</Window>
|
30
StarshiyWindow.axaml.cs
Normal file
30
StarshiyWindow.axaml.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace Demka_Snova_1;
|
||||
|
||||
public partial class StarshiyWindow : Window
|
||||
{
|
||||
public StarshiyWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FormatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void PrinatZakaz_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Exitka(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var login = new MainWindow();
|
||||
login.Show();
|
||||
this.Close();
|
||||
}
|
||||
}
|
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Avalonia.dll
Normal file → Executable file
Binary file not shown.
0
bin/Debug/net8.0/Azure.Core.dll
Normal file → Executable file
0
bin/Debug/net8.0/Azure.Core.dll
Normal file → Executable file
0
bin/Debug/net8.0/Azure.Identity.dll
Normal file → Executable file
0
bin/Debug/net8.0/Azure.Identity.dll
Normal file → Executable file
Binary file not shown.
0
bin/Debug/net8.0/Demka_Snova_1
Normal file → Executable file
0
bin/Debug/net8.0/Demka_Snova_1
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Normal file → Executable file
Binary file not shown.
Binary file not shown.
0
bin/Debug/net8.0/MicroCom.Runtime.dll
Normal file → Executable file
0
bin/Debug/net8.0/MicroCom.Runtime.dll
Normal file → Executable file
0
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Normal file → Executable file
0
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Normal file → Executable file
0
bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file → Executable file
0
bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.SqlServer.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.SqlServer.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Normal file → Executable file
Binary file not shown.
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Normal file → Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Normal file → Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Normal file → Executable file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user