From f9f77d94cf581b6fb6c23db6ee5d16541e33188d Mon Sep 17 00:00:00 2001 From: RomanKamen Date: Wed, 1 Apr 2026 12:05:34 +0500 Subject: [PATCH] ver 1.0 --- WpfApp1/WpfApp1.sln | 25 +++ WpfApp1/WpfApp1/App.config | 6 + WpfApp1/WpfApp1/App.xaml | 79 +++++++++ WpfApp1/WpfApp1/App.xaml.cs | 17 ++ WpfApp1/WpfApp1/Client.cs | 72 +++++++++ WpfApp1/WpfApp1/Coach.cs | 17 ++ WpfApp1/WpfApp1/Entry.cs | 20 +++ WpfApp1/WpfApp1/MainWindow.xaml | 77 +++++++++ WpfApp1/WpfApp1/MainWindow.xaml.cs | 152 ++++++++++++++++++ WpfApp1/WpfApp1/Properties/AssemblyInfo.cs | 52 ++++++ .../WpfApp1/Properties/Resources.Designer.cs | 71 ++++++++ WpfApp1/WpfApp1/Properties/Resources.resx | 117 ++++++++++++++ .../WpfApp1/Properties/Settings.Designer.cs | 30 ++++ WpfApp1/WpfApp1/Properties/Settings.settings | 7 + WpfApp1/WpfApp1/RecordWindow.xaml | 28 ++++ WpfApp1/WpfApp1/RecordWindow.xaml.cs | 68 ++++++++ WpfApp1/WpfApp1/WpfApp1.csproj | 146 +++++++++++++++++ WpfApp1/WpfApp1/packages.config | 13 ++ 18 files changed, 997 insertions(+) create mode 100644 WpfApp1/WpfApp1.sln create mode 100644 WpfApp1/WpfApp1/App.config create mode 100644 WpfApp1/WpfApp1/App.xaml create mode 100644 WpfApp1/WpfApp1/App.xaml.cs create mode 100644 WpfApp1/WpfApp1/Client.cs create mode 100644 WpfApp1/WpfApp1/Coach.cs create mode 100644 WpfApp1/WpfApp1/Entry.cs create mode 100644 WpfApp1/WpfApp1/MainWindow.xaml create mode 100644 WpfApp1/WpfApp1/MainWindow.xaml.cs create mode 100644 WpfApp1/WpfApp1/Properties/AssemblyInfo.cs create mode 100644 WpfApp1/WpfApp1/Properties/Resources.Designer.cs create mode 100644 WpfApp1/WpfApp1/Properties/Resources.resx create mode 100644 WpfApp1/WpfApp1/Properties/Settings.Designer.cs create mode 100644 WpfApp1/WpfApp1/Properties/Settings.settings create mode 100644 WpfApp1/WpfApp1/RecordWindow.xaml create mode 100644 WpfApp1/WpfApp1/RecordWindow.xaml.cs create mode 100644 WpfApp1/WpfApp1/WpfApp1.csproj create mode 100644 WpfApp1/WpfApp1/packages.config diff --git a/WpfApp1/WpfApp1.sln b/WpfApp1/WpfApp1.sln new file mode 100644 index 0000000..a02944e --- /dev/null +++ b/WpfApp1/WpfApp1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35919.96 d17.13 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp1", "WpfApp1\WpfApp1.csproj", "{A9E3D24A-31DC-4ECC-B6FA-D61DBF8A1E5A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A9E3D24A-31DC-4ECC-B6FA-D61DBF8A1E5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9E3D24A-31DC-4ECC-B6FA-D61DBF8A1E5A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9E3D24A-31DC-4ECC-B6FA-D61DBF8A1E5A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9E3D24A-31DC-4ECC-B6FA-D61DBF8A1E5A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3273E183-8FE0-49D1-9B0D-1345CA662794} + EndGlobalSection +EndGlobal diff --git a/WpfApp1/WpfApp1/App.config b/WpfApp1/WpfApp1/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/WpfApp1/WpfApp1/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/WpfApp1/WpfApp1/App.xaml b/WpfApp1/WpfApp1/App.xaml new file mode 100644 index 0000000..83a7199 --- /dev/null +++ b/WpfApp1/WpfApp1/App.xaml @@ -0,0 +1,79 @@ + + + + + + + + + + + + diff --git a/WpfApp1/WpfApp1/App.xaml.cs b/WpfApp1/WpfApp1/App.xaml.cs new file mode 100644 index 0000000..16361bd --- /dev/null +++ b/WpfApp1/WpfApp1/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace WpfApp1 +{ + /// + /// Логика взаимодействия для App.xaml + /// + public partial class App : Application + { + } +} diff --git a/WpfApp1/WpfApp1/Client.cs b/WpfApp1/WpfApp1/Client.cs new file mode 100644 index 0000000..f04f608 --- /dev/null +++ b/WpfApp1/WpfApp1/Client.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WpfApp1 +{ + public class Client + { + private string Surname; + private string Name; + private string Patronymic; + private string Gender; + private DateTime Birthday; + private string Address; + private string PhoneNumber; + private string SubscriptionNumber; + + public string surname + { + get + { + return this.Surname; + } + set + { + this.Surname = value; + } + } + public string name + { + get { return this.Name; } + set { this.Name = value; } + } + public string patronymic + { + get { return this.Patronymic; } + set { this.Patronymic = value; } + } + + public string gender + { + get { return this.Gender; } + set { this.Gender = value; } + } + + public DateTime birthday + { + get { return this.Birthday; } + set { this.Birthday = value; } + } + + public string address + { + get { return this.Address; } + set { this.Address = value; } + } + + public string phoneNumber + { + get { return this.PhoneNumber; } + set { this.PhoneNumber = value; } + } + + public string subscriptionNumber + { + get { return this.SubscriptionNumber; } + set { this.SubscriptionNumber = value; } + } + } +} diff --git a/WpfApp1/WpfApp1/Coach.cs b/WpfApp1/WpfApp1/Coach.cs new file mode 100644 index 0000000..ff57716 --- /dev/null +++ b/WpfApp1/WpfApp1/Coach.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WpfApp1 +{ + public class Coach + { + public string Surname { get; set; } + public string Name { get; set; } + public string Patronymic { get; set; } + public string Speciality { get; set; } + public Coach() { } + } +} diff --git a/WpfApp1/WpfApp1/Entry.cs b/WpfApp1/WpfApp1/Entry.cs new file mode 100644 index 0000000..2b5b6b4 --- /dev/null +++ b/WpfApp1/WpfApp1/Entry.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WpfApp1 +{ + public class Entry + { + public Client Client {get; set;} + public Coach Coach {get; set;} + public DateTime DateEntry {get; set;} + public DateTime TimeRecord {get; set;} + public Entry() + { + + } + } +} diff --git a/WpfApp1/WpfApp1/MainWindow.xaml b/WpfApp1/WpfApp1/MainWindow.xaml new file mode 100644 index 0000000..0386d3c --- /dev/null +++ b/WpfApp1/WpfApp1/MainWindow.xaml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +