Da
This commit is contained in:
commit
13de11ebeb
13
.idea/.idea.Demka_Snova_1/.idea/.gitignore
vendored
Normal file
13
.idea/.idea.Demka_Snova_1/.idea/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/.idea.Demka_Snova_1.iml
|
||||||
|
/modules.xml
|
||||||
|
/contentModel.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
16
.idea/.idea.Demka_Snova_1/.idea/avalonia.xml
Normal file
16
.idea/.idea.Demka_Snova_1/.idea/avalonia.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AvaloniaProject">
|
||||||
|
<option name="projectPerEditor">
|
||||||
|
<map>
|
||||||
|
<entry key="AdminWindow.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="AdminWindow/.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="App.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="FunctionalWindow.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="MainWindow.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="SellerWindow.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
<entry key="StarshiyWindow.axaml" value="Demka_Snova_1.csproj" />
|
||||||
|
</map>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
4
.idea/.idea.Demka_Snova_1/.idea/encodings.xml
Normal file
4
.idea/.idea.Demka_Snova_1/.idea/encodings.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||||
|
</project>
|
8
.idea/.idea.Demka_Snova_1/.idea/indexLayout.xml
Normal file
8
.idea/.idea.Demka_Snova_1/.idea/indexLayout.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/.idea.Demka_Snova_1/.idea/vcs.xml
Normal file
6
.idea/.idea.Demka_Snova_1/.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
BIN
.vs/Demka_Snova/v17/.wsuo
Normal file
BIN
.vs/Demka_Snova/v17/.wsuo
Normal file
Binary file not shown.
35
.vs/Demka_Snova/v17/DocumentLayout.json
Normal file
35
.vs/Demka_Snova/v17/DocumentLayout.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"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}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
.vs/Demka_Snova_1/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
.vs/Demka_Snova_1/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/Demka_Snova_1/v17/.futdcache.v2
Normal file
BIN
.vs/Demka_Snova_1/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
.vs/Demka_Snova_1/v17/.suo
Normal file
BIN
.vs/Demka_Snova_1/v17/.suo
Normal file
Binary file not shown.
295
.vs/Demka_Snova_1/v17/DocumentLayout.backup.json
Normal file
295
.vs/Demka_Snova_1/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,295 @@
|
|||||||
|
{
|
||||||
|
"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\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:mainwindow.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\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:mainwindow.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\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:addzakazwindow.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\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative: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\\sellerwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\sellerwindow.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\\sellerwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\sellerwindow.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\\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\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.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\\app.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.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\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:program.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\\oknaroley\\starshiywindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\starshiywindow.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\\app.manifest||{FA3CD31E-987B-443A-9B81-186104E8DAC1}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.manifest||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\date\\timer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\date\\timer.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\\date\\dostup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\date\\dostup.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}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 16,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 14,
|
||||||
|
"Title": "Dostup.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Dostup.cs",
|
||||||
|
"RelativeDocumentMoniker": "Hardik\\Date\\Dostup.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Dostup.cs",
|
||||||
|
"RelativeToolTip": "Hardik\\Date\\Dostup.cs",
|
||||||
|
"ViewState": "AgIAAAEAAAAAAAAAAAAcwBIAAAAdAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:21:40.51Z",
|
||||||
|
"IsPinned": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$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": 11,
|
||||||
|
"Title": "StarshiyWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAhAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:30:37.162Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 8,
|
||||||
|
"Title": "App.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "App.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml.cs",
|
||||||
|
"RelativeToolTip": "App.axaml.cs",
|
||||||
|
"ViewState": "AgIAAAYAAAAAAAAAAAAuwBEAAAApAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:15:55.152Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 7,
|
||||||
|
"Title": "App.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml",
|
||||||
|
"RelativeDocumentMoniker": "App.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml",
|
||||||
|
"RelativeToolTip": "App.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T08:15:25.695Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 9,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Program.cs",
|
||||||
|
"RelativeToolTip": "Program.cs",
|
||||||
|
"ViewState": "AgIAAAUAAAAAAAAAAAAuwBAAAAAgAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:14:52.359Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 12,
|
||||||
|
"Title": "app.manifest",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\app.manifest",
|
||||||
|
"RelativeDocumentMoniker": "app.manifest",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\app.manifest",
|
||||||
|
"RelativeToolTip": "app.manifest",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001203|",
|
||||||
|
"WhenOpened": "2025-02-11T08:14:48.497Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 3,
|
||||||
|
"Title": "AddZakazWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "AddZakazWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "AddZakazWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAiAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:05:05.174Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 2,
|
||||||
|
"Title": "AddZakazWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "AddZakazWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml",
|
||||||
|
"RelativeToolTip": "AddZakazWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:59:35.653Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 15,
|
||||||
|
"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": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T07:45:14.088Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 4,
|
||||||
|
"Title": "SellerWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAADAAAAAAAAAAAAAAwDwAAAAYAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T07:38:47.754Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 5,
|
||||||
|
"Title": "SellerWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\SellerWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml",
|
||||||
|
"RelativeToolTip": "OknaRoley\\SellerWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:35:40.121Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "MainWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "MainWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml",
|
||||||
|
"RelativeToolTip": "MainWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:34:57.205Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "MainWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "MainWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml.cs*",
|
||||||
|
"RelativeToolTip": "MainWindow.axaml.cs*",
|
||||||
|
"ViewState": "AgIAAA0AAAAAAAAAAAAAABwAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:53:31.225Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 10,
|
||||||
|
"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": "AgIAAAAAAAAAAAAAAAAAAAMAAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:21:58.99Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 13,
|
||||||
|
"Title": "Timer.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Timer.cs",
|
||||||
|
"RelativeDocumentMoniker": "Hardik\\Date\\Timer.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Timer.cs",
|
||||||
|
"RelativeToolTip": "Hardik\\Date\\Timer.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAADMAAAABAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:20:30.391Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 6,
|
||||||
|
"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",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
295
.vs/Demka_Snova_1/v17/DocumentLayout.json
Normal file
295
.vs/Demka_Snova_1/v17/DocumentLayout.json
Normal file
@ -0,0 +1,295 @@
|
|||||||
|
{
|
||||||
|
"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\\addzakazwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:addzakazwindow.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\\addzakazwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative: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\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:mainwindow.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\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:mainwindow.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\\sellerwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\sellerwindow.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\\sellerwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\sellerwindow.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\\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\\app.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.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\\app.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.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\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:program.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\\oknaroley\\starshiywindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:oknaroley\\starshiywindow.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\\app.manifest||{FA3CD31E-987B-443A-9B81-186104E8DAC1}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:app.manifest||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|c:\\users\\pc\\source\\repos\\demka_snova\\hardik\\date\\timer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\date\\timer.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\\date\\dostup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}|Demka_Snova_1.csproj|solutionrelative:hardik\\date\\dostup.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}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 11,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 14,
|
||||||
|
"Title": "Dostup.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Dostup.cs",
|
||||||
|
"RelativeDocumentMoniker": "Hardik\\Date\\Dostup.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Dostup.cs",
|
||||||
|
"RelativeToolTip": "Hardik\\Date\\Dostup.cs",
|
||||||
|
"ViewState": "AgIAAAEAAAAAAAAAAAAcwBIAAAAdAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:21:40.51Z",
|
||||||
|
"IsPinned": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$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": 11,
|
||||||
|
"Title": "StarshiyWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "OknaRoley\\StarshiyWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAhAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:30:37.162Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 8,
|
||||||
|
"Title": "App.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "App.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml.cs",
|
||||||
|
"RelativeToolTip": "App.axaml.cs",
|
||||||
|
"ViewState": "AgIAAAYAAAAAAAAAAAAuwBEAAAApAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:15:55.152Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 7,
|
||||||
|
"Title": "App.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml",
|
||||||
|
"RelativeDocumentMoniker": "App.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\App.axaml",
|
||||||
|
"RelativeToolTip": "App.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T08:15:25.695Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 9,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Program.cs",
|
||||||
|
"RelativeToolTip": "Program.cs",
|
||||||
|
"ViewState": "AgIAAAUAAAAAAAAAAAAuwBAAAAAgAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:14:52.359Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 12,
|
||||||
|
"Title": "app.manifest",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\app.manifest",
|
||||||
|
"RelativeDocumentMoniker": "app.manifest",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\app.manifest",
|
||||||
|
"RelativeToolTip": "app.manifest",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001203|",
|
||||||
|
"WhenOpened": "2025-02-11T08:14:48.497Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "AddZakazWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "AddZakazWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "AddZakazWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAADQAAAAAAAAAAAAAADoAAAAXAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T08:05:05.174Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "AddZakazWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "AddZakazWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\AddZakazWindow.axaml",
|
||||||
|
"RelativeToolTip": "AddZakazWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:59:35.653Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 15,
|
||||||
|
"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": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T07:45:14.088Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 4,
|
||||||
|
"Title": "SellerWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "OknaRoley\\SellerWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAADAAAAAAAAAAAAAAwDwAAAAYAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-11T07:38:47.754Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 5,
|
||||||
|
"Title": "SellerWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "OknaRoley\\SellerWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\OknaRoley\\SellerWindow.axaml",
|
||||||
|
"RelativeToolTip": "OknaRoley\\SellerWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:35:40.121Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 2,
|
||||||
|
"Title": "MainWindow.axaml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml",
|
||||||
|
"RelativeDocumentMoniker": "MainWindow.axaml",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml",
|
||||||
|
"RelativeToolTip": "MainWindow.axaml",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||||
|
"WhenOpened": "2025-02-11T07:34:57.205Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 3,
|
||||||
|
"Title": "MainWindow.axaml.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml.cs",
|
||||||
|
"RelativeDocumentMoniker": "MainWindow.axaml.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\MainWindow.axaml.cs",
|
||||||
|
"RelativeToolTip": "MainWindow.axaml.cs",
|
||||||
|
"ViewState": "AgIAAA0AAAAAAAAAAAAAABwAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:53:31.225Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 10,
|
||||||
|
"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": "AgIAAAAAAAAAAAAAAAAAAAMAAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:21:58.99Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 13,
|
||||||
|
"Title": "Timer.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Timer.cs",
|
||||||
|
"RelativeDocumentMoniker": "Hardik\\Date\\Timer.cs",
|
||||||
|
"ToolTip": "C:\\Users\\PC\\source\\repos\\Demka_Snova\\Hardik\\Date\\Timer.cs",
|
||||||
|
"RelativeToolTip": "Hardik\\Date\\Timer.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAADMAAAABAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2025-02-05T10:20:30.391Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 6,
|
||||||
|
"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",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
.vs/ProjectEvaluation/demka_snova_1.metadata.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/demka_snova_1.metadata.v9.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/demka_snova_1.projects.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/demka_snova_1.projects.v9.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/demka_snova_1.strings.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/demka_snova_1.strings.v9.bin
Normal file
Binary file not shown.
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"CurrentProjectSetting": null
|
||||||
|
}
|
7
.vs/VSWorkspaceState.json
Normal file
7
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\Demka_Snova_1.sln",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
19
AddZakazWindow.axaml
Normal file
19
AddZakazWindow.axaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<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>
|
77
AddZakazWindow.axaml.cs
Normal file
77
AddZakazWindow.axaml.cs
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
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 = null,
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
10
App.axaml
Normal file
10
App.axaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<Application xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
x:Class="Demka_Snova_1.App"
|
||||||
|
RequestedThemeVariant="Default">
|
||||||
|
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
||||||
|
|
||||||
|
<Application.Styles>
|
||||||
|
<FluentTheme />
|
||||||
|
</Application.Styles>
|
||||||
|
</Application>
|
23
App.axaml.cs
Normal file
23
App.axaml.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls.ApplicationLifetimes;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1;
|
||||||
|
|
||||||
|
public partial class App : Application
|
||||||
|
{
|
||||||
|
public override void Initialize()
|
||||||
|
{
|
||||||
|
AvaloniaXamlLoader.Load(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnFrameworkInitializationCompleted()
|
||||||
|
{
|
||||||
|
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||||
|
{
|
||||||
|
desktop.MainWindow = new MainWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
base.OnFrameworkInitializationCompleted();
|
||||||
|
}
|
||||||
|
}
|
40
Demka_Snova_1.csproj
Normal file
40
Demka_Snova_1.csproj
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Avalonia" Version="11.2.3" />
|
||||||
|
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
|
||||||
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.3" />
|
||||||
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
|
||||||
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.3">
|
||||||
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
||||||
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<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>
|
||||||
|
<Folder Include="Hardik\UI\" />
|
||||||
|
<Folder Include="OknaFunciy\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<UpToDateCheckInput Remove="AdminWindow\.axaml" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="AddZakazWindow.axaml.cs">
|
||||||
|
<DependentUpon>AddZakazWindow.axaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
16
Demka_Snova_1.sln
Normal file
16
Demka_Snova_1.sln
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demka_Snova_1", "Demka_Snova_1.csproj", "{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{DBCADAE1-5DB2-4BCF-ABC7-D80BB8249B56}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
2
Demka_Snova_1.sln.DotSettings.user
Normal file
2
Demka_Snova_1.sln.DotSettings.user
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ATextBox_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003F43273dba3ac6a4e11aefe78fbbccf5d36f07542ca37ecebffb25c95d1a1c16b_003FTextBox_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
|
32
Hardik/Conect/Conector.cs
Normal file
32
Hardik/Conect/Conector.cs
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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("Host=45.67.56.214;Port=5421;Username=user16;Password=dZ28IVE5;Database=user16");
|
||||||
|
}
|
||||||
|
public DbSet<SotrudnikDao> sotrudnik { get; set; }
|
||||||
|
public DbSet<uslugiDao> uslugi { get; set; }
|
||||||
|
public DbSet<ordersDao> orders { get; set; }
|
||||||
|
public DbSet<KlientDao> klient { get; set; }
|
||||||
|
public DbSet<historyDao> history { get; set; }
|
||||||
|
|
||||||
|
protected override void OnModelCreating(ModelBuilder mb)
|
||||||
|
{
|
||||||
|
mb.Entity<KlientDao>().HasKey(klient => klient.Code);
|
||||||
|
mb.Entity<KlientDao>().Property(klient => klient.Code).ValueGeneratedOnAdd();
|
||||||
|
|
||||||
|
mb.Entity<ordersDao>().HasKey(orders => orders.ID);
|
||||||
|
mb.Entity<ordersDao>().Property(orders => orders.ID).ValueGeneratedOnAdd();
|
||||||
|
|
||||||
|
mb.Entity<uslugiDao>().HasKey(uslugi => uslugi.ID);
|
||||||
|
|
||||||
|
mb.Entity<SotrudnikDao>().HasKey(sotrudnik => sotrudnik.ID);
|
||||||
|
|
||||||
|
mb.Entity<historyDao>().HasKey(history => history.id);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
14
Hardik/Conect/Dao/KlientDao.cs
Normal file
14
Hardik/Conect/Dao/KlientDao.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
|
||||||
|
public class KlientDao
|
||||||
|
{
|
||||||
|
public string Fio { get; set; }
|
||||||
|
public int Code { get; set; }
|
||||||
|
public string Passport { get; set; }
|
||||||
|
public DateTime Birth_Day { get; set; }
|
||||||
|
public string Adres { get; set; }
|
||||||
|
public string Email { get; set; }
|
||||||
|
public string password { get; set; }
|
||||||
|
}
|
14
Hardik/Conect/Dao/SotrudnikDao.cs
Normal file
14
Hardik/Conect/Dao/SotrudnikDao.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
|
||||||
|
public class SotrudnikDao
|
||||||
|
{
|
||||||
|
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;}
|
||||||
|
}
|
11
Hardik/Conect/Dao/historyDao.cs
Normal file
11
Hardik/Conect/Dao/historyDao.cs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
|
||||||
|
public class historyDao
|
||||||
|
{
|
||||||
|
public int id { get; set; }
|
||||||
|
public string user { get; set; }
|
||||||
|
public DateTime Vhod { get; set; }
|
||||||
|
public string status { get; set; }
|
||||||
|
}
|
16
Hardik/Conect/Dao/ordersDao.cs
Normal file
16
Hardik/Conect/Dao/ordersDao.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
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 string DateClose {get;set;}
|
||||||
|
public decimal Prokat {get;set;}
|
||||||
|
}
|
9
Hardik/Conect/Dao/uslugiDao.cs
Normal file
9
Hardik/Conect/Dao/uslugiDao.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
namespace Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
|
||||||
|
public class uslugiDao
|
||||||
|
{
|
||||||
|
public int ID { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Code { get; set; }
|
||||||
|
public int PrisePerH { get; set; }
|
||||||
|
}
|
20
Hardik/Date/Dostup.cs
Normal file
20
Hardik/Date/Dostup.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace Demka_Snova_1.Hardik.Date;
|
||||||
|
|
||||||
|
public interface ISeller
|
||||||
|
{
|
||||||
|
void FormatZakaz();
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface IStarshiy
|
||||||
|
{
|
||||||
|
void FormatZakaz();
|
||||||
|
void AcceptZakaz();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface IAdmin
|
||||||
|
{
|
||||||
|
void FormatOtchots();
|
||||||
|
void KontrolUsero();
|
||||||
|
void KontrolMateriala();
|
||||||
|
}
|
52
Hardik/Date/Timer.cs
Normal file
52
Hardik/Date/Timer.cs
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
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 минуты
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
21
MainWindow.axaml
Normal file
21
MainWindow.axaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<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.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>
|
80
MainWindow.axaml.cs
Normal file
80
MainWindow.axaml.cs
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Interactivity;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
using Demka_Snova_1.OknaRoley;
|
||||||
|
namespace Demka_Snova_1;
|
||||||
|
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
private bool _isPasswordVisible = false;
|
||||||
|
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TogglePasswordButton_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
_isPasswordVisible = !_isPasswordVisible;
|
||||||
|
PasswordTextBox.PasswordChar = _isPasswordVisible ? '\0' : '*';
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SelerTest_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var login = new SellerWindow();
|
||||||
|
login.Show();
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoginButton_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
string username = UsernameTextBox.Text;
|
||||||
|
string password = PasswordTextBox.Text;
|
||||||
|
if (IsValidUser(username, password))
|
||||||
|
{
|
||||||
|
Window nextWindow = null;
|
||||||
|
switch (SotrudnikDao.Pozition)
|
||||||
|
{
|
||||||
|
case "Продавец":
|
||||||
|
nextWindow = new SellerWindow();
|
||||||
|
break;
|
||||||
|
case "Старший смены":
|
||||||
|
nextWindow = new StarshiyWindow();
|
||||||
|
break;
|
||||||
|
case "Администратор":
|
||||||
|
nextWindow = new AdminWindow();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
ShowError("Неизвестная роль пользователя");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
nextWindow.Show();
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
16
OknaRoley/AdminWindow.axaml
Normal file
16
OknaRoley/AdminWindow.axaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<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.OknaRoley.AdminWindow"
|
||||||
|
Title="AdminWindow">
|
||||||
|
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||||
|
<StackPanel>
|
||||||
|
<Button Content="сформировать заказ" Click="FormatOtchot_Click"/>
|
||||||
|
<Button Content="сформировать заказ" Click="KontrolUserov_Click"/>
|
||||||
|
<Button Content="сформировать заказ" Click="KontrolMateriala_Click"/>
|
||||||
|
<Button Content="Выход" Click="Exitka"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
34
OknaRoley/AdminWindow.axaml.cs
Normal file
34
OknaRoley/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.OknaRoley;
|
||||||
|
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
}
|
14
OknaRoley/SellerWindow.axaml
Normal file
14
OknaRoley/SellerWindow.axaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<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.OknaRoley.SellerWindow"
|
||||||
|
Title="SellerWindow">
|
||||||
|
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||||
|
<StackPanel>
|
||||||
|
<Button Content="сформировать заказ" Click="FormatZakaz_Click"/>
|
||||||
|
<Button Content="Выход" Click="Exitka"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
77
OknaRoley/SellerWindow.axaml.cs
Normal file
77
OknaRoley/SellerWindow.axaml.cs
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Interactivity;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1.OknaRoley;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
using Demka_Snova_1.Hardik.Conect.Dao;
|
||||||
|
using Demka_Snova_1;
|
||||||
|
using Demka_Snova_1.OknaFunciy;
|
||||||
|
|
||||||
|
public partial class SellerWindow : Window
|
||||||
|
{
|
||||||
|
private static int nextId = 50;
|
||||||
|
private List<ordersDao> ordersList = new List<ordersDao>();
|
||||||
|
Random random = new Random();
|
||||||
|
public SellerWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void FormatZakaz()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
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 = "ClientCode", // Çäåñü ìîæíî äîáàâèòü ëîãèêó äëÿ ïîëó÷åíèÿ êîäà êëèåíòà
|
||||||
|
Usluga = "ServiceName", // Çäåñü ìîæíî äîáàâèòü ëîãèêó äëÿ ïîëó÷åíèÿ óñëóãè
|
||||||
|
Status = "Íîâûé", // Ñòàòóñ çàêàçà ïî óìîë÷àíèþ
|
||||||
|
DateClose = null, // Äàòà çàêðûòèÿ çàêàçà, ïîêà íå óñòàíîâëåíà
|
||||||
|
Prokat = 0.0m // Ñòîèìîñòü ïðîêàòà, ïîêà íå óñòàíîâëåíà
|
||||||
|
};
|
||||||
|
|
||||||
|
// Äîáàâëåíèå çàêàçà â ñïèñîê
|
||||||
|
ordersList.Add(Order);
|
||||||
|
|
||||||
|
// Âûâîä èíôîðìàöèè î çàêàçå (äëÿ òåñòèðîâàíèÿ)
|
||||||
|
Console.WriteLine($"New Order Added: ID={Order.ID}, CodeZakaz={Order.CodeZakaz}, Date={Order.Date}, Time={Order.Time}");
|
||||||
|
}
|
||||||
|
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
AvaloniaXamlLoader.Load(this);
|
||||||
|
}
|
||||||
|
}
|
15
OknaRoley/StarshiyWindow.axaml
Normal file
15
OknaRoley/StarshiyWindow.axaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<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.OknaRoley.StarshiyWindow"
|
||||||
|
Title="StarshiyWindow">
|
||||||
|
<Grid VerticalAlignment="Top" HorizontalAlignment="Center">
|
||||||
|
<StackPanel>
|
||||||
|
<Button Content="сформировать заказ" Click="FormatZakaz_Click"/>
|
||||||
|
<Button Content="принять товар" Click="PrinatZakaz_Click"/>
|
||||||
|
<Button Content="Выход" Click="Exitka"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
30
OknaRoley/StarshiyWindow.axaml.cs
Normal file
30
OknaRoley/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.OknaRoley;
|
||||||
|
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
}
|
21
Program.cs
Normal file
21
Program.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Demka_Snova_1.OknaRoley;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
// Initialization code. Don't use any Avalonia, third-party APIs or any
|
||||||
|
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
|
||||||
|
// yet and stuff might break.
|
||||||
|
[STAThread]
|
||||||
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
||||||
|
.StartWithClassicDesktopLifetime(args);
|
||||||
|
|
||||||
|
// Avalonia configuration, don't remove; also used by visual designer.
|
||||||
|
public static AppBuilder BuildAvaloniaApp()
|
||||||
|
=> AppBuilder.Configure<App>()
|
||||||
|
.UsePlatformDetect()
|
||||||
|
.WithInterFont()
|
||||||
|
.LogToTrace();
|
||||||
|
}
|
18
app.manifest
Normal file
18
app.manifest
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<!-- This manifest is used on Windows only.
|
||||||
|
Don't remove it as it might cause problems with window transparency and embedded controls.
|
||||||
|
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="Demka_Snova_1.Desktop"/>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- A list of the Windows versions that this application has been tested on
|
||||||
|
and is designed to work with. Uncomment the appropriate elements
|
||||||
|
and Windows will automatically select the most compatible environment. -->
|
||||||
|
|
||||||
|
<!-- Windows 10 -->
|
||||||
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
</assembly>
|
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.dll
Normal file
BIN
bin/Debug/net8.0/Avalonia.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Azure.Core.dll
Normal file
BIN
bin/Debug/net8.0/Azure.Core.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Azure.Identity.dll
Normal file
BIN
bin/Debug/net8.0/Azure.Identity.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Demka_Snova_1
Normal file
BIN
bin/Debug/net8.0/Demka_Snova_1
Normal file
Binary file not shown.
1653
bin/Debug/net8.0/Demka_Snova_1.deps.json
Normal file
1653
bin/Debug/net8.0/Demka_Snova_1.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/net8.0/Demka_Snova_1.dll
Normal file
BIN
bin/Debug/net8.0/Demka_Snova_1.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Demka_Snova_1.exe
Normal file
BIN
bin/Debug/net8.0/Demka_Snova_1.exe
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Demka_Snova_1.pdb
Normal file
BIN
bin/Debug/net8.0/Demka_Snova_1.pdb
Normal file
Binary file not shown.
14
bin/Debug/net8.0/Demka_Snova_1.runtimeconfig.json
Normal file
14
bin/Debug/net8.0/Demka_Snova_1.runtimeconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Normal file
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/MicroCom.Runtime.dll
Normal file
BIN
bin/Debug/net8.0/MicroCom.Runtime.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.SqlServer.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.SqlServer.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Identity.Client.Extensions.Msal.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Identity.Client.Extensions.Msal.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Identity.Client.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.Identity.Client.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll
Normal file
BIN
bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll
Normal 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