add Images
@ -2,9 +2,29 @@
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\models\\agent.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:models\\agent.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\agenteidtor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\agenteidtor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\addproduct.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\addproduct.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\producteditor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\producteditor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@ -14,22 +34,80 @@
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 1,
|
||||
"SelectedChildIndex": 4,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "ProductEditor.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\ProductEditor.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\ProductEditor.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\ProductEditor.axaml",
|
||||
"RelativeToolTip": "Functions\\ProductEditor.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T07:00:07.307Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"DocumentIndex": 2,
|
||||
"Title": "AgentEidtor.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AgentEidtor.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AgentEidtor.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AgentEidtor.axaml",
|
||||
"RelativeToolTip": "Functions\\AgentEidtor.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T07:00:00.816Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "AddProduct.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AddProduct.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AddProduct.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AddProduct.axaml",
|
||||
"RelativeToolTip": "Functions\\AddProduct.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-25T20:22:51.155Z",
|
||||
"WhenOpened": "2025-03-28T06:59:48.941Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "MainWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "MainWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml.cs",
|
||||
"RelativeToolTip": "MainWindow.axaml.cs",
|
||||
"ViewState": "AgIAABUAAAAAAAAAAAAAABUAAAA2AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-28T06:21:39.951Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Agent.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Models\\Agent.cs",
|
||||
"RelativeDocumentMoniker": "Models\\Agent.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Models\\Agent.cs*",
|
||||
"RelativeToolTip": "Models\\Agent.cs*",
|
||||
"ViewState": "AgIAABkAAAAAAAAAAAAAACcAAABoAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-28T06:16:39.303Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml",
|
||||
"RelativeDocumentMoniker": "MainWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml",
|
||||
"RelativeToolTip": "MainWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T06:15:56.849Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
|
@ -5,6 +5,26 @@
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\addproduct.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\addproduct.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:mainwindow.axaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\models\\agent.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:models\\agent.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:mainwindow.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\agenteidtor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\agenteidtor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|c:\\users\\vivobook 15x\\desktop\\task21_03\\agents\\functions\\producteditor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}",
|
||||
"RelativeMoniker": "D:0:0:{1AA52C8A-C24C-4BD8-BEB3-14407C2D8866}|Agents.csproj|solutionrelative:functions\\producteditor.axaml||{6D5344A2-2FCD-49DE-A09D-6A14FD1B1224}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@ -14,11 +34,31 @@
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 1,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "ProductEditor.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\ProductEditor.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\ProductEditor.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\ProductEditor.axaml",
|
||||
"RelativeToolTip": "Functions\\ProductEditor.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T07:00:07.307Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "AgentEidtor.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AgentEidtor.axaml",
|
||||
"RelativeDocumentMoniker": "Functions\\AgentEidtor.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AgentEidtor.axaml",
|
||||
"RelativeToolTip": "Functions\\AgentEidtor.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T07:00:00.816Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
@ -29,7 +69,45 @@
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Functions\\AddProduct.axaml",
|
||||
"RelativeToolTip": "Functions\\AddProduct.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-25T20:22:51.155Z",
|
||||
"WhenOpened": "2025-03-28T06:59:48.941Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.axaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml.cs",
|
||||
"RelativeDocumentMoniker": "MainWindow.axaml.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml.cs",
|
||||
"RelativeToolTip": "MainWindow.axaml.cs",
|
||||
"ViewState": "AgIAABUAAAAAAAAAAAAAAB8AAAAkAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-28T06:21:39.951Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "Agent.cs",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Models\\Agent.cs",
|
||||
"RelativeDocumentMoniker": "Models\\Agent.cs",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\Models\\Agent.cs",
|
||||
"RelativeToolTip": "Models\\Agent.cs",
|
||||
"ViewState": "AgIAABYAAAAAAAAAAAAAACAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-28T06:16:39.303Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "MainWindow.axaml",
|
||||
"DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml",
|
||||
"RelativeDocumentMoniker": "MainWindow.axaml",
|
||||
"ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\Task21_03\\Agents\\MainWindow.axaml",
|
||||
"RelativeToolTip": "MainWindow.axaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-03-28T06:15:56.849Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
|
403
Agents.csproj
@ -7,6 +7,13 @@
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="Assets\Gl.png" />
|
||||
<None Remove="Assets\Icon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AvaloniaResource Include="Assets\Icon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="11.2.1" />
|
||||
@ -25,4 +32,400 @@
|
||||
</PackageReference>
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.10" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Assets\agents\agent_1.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_10.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_100.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_101.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_102.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_103.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_104.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_105.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_106.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_107.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_108.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_109.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_11.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_110.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_111.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_112.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_113.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_114.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_115.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_116.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_117.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_118.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_119.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_12.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_120.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_121.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_122.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_123.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_124.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_125.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_126.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_127.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_128.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_129.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_13.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_130.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_14.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_15.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_16.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_17.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_18.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_19.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_2.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_20.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_21.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_22.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_23.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_24.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_25.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_26.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_27.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_28.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_29.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_3.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_30.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_31.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_32.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_33.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_34.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_35.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_36.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_37.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_38.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_39.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_4.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_40.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_41.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_42.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_43.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_44.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_45.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_46.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_47.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_48.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_49.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_5.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_50.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_51.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_52.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_53.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_54.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_55.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_56.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_57.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_58.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_59.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_6.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_60.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_61.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_62.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_63.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_64.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_65.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_66.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_67.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_68.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_69.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_7.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_70.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_71.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_72.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_73.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_74.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_75.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_76.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_77.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_78.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_79.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_8.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_80.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_81.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_82.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_83.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_84.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_85.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_86.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_87.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_88.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_89.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_9.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_90.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_91.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_92.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_93.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_94.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_95.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_96.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_97.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_98.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\agent_99.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Assets\agents\picture.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
BIN
Assets/agents/picture.png
Normal file
After Width: | Height: | Size: 185 B |
@ -5,6 +5,7 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="600"
|
||||
x:Class="Agents.AddProduct"
|
||||
Title="Добавление и удаление продукта"
|
||||
Icon="avares://Agents/Assets/Icon.ico"
|
||||
xmlns:vm="using:Agents.Models">
|
||||
<DockPanel Background="Blue">
|
||||
<ScrollViewer>
|
||||
|
@ -5,6 +5,7 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Agents.AgentEidtor"
|
||||
Title="Изменить агента"
|
||||
Icon="avares://Agents/Assets/Icon.ico"
|
||||
xmlns:vm="using:Agents.Models">
|
||||
|
||||
<DockPanel Background="Blue">
|
||||
|
@ -4,9 +4,10 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Agents.ProductEditor"
|
||||
Title="ProductEditor"
|
||||
Title="Редактировать продукт"
|
||||
Icon="avares://Agents/Assets/Icon.ico"
|
||||
xmlns:vm="using:Agents.Models">
|
||||
<DockPanel>
|
||||
<DockPanel Background="Blue">
|
||||
<StackPanel Spacing="15">
|
||||
|
||||
<StackPanel>
|
||||
@ -40,8 +41,8 @@
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel>
|
||||
<Button Content="Изменить данные" Click="ButtonUpdate" HorizontalAlignment="Center"/>
|
||||
<Button Content="Назад" Click="Exit" HorizontalAlignment="Center"/>
|
||||
<Button Content="Изменить данные" Click="ButtonUpdate" HorizontalAlignment="Center" Background="Green"/>
|
||||
<Button Content="Назад" Click="Exit" HorizontalAlignment="Center" Background="Green"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Name="Status" Text="" HorizontalAlignment="Center"/>
|
||||
|
239
MainWindow.axaml
@ -2,131 +2,146 @@
|
||||
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"
|
||||
mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="450"
|
||||
x:Class="Agents.MainWindow"
|
||||
Title="Агенты"
|
||||
Icon="avares://Agents/Assets/Icon.ico"
|
||||
xmlns:vm="using:Agents.Models">
|
||||
<DockPanel Background="Blue">
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
|
||||
<Border
|
||||
Background="Red"
|
||||
CornerRadius="10"
|
||||
Padding="20"
|
||||
Margin="20"
|
||||
Width="750"
|
||||
Height="300"
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Border
|
||||
Background="Red"
|
||||
CornerRadius="10"
|
||||
Padding="20"
|
||||
Margin="20"
|
||||
Width="450"
|
||||
Height="400"
|
||||
>
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Список компаний" HorizontalAlignment="Center" Foreground="Blue"/>
|
||||
<ListBox Name="ListAgents" SelectionChanged="ListBox_SelectionChanged">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="vm:Agent">
|
||||
<StackPanel>
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Список компаний" HorizontalAlignment="Center" Foreground="Blue"/>
|
||||
<ListBox Name="ListAgents" SelectionChanged="ListBox_SelectionChanged">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="vm:Agent">
|
||||
<StackPanel Background="White" HorizontalAlignment="Center" Width="400" Height="350" Spacing="5">
|
||||
|
||||
<StackPanel HorizontalAlignment="Left">
|
||||
<Image
|
||||
Height="200"
|
||||
Width="200"
|
||||
Name="MainImage"
|
||||
Source="{Binding getLogo}"
|
||||
/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название компании: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Title}" Foreground="Black"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="ИНН: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Inn}" Foreground="Black"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="КПП: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Kpp}" Foreground="Black"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Имя директора: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Directorname}" Foreground="Black"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Телефон компании: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Phone}" Foreground="Black"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Адрес: " Foreground="Black"/>
|
||||
<TextBlock Text="{Binding Address}" Foreground="Black" Width="350" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название компании: "/>
|
||||
<TextBlock Text="{Binding Title}"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="ИНН: "/>
|
||||
<TextBlock Text="{Binding Inn}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="КПП: "/>
|
||||
<TextBlock Text="{Binding Kpp}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Имя директора: "/>
|
||||
<TextBlock Text="{Binding Directorname}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Телефон компании: "/>
|
||||
<TextBlock Text="{Binding Phone}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Адрес: "/>
|
||||
<TextBlock Text="{Binding Address}"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
|
||||
<TextBlock Text="Веберите сортировку списка продуктов компании" HorizontalAlignment="Center"/>
|
||||
<ComboBox Name="SortListAgents" HorizontalAlignment="Center">
|
||||
<ComboBoxItem>
|
||||
без. сорт.
|
||||
</ComboBoxItem>
|
||||
<ComboBoxItem>
|
||||
убыв.
|
||||
</ComboBoxItem>
|
||||
<ComboBoxItem>
|
||||
возраст.
|
||||
</ComboBoxItem>
|
||||
</ComboBox>
|
||||
|
||||
<Border
|
||||
Background="Red"
|
||||
CornerRadius="10"
|
||||
Padding="20"
|
||||
Margin="20"
|
||||
Width="750"
|
||||
Height="300"
|
||||
>
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Товары продавца" HorizontalAlignment="Center" Foreground="Blue"/>
|
||||
<ListBox Name="ListProducts" SelectionChanged="ListBox_SelectionChanged1">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="vm:Product">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Веберите сортировку списка продуктов компании" HorizontalAlignment="Center"/>
|
||||
<ComboBox Name="SortListAgents" HorizontalAlignment="Center">
|
||||
<ComboBoxItem>
|
||||
без. сорт.
|
||||
</ComboBoxItem>
|
||||
<ComboBoxItem>
|
||||
убыв.
|
||||
</ComboBoxItem>
|
||||
<ComboBoxItem>
|
||||
возраст.
|
||||
</ComboBoxItem>
|
||||
</ComboBox>
|
||||
|
||||
<Border
|
||||
Background="Red"
|
||||
CornerRadius="10"
|
||||
Padding="20"
|
||||
Margin="20"
|
||||
Width="450"
|
||||
Height="400"
|
||||
>
|
||||
<ScrollViewer>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Товары продавца" HorizontalAlignment="Center" Foreground="Blue"/>
|
||||
<ListBox Name="ListProducts" SelectionChanged="ListBox_SelectionChanged1">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="vm:Product">
|
||||
<StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название продукта: "/>
|
||||
<TextBlock Text="{Binding Title}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Описание товара: "/>
|
||||
<TextBlock Text="{Binding Description}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название продукта: "/>
|
||||
<TextBlock Text="{Binding Productionpersoncount}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Артикул: "/>
|
||||
<TextBlock Text="{Binding Articlenumber}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Минимальная цена для агента: "/>
|
||||
<TextBlock Text="{Binding Mincostforagent}"/>
|
||||
<TextBlock Text=" Руб."/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название продукта: "/>
|
||||
<TextBlock Text="{Binding Title}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Описание товара: "/>
|
||||
<TextBlock Text="{Binding Description}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Название продукта: "/>
|
||||
<TextBlock Text="{Binding Productionpersoncount}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Артикул: "/>
|
||||
<TextBlock Text="{Binding Articlenumber}"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Минимальная цена для агента: "/>
|
||||
<TextBlock Text="{Binding Mincostforagent}"/>
|
||||
<TextBlock Text=" Руб."/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<Border
|
||||
Background="Red"
|
||||
CornerRadius="10"
|
||||
@ -144,7 +159,7 @@
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</DockPanel>
|
||||
|
@ -25,7 +25,6 @@ namespace Agents
|
||||
{
|
||||
if(sender != null)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
UpdateInfo();
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Avalonia.Media.Imaging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Agents.Models;
|
||||
@ -25,6 +26,21 @@ public partial class Agent
|
||||
|
||||
public string? Logo { get; set; }
|
||||
|
||||
public Bitmap getLogo
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
return new Bitmap(AppDomain.CurrentDomain.BaseDirectory + "Assets/" + Logo);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new Bitmap(AppDomain.CurrentDomain.BaseDirectory + "Assets/agents/picture.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int Priority { get; set; }
|
||||
|
||||
public virtual ICollection<Agentpriorityhistory> Agentpriorityhistories { get; set; } = new List<Agentpriorityhistory>();
|
||||
|
BIN
bin/Debug/net8.0/Assets/agents/agent_1.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_10.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_100.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_101.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_102.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_103.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_104.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_105.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_106.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_107.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_108.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_109.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_11.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_110.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_111.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_112.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_113.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_114.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_115.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_116.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_117.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_118.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_119.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_12.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_120.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_121.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_122.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_123.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_124.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_125.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_126.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_127.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_128.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_129.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_13.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_130.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_14.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_15.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_16.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_17.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_18.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_19.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_2.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_20.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_21.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_22.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_23.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_24.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_25.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_26.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_27.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_28.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_29.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_3.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_30.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_31.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_32.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_33.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_34.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_35.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_36.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_37.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_38.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_39.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_4.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_40.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_41.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_42.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_43.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_44.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
bin/Debug/net8.0/Assets/agents/agent_45.png
Normal file
After Width: | Height: | Size: 9.3 KiB |