From 0db1698097c11732544ec0fc50df0d7bb847a85b Mon Sep 17 00:00:00 2001 From: Userok Date: Fri, 27 Dec 2024 14:47:18 +0300 Subject: [PATCH] --- Demka-2/Demka-2.csproj | 6 + Demka-2/Use/Service.cs | 1 + Demka-2/Views/MainWindow.axaml | 13 +- Demka-2/Views/MainWindow.axaml.cs | 33 ++++++ Demka-2/Views/ServiceFormWindow.axaml | 31 +++++ Demka-2/Views/ServiceFormWindow.axaml.cs | 145 +++++++++++++++++++++++ 6 files changed, 228 insertions(+), 1 deletion(-) create mode 100644 Demka-2/Views/ServiceFormWindow.axaml create mode 100644 Demka-2/Views/ServiceFormWindow.axaml.cs diff --git a/Demka-2/Demka-2.csproj b/Demka-2/Demka-2.csproj index efc7117..8e6ff42 100644 --- a/Demka-2/Demka-2.csproj +++ b/Demka-2/Demka-2.csproj @@ -20,4 +20,10 @@ + + + + ServiceFormWindow.axaml + + diff --git a/Demka-2/Use/Service.cs b/Demka-2/Use/Service.cs index 7f7f1a6..d7d2402 100644 --- a/Demka-2/Use/Service.cs +++ b/Demka-2/Use/Service.cs @@ -5,6 +5,7 @@ public class Service { public Guid guid { get; set; } public string Name { get; set; } + public string ImagePath { get; set; } public decimal Price { get; set; } public decimal Discount { get; set; } public int Duration { get; set; } diff --git a/Demka-2/Views/MainWindow.axaml b/Demka-2/Views/MainWindow.axaml index 49334ce..89dce4b 100644 --- a/Demka-2/Views/MainWindow.axaml +++ b/Demka-2/Views/MainWindow.axaml @@ -15,11 +15,22 @@ + + +