Browse Source

first commit

Виталя Савиных 2 years ago
commit
3fc61c38bf
100 changed files with 4833 additions and 0 deletions
  1. BIN
      .vs/WpfApp4/DesignTimeBuild/.dtbcache.v2
  2. 16 0
      .vs/WpfApp4/project-colors.json
  3. BIN
      .vs/WpfApp4/v17/.futdcache.v1
  4. BIN
      .vs/WpfApp4/v17/.suo
  5. 25 0
      WpfApp4.sln
  6. 9 0
      WpfApp4/App.xaml
  7. 17 0
      WpfApp4/App.xaml.cs
  8. 10 0
      WpfApp4/AssemblyInfo.cs
  9. 112 0
      WpfApp4/Models/HelpContext.cs
  10. 18 0
      WpfApp4/Models/StatusTask.cs
  11. 32 0
      WpfApp4/Models/Task.cs
  12. 27 0
      WpfApp4/Models/User.cs
  13. 37 0
      WpfApp4/RelayCommand.cs
  14. 19 0
      WpfApp4/ViewModel/BaseViewModel.cs
  15. 100 0
      WpfApp4/ViewModel/MainWindowViewModel.cs
  16. 76 0
      WpfApp4/ViewModel/ProfilViewModel.cs
  17. 71 0
      WpfApp4/ViewModel/RegistViewModel.cs
  18. 186 0
      WpfApp4/ViewModel/TaskViewModel.cs
  19. 22 0
      WpfApp4/Views/MainWindow.xaml
  20. 39 0
      WpfApp4/Views/MainWindow.xaml.cs
  21. 26 0
      WpfApp4/Views/Regist.xaml
  22. 32 0
      WpfApp4/Views/Regist.xaml.cs
  23. 34 0
      WpfApp4/Views/TaskWindow.xaml
  24. 32 0
      WpfApp4/Views/TaskWindow.xaml.cs
  25. 31 0
      WpfApp4/Views/User.xaml
  26. 34 0
      WpfApp4/Views/User.xaml.cs
  27. 24 0
      WpfApp4/WpfApp4.csproj
  28. 34 0
      WpfApp4/WpfApp4.csproj.user
  29. BIN
      WpfApp4/bin/Debug/net6.0-windows/Castle.Core.dll
  30. BIN
      WpfApp4/bin/Debug/net6.0-windows/Humanizer.dll
  31. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Data.SqlClient.dll
  32. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll
  33. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Design.dll
  34. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Proxies.dll
  35. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Relational.dll
  36. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll
  37. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.dll
  38. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Abstractions.dll
  39. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Memory.dll
  40. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll
  41. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll
  42. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.dll
  43. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll
  44. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.dll
  45. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Options.dll
  46. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Primitives.dll
  47. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.Identity.Client.dll
  48. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll
  49. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Logging.dll
  50. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  51. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.dll
  52. BIN
      WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Tokens.dll
  53. BIN
      WpfApp4/bin/Debug/net6.0-windows/System.IdentityModel.Tokens.Jwt.dll
  54. BIN
      WpfApp4/bin/Debug/net6.0-windows/System.Runtime.Caching.dll
  55. 2053 0
      WpfApp4/bin/Debug/net6.0-windows/WpfApp4.deps.json
  56. BIN
      WpfApp4/bin/Debug/net6.0-windows/WpfApp4.dll
  57. BIN
      WpfApp4/bin/Debug/net6.0-windows/WpfApp4.exe
  58. BIN
      WpfApp4/bin/Debug/net6.0-windows/WpfApp4.pdb
  59. 15 0
      WpfApp4/bin/Debug/net6.0-windows/WpfApp4.runtimeconfig.json
  60. BIN
      WpfApp4/bin/Debug/net6.0-windows/ref/WpfApp4.dll
  61. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  62. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll
  63. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll
  64. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll
  65. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll
  66. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  67. BIN
      WpfApp4/bin/Debug/net6.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll
  68. 4 0
      WpfApp4/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs
  69. 71 0
      WpfApp4/obj/Debug/net6.0-windows/App.g.cs
  70. 71 0
      WpfApp4/obj/Debug/net6.0-windows/App.g.i.cs
  71. 95 0
      WpfApp4/obj/Debug/net6.0-windows/MainWindow.g.i.cs
  72. BIN
      WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.baml
  73. 95 0
      WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.g.cs
  74. 95 0
      WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.g.i.cs
  75. 87 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Profil.g.i.cs
  76. BIN
      WpfApp4/obj/Debug/net6.0-windows/Views/Regist.baml
  77. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Regist.g.cs
  78. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Regist.g.i.cs
  79. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Registration.g.i.cs
  80. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Task.g.i.cs
  81. BIN
      WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.baml
  82. 96 0
      WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.g.cs
  83. 96 0
      WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.g.i.cs
  84. BIN
      WpfApp4/obj/Debug/net6.0-windows/Views/User.baml
  85. 87 0
      WpfApp4/obj/Debug/net6.0-windows/Views/User.g.cs
  86. 87 0
      WpfApp4/obj/Debug/net6.0-windows/Views/User.g.i.cs
  87. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Window1.g.i.cs
  88. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Window2.g.i.cs
  89. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Views/Window3.g.i.cs
  90. 76 0
      WpfApp4/obj/Debug/net6.0-windows/Window1.g.i.cs
  91. 87 0
      WpfApp4/obj/Debug/net6.0-windows/Window2.g.i.cs
  92. 87 0
      WpfApp4/obj/Debug/net6.0-windows/Window3.g.i.cs
  93. 25 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.AssemblyInfo.cs
  94. 1 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.AssemblyInfoInputs.cache
  95. 10 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.GeneratedMSBuildEditorConfig.editorconfig
  96. BIN
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.assets.cache
  97. BIN
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.AssemblyReference.cache
  98. 0 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.BuildWithSkipAnalyzers
  99. 0 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.CopyComplete
  100. 0 0
      WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.CoreCompileInputs.cache

BIN
.vs/WpfApp4/DesignTimeBuild/.dtbcache.v2


+ 16 - 0
.vs/WpfApp4/project-colors.json

@@ -0,0 +1,16 @@
+{
+  "Version": 1,
+  "ProjectMap": {
+    "8f839fb0-376c-4526-bd13-e4a14122c6e7": {
+      "ProjectGuid": "8f839fb0-376c-4526-bd13-e4a14122c6e7",
+      "DisplayName": "WpfApp4",
+      "ColorIndex": 0
+    },
+    "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
+      "ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
+      "DisplayName": "Прочие файлы",
+      "ColorIndex": -1
+    }
+  },
+  "NextColorIndex": 1
+}

BIN
.vs/WpfApp4/v17/.futdcache.v1


BIN
.vs/WpfApp4/v17/.suo


+ 25 - 0
WpfApp4.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.1.32328.378
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp4", "WpfApp4\WpfApp4.csproj", "{8F839FB0-376C-4526-BD13-E4A14122C6E7}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{8F839FB0-376C-4526-BD13-E4A14122C6E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{8F839FB0-376C-4526-BD13-E4A14122C6E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{8F839FB0-376C-4526-BD13-E4A14122C6E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{8F839FB0-376C-4526-BD13-E4A14122C6E7}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {2CED92D2-7BA1-444D-85DC-D3D72A6261AD}
+	EndGlobalSection
+EndGlobal

+ 9 - 0
WpfApp4/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="WpfApp4.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:WpfApp4"
+             StartupUri="/Views/MainWindow.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
WpfApp4/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 WpfApp4
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 10 - 0
WpfApp4/AssemblyInfo.cs

@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]

+ 112 - 0
WpfApp4/Models/HelpContext.cs

@@ -0,0 +1,112 @@
+using System;
+using System.Collections.Generic;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Metadata;
+
+namespace WpfApp4
+{
+    public partial class HelpContext : DbContext
+    {
+        public HelpContext()
+        {
+        }
+
+        public HelpContext(DbContextOptions<HelpContext> options)
+            : base(options)
+        {
+        }
+
+        public virtual DbSet<StatusTask> StatusTasks { get; set; } = null!;
+        public virtual DbSet<Task> Tasks { get; set; } = null!;
+        public virtual DbSet<User> Users { get; set; } = null!;
+
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+        {
+        optionsBuilder.UseLazyLoadingProxies();
+            if (!optionsBuilder.IsConfigured)
+            {
+                optionsBuilder.UseSqlServer("Data Source=(localdb)\\mssqllocaldb ; Initial Catalog=2.9_opbd\\;Trusted_Connection=True;");
+            }
+        }
+
+        protected override void OnModelCreating(ModelBuilder modelBuilder)
+        {
+            modelBuilder.Entity<StatusTask>(entity =>
+            {
+                entity.HasKey(e => e.IdstatusTask);
+
+                entity.ToTable("StatusTask");
+
+                entity.Property(e => e.IdstatusTask)
+                    .ValueGeneratedNever()
+                    .HasColumnName("IDStatusTask");
+            });
+
+            modelBuilder.Entity<Task>(entity =>
+            {
+                entity.HasKey(e => e.Idtask);
+
+                entity.ToTable("Task");
+
+                entity.Property(e => e.Idtask)
+                    .ValueGeneratedNever()
+                    .HasColumnName("IDTask");
+
+                entity.Property(e => e.DatePuplic).HasColumnType("date");
+
+                entity.Property(e => e.IdstatusTask).HasColumnName("IDStatusTask");
+
+                entity.Property(e => e.IduserAccept).HasColumnName("IDUserAccept");
+
+                entity.Property(e => e.IduserCreated).HasColumnName("IDUserCreated");
+
+                entity.Property(e => e.Title).HasMaxLength(50);
+
+                entity.HasOne(d => d.IdstatusTaskNavigation)
+                    .WithMany(p => p.Tasks)
+                    .HasForeignKey(d => d.IdstatusTask)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Task_StatusTask");
+
+                entity.HasOne(d => d.IduserAcceptNavigation)
+                    .WithMany(p => p.TaskIduserAcceptNavigations)
+                    .HasForeignKey(d => d.IduserAccept)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Task_User1");
+
+                entity.HasOne(d => d.IduserCreatedNavigation)
+                    .WithMany(p => p.TaskIduserCreatedNavigations)
+                    .HasForeignKey(d => d.IduserCreated)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Task_User");
+            });
+
+            modelBuilder.Entity<User>(entity =>
+            {
+                entity.HasKey(e => e.Iduser);
+
+                entity.ToTable("User");
+
+                entity.Property(e => e.Iduser)
+                    .ValueGeneratedNever()
+                    .HasColumnName("IDUser");
+
+                entity.Property(e => e.LastName).HasMaxLength(50);
+
+                entity.Property(e => e.Login).HasMaxLength(50);
+
+                entity.Property(e => e.Name).HasMaxLength(50);
+
+                entity.Property(e => e.NumberTel).HasMaxLength(50);
+
+                entity.Property(e => e.Password).HasMaxLength(50);
+
+                entity.Property(e => e.Surname).HasMaxLength(50);
+            });
+
+            OnModelCreatingPartial(modelBuilder);
+        }
+
+        partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
+    }
+}

+ 18 - 0
WpfApp4/Models/StatusTask.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace WpfApp4
+{
+    public partial class StatusTask
+    {
+        public StatusTask()
+        {
+            Tasks = new HashSet<Task>();
+        }
+
+        public int IdstatusTask { get; set; }
+        public string Name { get; set; } = null!;
+
+        public virtual ICollection<Task> Tasks { get; set; }
+    }
+}

+ 32 - 0
WpfApp4/Models/Task.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using WpfApp4.ViewModel;
+
+namespace WpfApp4
+{
+    public partial class Task:BaseViewModel
+
+    {
+        private StatusTask _IdstatusTaskNavigation;
+        public int Idtask { get; set; }
+        public string Title { get; set; } = null!;
+        public string Description { get; set; } = null!;
+        public DateTime DatePuplic { get; set; }
+        public int IduserCreated { get; set; }
+        public int IduserAccept { get; set; }
+        public int IdstatusTask { get; set; }
+
+        public virtual StatusTask IdstatusTaskNavigation 
+        {
+        get=> _IdstatusTaskNavigation;
+            set
+            {
+                _IdstatusTaskNavigation = value;
+                OnPropertyChanged();
+            }
+   
+        }
+        public virtual User IduserAcceptNavigation { get; set; } = null!;
+        public virtual User IduserCreatedNavigation { get; set; } = null!;
+    }
+}

+ 27 - 0
WpfApp4/Models/User.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace WpfApp4
+{
+    public partial class User
+    {
+        public User()
+        {
+            TaskIduserAcceptNavigations = new HashSet<Task>();
+            TaskIduserCreatedNavigations = new HashSet<Task>();
+        }
+
+        public int Iduser { get; set; }
+        public string Surname { get; set; } = null!;
+        public string Name { get; set; } = null!;
+        public string LastName { get; set; } = null!;
+        public string Login { get; set; } = null!;
+        public string Password { get; set; } = null!;
+        public string NumberTel { get; set; } = null!;
+
+        public static User AutoUser { get; set; }
+
+        public virtual ICollection<Task> TaskIduserAcceptNavigations { get; set; }
+        public virtual ICollection<Task> TaskIduserCreatedNavigations { get; set; }
+    }
+}

+ 37 - 0
WpfApp4/RelayCommand.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Input;
+
+namespace WpfApp4
+{
+    public class RelayCommand:ICommand
+    {
+        private Action<object> execute;
+        private Func<object, bool> canExecute;
+
+        public event EventHandler CanExecuteChanged
+        {
+            add { CommandManager.RequerySuggested += value; }
+            remove { CommandManager.RequerySuggested -= value; }
+        }
+
+        public RelayCommand(Action<object> execute, Func<object, bool> canExecute = null)
+        {
+            this.execute = execute;
+            this.canExecute = canExecute;
+        }
+
+        public bool CanExecute(object parameter)
+        {
+            return this.canExecute == null || this.canExecute(parameter);
+        }
+
+        public void Execute(object parameter)
+        {
+            this.execute(parameter);
+        }
+    }
+}

+ 19 - 0
WpfApp4/ViewModel/BaseViewModel.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Runtime.CompilerServices;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WpfApp4.ViewModel
+{
+    public class BaseViewModel: INotifyPropertyChanged
+    {
+        public event PropertyChangedEventHandler PropertyChanged;
+        public void OnPropertyChanged([CallerMemberName] string property = "")
+        {
+            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(property));
+        }
+    }
+}

+ 100 - 0
WpfApp4/ViewModel/MainWindowViewModel.cs

@@ -0,0 +1,100 @@
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace WpfApp4.ViewModel
+{
+    public class MainWindowViewModel:BaseViewModel
+    {
+        private User user;
+        private ObservableCollection<User> users;
+        private RelayCommand welcom;
+        private RelayCommand registration;
+
+
+
+        public RelayCommand Welcom
+        {
+            get
+            {
+                return welcom ??
+                    (welcom = new RelayCommand(x =>
+                    {
+                        HelpContext helpContext = new HelpContext();
+                        User user = helpContext.Users.FirstOrDefault(y => y.Login == User.Login && y.Password == User.Password);
+                        if (user != null)
+                        {
+                            User.AutoUser = user;
+
+                            Profil profil= new Profil();
+                            profil.Show();
+                            foreach (var window in App.Current.Windows)
+                            {
+                                if (window is MainWindow mainWindow)
+                                {
+                                    mainWindow.Close();
+
+                                }
+                            }
+                        }
+                        else
+                        {
+                            MessageBox.Show("Данные введены неверно!");
+                        }
+                    }
+                    ));
+            }
+        }
+        public RelayCommand Registration
+        {
+            get
+            {
+                return registration ?? (registration = new RelayCommand(x =>
+                {
+                    Registration window2 = new Registration();
+                    window2.Show();
+                    foreach (var window in App.Current.Windows)
+                    {
+                        if (window is MainWindow mainWindow)
+                        {
+                            mainWindow.Close();
+                        }
+                    }
+
+                }
+
+                ));
+            }
+        }
+        public User User 
+        {
+            get => user;
+            set
+            {
+                user = value;
+                OnPropertyChanged();
+            }
+        }
+        public ObservableCollection<User> Users
+        {
+            get => users;
+            set
+            {
+                users = value;
+                OnPropertyChanged();
+            }
+        }
+        public MainWindowViewModel()
+        {
+            HelpContext helpContext = new HelpContext();
+          Users = new ObservableCollection<User>(helpContext.Users);
+            User = new User();
+        }
+
+    }
+
+}

+ 76 - 0
WpfApp4/ViewModel/ProfilViewModel.cs

@@ -0,0 +1,76 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections.ObjectModel;
+
+namespace WpfApp4.ViewModel
+{
+    public class ProfilViewModel: BaseViewModel
+    {
+        private RelayCommand _ListTask;
+        private ObservableCollection<User> _users;
+        private User _user;
+        private string _UserFIO;
+        private string _login;
+        private string _numberTel;
+        private User AutoUser;
+
+        public RelayCommand ListTask
+        {
+            get
+            {
+                return _ListTask ??
+                    (_ListTask = new RelayCommand((x) =>
+                    {
+                        TaskWindow taskWindow = new TaskWindow();
+                        taskWindow.Show();
+                    }));
+
+            }
+        }
+        public string UserFIO
+        {
+            get => _UserFIO = User.AutoUser.Surname + " " + User.AutoUser.Name + " " + User.AutoUser.LastName;
+        }
+        public string UserLogin
+        {
+            get => _login = User.AutoUser.Login;
+        }
+        public string UserPhone
+        {
+            get => _numberTel = User.AutoUser.NumberTel;
+        }
+
+
+
+        public ObservableCollection<User> Users
+        {
+            get => _users;
+            set
+            {
+                _users = value;
+                OnPropertyChanged();
+            }
+        }
+
+        public User User
+        {
+            get => _user;
+            set
+            {
+                _user = value;
+                OnPropertyChanged();
+            }
+        }
+
+        
+        public ProfilViewModel ()
+        {
+            HelpContext helpContext = new HelpContext ();
+            _users = new ObservableCollection<User>(helpContext.Users);
+            _user = new User();
+        }
+    }
+}

+ 71 - 0
WpfApp4/ViewModel/RegistViewModel.cs

@@ -0,0 +1,71 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections.ObjectModel;
+namespace WpfApp4.ViewModel
+{
+    public class RegistViewModel: BaseViewModel
+    {
+        private ObservableCollection<User> _users;
+        private User _user;
+        private RelayCommand _AddUser;
+
+
+        public RelayCommand AddUser
+        {
+            get 
+            { return _AddUser ??
+                (_AddUser = new RelayCommand((x) =>
+                {
+                    HelpContext helpContext = new HelpContext();
+                    User user =  User;
+                    user.Iduser = helpContext.Users.Count() + 1;
+                    helpContext.Users.Add(user);
+                    helpContext.SaveChanges();
+                    user = null;
+
+                    MainWindow mainWindow = new MainWindow();
+                    mainWindow.Show();
+                    foreach (var window in App.Current.Windows)
+                    {
+                        if (window is Registration registration)
+                        {
+                            registration.Close();
+                        }
+                    }
+
+
+                }));
+            }
+        }
+
+        public ObservableCollection<User> Users
+        {
+            get => _users;
+            set
+            {
+                _users = value;
+                OnPropertyChanged();
+            }
+        }
+
+        public User User
+        {
+            get => _user;
+            set
+            {
+                _user = value;
+                OnPropertyChanged();
+            }
+        }
+        public RegistViewModel()
+        {
+            HelpContext helpContext = new HelpContext();
+            _users = new ObservableCollection<User>(helpContext.Users);
+            _user = new User();
+        }
+
+    }
+}

+ 186 - 0
WpfApp4/ViewModel/TaskViewModel.cs

@@ -0,0 +1,186 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections.ObjectModel;
+using System.Windows;
+
+namespace WpfApp4.ViewModel
+{
+    public class TaskViewModel: BaseViewModel
+    {
+        
+        private RelayCommand _Find;
+        private RelayCommand _UpdateStatus;
+        private RelayCommand _GivTask;
+        private RelayCommand _HistoryComplateTask;
+        private RelayCommand _FreeTask;
+  
+        private ObservableCollection<Task> _tasks;
+        private Task _task;
+        private int _count = 0;
+        private int _count1 = 0;
+        private int _count2 = 0;
+        private string _loginUser;
+
+
+        public RelayCommand Find
+        {
+            get => _Find ??
+                (_Find = new RelayCommand((x) =>
+                {
+                    _count2++;
+                   HelpContext helpContext = new HelpContext();
+                    Tasks = new ObservableCollection<Task>(helpContext.Tasks.Where(p => p.IduserCreatedNavigation.Login == loginUser));
+                    if (_count2 % 2 == 0)
+                    {
+                        Tasks = new ObservableCollection<Task>(helpContext.Tasks);
+                    }
+                }));
+        }
+
+        public RelayCommand FreeTask
+        {
+            get => _FreeTask ??
+                (_FreeTask = new RelayCommand((x) =>
+                {
+                    _count1++;
+                    HelpContext helpContext = new HelpContext();
+                    Tasks = new ObservableCollection<Task>(helpContext.Tasks.Where(p => p.IdstatusTask == 1));
+                    if (_count1 % 2 == 0)
+                    {
+                        Tasks = new ObservableCollection<Task>(helpContext.Tasks);
+                    }
+                }));
+        }
+        public RelayCommand HistoryComplateTask
+        {
+            get => _HistoryComplateTask ??
+                (_HistoryComplateTask = new RelayCommand((x) =>
+                {
+                    _count++;
+                    HelpContext helpContext = new HelpContext();
+                    Tasks = new ObservableCollection<Task>(helpContext.Tasks.Where(p => p.IdstatusTask == 3));
+                    if (_count % 2 == 0)
+                    {
+                        Tasks = new ObservableCollection<Task>(helpContext.Tasks);
+                    }
+                }));
+
+        }
+        public RelayCommand GivTask
+        {
+            get => _GivTask ??
+                (_GivTask = new RelayCommand((x) =>
+                {
+                    if (x is Task task)
+                    {
+                        if(task.IdstatusTask == 1)
+                        {
+                            task.IduserAccept = User.AutoUser.Iduser;
+                            task.IdstatusTask = 2;
+                            HelpContext helpContext = new HelpContext();
+                            helpContext.Entry(task).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
+                            task.IdstatusTaskNavigation = helpContext.StatusTasks.Find(2);
+                            helpContext.Tasks.Update(task);
+                            helpContext.SaveChanges();
+                            Tasks = new ObservableCollection<Task>(helpContext.Tasks);
+
+                        }
+                    }
+                    else
+                    {
+                        MessageBox.Show("Кто-то уже взял это задание.");
+                    }
+                }));
+            
+        }
+        public RelayCommand UpdateStatus
+        {
+
+            get => _UpdateStatus ??
+                (_UpdateStatus = new RelayCommand((x) =>
+                {
+                    if (x is Task task)
+                    {
+                        if (task.IduserCreated == User.AutoUser.Iduser)
+                        {
+
+
+                            HelpContext helpContext = new HelpContext();
+                            helpContext.Entry(task).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
+                            if (task.IdstatusTask == 1)
+                            {
+                                task.IdstatusTask = 2;
+                                task.IdstatusTaskNavigation = helpContext.StatusTasks.Find(2);
+                                helpContext.Tasks.Update(task);
+                                helpContext.SaveChanges();
+                            }
+                            else if (task.IdstatusTask == 2)
+                            {
+                                task.IdstatusTask = 3;
+                                task.IdstatusTaskNavigation = helpContext.StatusTasks.Find(3);
+                                helpContext.Tasks.Update(task);
+                                helpContext.SaveChanges();
+                            }
+                            else if (task.IdstatusTask == 3)
+                            {
+                                task.IdstatusTask = 1;
+                                task.IdstatusTaskNavigation = helpContext.StatusTasks.Find(1);
+                                helpContext.Tasks.Update(task);
+                                helpContext.SaveChanges();
+                            }
+                        }
+                        else
+                        {
+                            MessageBox.Show("Изменение доступно только для своих задач!");
+                        }
+                    
+                    }
+                }
+
+                ));
+
+        }
+      
+        public string loginUser
+        {
+            get => _loginUser;
+            set
+            {
+                _loginUser = value;
+                OnPropertyChanged();
+            }
+        }
+       
+        public ObservableCollection<Task> Tasks
+        {
+            get => _tasks;
+            set
+            {
+                _tasks = value;
+                OnPropertyChanged();
+            }
+
+        }
+        public Task Task
+        {
+            get => _task;
+            set
+            {
+                _task = value;
+                OnPropertyChanged();
+            }
+        }
+        
+       
+        public TaskViewModel()
+        {
+            HelpContext helpContext = new HelpContext();
+            _tasks = new ObservableCollection<Task>(helpContext.Tasks);
+          
+            _task = new Task();
+        }
+    }
+}

+ 22 - 0
WpfApp4/Views/MainWindow.xaml

@@ -0,0 +1,22 @@
+<Window x:Class="WpfApp4.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:WpfApp4"
+        mc:Ignorable="d"
+        Title="Вход" Height="450" Width="800">
+    <Grid Background="#FFB55F5F">
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="7*"/>
+            <ColumnDefinition Width="73*"/>
+        </Grid.ColumnDefinitions>
+        <TextBox HorizontalAlignment="Left" Margin="270,174,0,0" TextWrapping="Wrap" Text="{Binding User.Login}" VerticalAlignment="Top" Width="120" TextChanged="TextBox_TextChanged" Background="#FFAFA2A2" Grid.Column="1"/>
+        <TextBox HorizontalAlignment="Left" Margin="270,262,0,0" TextWrapping="Wrap" Text="{Binding User.Password}" VerticalAlignment="Top" Width="120" Background="#FFAFA2A2" Grid.Column="1" />
+        <TextBlock HorizontalAlignment="Left" Margin="312,138,0,0" TextWrapping="Wrap" VerticalAlignment="Top" RenderTransformOrigin="0.446,0.629" Foreground="White" Grid.Column="1"><Run Language="ru-ru" Text="Логин"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="308,217,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="17" Foreground="White" Grid.Column="1"><Run Language="ru-ru" Text="Пароль"/><LineBreak/><Run Language="ru-ru"/></TextBlock>
+        <Button Content="Войти" HorizontalAlignment="Left" Margin="547,327,0,0" VerticalAlignment="Top" Command="{Binding Welcom}" Width="107" Height="33" Background="#FFAFA2A2" Grid.Column="1"/>
+        <Button Content="Регистрация" HorizontalAlignment="Left" Margin="21,327,0,0" Command="{Binding Registration}" VerticalAlignment="Top" Click="Button_Click" Height="33" Width="120" Background="#FFAFA2A2" Grid.Column="1"/>
+
+    </Grid>
+</Window>

+ 39 - 0
WpfApp4/Views/MainWindow.xaml.cs

@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using WpfApp4.ViewModel;
+
+namespace WpfApp4
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+            DataContext = new MainWindowViewModel();
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
+        {
+        }
+    }
+}

+ 26 - 0
WpfApp4/Views/Regist.xaml

@@ -0,0 +1,26 @@
+<Window x:Class="WpfApp4.Registration"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:WpfApp4"
+        mc:Ignorable="d"
+        Title="Регистрация пользователя" Height="450" Width="800">
+    <Grid Background="#FFB55F5F">
+        <TextBlock HorizontalAlignment="Left" Margin="234,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="119" Foreground="White"><Run Language="ru-ru" Text="Фамилия:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="234,75,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="119" Foreground="White"><Run Language="ru-ru" Text="Имя:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="234,108,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="119" Foreground="White"><Run Language="ru-ru" Text="Отчество:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="234,144,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="119" Foreground="White"><Run Language="ru-ru" Text="Номер телефона:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="234,179,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="119" Foreground="White"><Run Language="ru-ru" Text="Логин:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="325,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="75" Foreground="White"><Run Language="ru-ru" Text="Регистрация"/></TextBlock>
+        <TextBox HorizontalAlignment="Left" Margin="363,42,0,0" Text="{Binding User.Surname}" TextWrapping="Wrap" VerticalAlignment="Top" Width="205" Background="#FFC8AEAE"/>
+        <TextBox HorizontalAlignment="Left" Margin="363,178,0,0" Text="{Binding User.Login}" TextWrapping="Wrap" VerticalAlignment="Top" Width="205" Background="#FFC8AEAE"/>
+        <TextBox HorizontalAlignment="Left" Margin="363,141,0,0" Text="{Binding User.NumberTel}" TextWrapping="Wrap" VerticalAlignment="Top" Width="205" Background="#FFC8AEAE"/>
+        <TextBox HorizontalAlignment="Left" Margin="363,105,0,0" Text="{Binding User.LastName}" TextWrapping="Wrap" VerticalAlignment="Top" Width="205" Background="#FFC8AEAE"/>
+        <TextBox HorizontalAlignment="Left" Margin="363,72,0,0" Text="{Binding User.Name}" TextWrapping="Wrap" VerticalAlignment="Top" Width="205" Background="#FFC8AEAE"/>
+        <Button Content="Готово" HorizontalAlignment="Left" Margin="325,313,0,0" Command="{Binding AddUser}" VerticalAlignment="Top" Width="214" Height="28" />
+        <TextBlock HorizontalAlignment="Left" Margin="234,0,0,0" TextWrapping="Wrap" VerticalAlignment="Center" Width="119" Foreground="White"><Run Language="ru-ru" Text="Пароль:"/></TextBlock>
+        <TextBox HorizontalAlignment="Left" Margin="363,0,0,0" Text="{Binding User.Password}" TextWrapping="Wrap" VerticalAlignment="Center" Width="205" Background="#FFC8AEAE"/>
+
+    </Grid>
+</Window>

+ 32 - 0
WpfApp4/Views/Regist.xaml.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Collections.ObjectModel;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using WpfApp4.ViewModel;
+
+namespace WpfApp4
+{
+    /// <summary>
+    /// Логика взаимодействия для Registration.xaml
+    /// </summary>
+    public partial class Registration : Window
+    {
+        public Registration()
+        {
+            InitializeComponent();
+            DataContext = new RegistViewModel();
+        }
+        
+      
+    }
+}

+ 34 - 0
WpfApp4/Views/TaskWindow.xaml

@@ -0,0 +1,34 @@
+<Window x:Class="WpfApp4.TaskWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:WpfApp4"
+        mc:Ignorable="d"
+        Title="Список задач" Height="450" Width="800">
+    <Grid Background="#FFB55F5F">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="8*"/>
+        </Grid.RowDefinitions>
+        <DataGrid ColumnWidth="*" x:Name="tasks_table" ScrollViewer.CanContentScroll="True" IsReadOnly="True" ItemsSource="{Binding Tasks}" SelectedItem="{Binding Task}" AutoGenerateColumns="False"  Foreground="Black" BorderBrush="Black" Background="#FFB55F5F" Height="299" VerticalAlignment="Top" SelectionChanged="tasks_table_SelectionChanged" Margin="0,48,0,0" Grid.RowSpan="2">
+            <DataGrid.Columns>
+
+                <DataGridTextColumn Header="Номер задачи" Binding="{Binding Idtask}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Название" Binding="{Binding Title}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Описание" Binding="{Binding Description}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Дата" Binding="{Binding DatePuplic,StringFormat= {}{0:yyyy}}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Создатель  " Binding="{Binding IduserCreatedNavigation.Login}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Испольнитель" Binding="{Binding  IduserAcceptNavigation.Login}"  ></DataGridTextColumn>
+                <DataGridTextColumn Header="Статус" Binding="{Binding IdstatusTaskNavigation.Name}" ></DataGridTextColumn>
+            </DataGrid.Columns>
+
+        </DataGrid>
+        <TextBox HorizontalAlignment="Left" Margin="42,336,0,0" Text="{Binding loginUser}" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Button Content="Найти" HorizontalAlignment="Left" Margin="181,334,0,0" Command="{Binding Find}" VerticalAlignment="Top" Width="79" Grid.Row="1"/>
+        <Button Content="Изменить статус" HorizontalAlignment="Left"  Command="{Binding UpdateStatus}" CommandParameter="{Binding ElementName=tasks_table,Path=SelectedItem}" Margin="181,9,0,0" VerticalAlignment="Top"/>
+        <Button Content="Принять задачу" HorizontalAlignment="Left" Command="{Binding GivTask}" CommandParameter="{Binding ElementName=tasks_table,Path=SelectedItem}" Margin="42,9,0,0" VerticalAlignment="Top"/>
+        <Button Content="История  задач" HorizontalAlignment="Left" Command="{Binding HistoryComplateTask}" Margin="663,9,0,0" VerticalAlignment="Top"/>
+        <Button Content="Доступные задачи" HorizontalAlignment="Left" Command="{Binding FreeTask}" Margin="513,9,0,0" VerticalAlignment="Top"/>
+    </Grid>
+</Window>

+ 32 - 0
WpfApp4/Views/TaskWindow.xaml.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using WpfApp4.ViewModel;
+
+namespace WpfApp4
+{
+ 
+    public partial class TaskWindow : Window
+    {
+        public TaskWindow()
+        {
+            InitializeComponent();
+            DataContext = new TaskViewModel(); 
+        }
+
+        private void tasks_table_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+    }
+}

+ 31 - 0
WpfApp4/Views/User.xaml

@@ -0,0 +1,31 @@
+<Window x:Class="WpfApp4.Profil"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:WpfApp4"
+        mc:Ignorable="d"
+        Title="Пользователь" Height="450" Width="800">
+    <Grid Background="#FFB55F5F">
+        <TextBlock HorizontalAlignment="Left" Margin="360,18,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White" Grid.ColumnSpan="2"><Run Language="ru-ru" Text="Профиль"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="200,39,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White"><Run Language="ru-ru" Text="ФИО:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="265,39,0,0" Text="{Binding UserFIO}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FF707070" Width="240" Grid.ColumnSpan="2"><Run Language="ru-ru" Text="                       "/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="200,67,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White"><Run Language="ru-ru" Text="Логин:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="200,93,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White"><Run Language="ru-ru" Text="Номер телефона:"/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="265,67,0,0" Text="{Binding UserLogin}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FF707070" Width="240" Grid.ColumnSpan="2"><Run Language="ru-ru" Text="                       "/></TextBlock>
+        <TextBlock HorizontalAlignment="Left" Margin="333,93,0,0" Text="{Binding UserPhone}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FF707070" Width="172" Grid.ColumnSpan="2"><Run Language="ru-ru" Text="                       "/></TextBlock>
+        <Button Content="Список задач" HorizontalAlignment="Left" Command="{Binding ListTask}" Margin="236,20,0,0" VerticalAlignment="Top" Width="133" Height="29" Background="#FF707070" TextBlock.Foreground="White" Grid.Column="1"/>
+        <DataGrid ColumnWidth="*" ScrollViewer.CanContentScroll="True" IsReadOnly="True" ItemsSource="{Binding Users}" SelectedItem="{Binding User}" AutoGenerateColumns="False"  Foreground="Black" BorderBrush="Black" Background="#FFB55F5F" Height="234" VerticalAlignment="Top" Margin="0,237,0,0" SelectionChanged="DataGrid_SelectionChanged" Grid.ColumnSpan="2">
+            <DataGrid.Columns>
+                <DataGridTextColumn Header="ID" Binding="{Binding Iduser}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Логин" Binding="{Binding Login}" ></DataGridTextColumn>
+                <DataGridTextColumn Header="Имя" Binding="{Binding Name}" ></DataGridTextColumn>
+            </DataGrid.Columns>
+
+        </DataGrid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+            <ColumnDefinition Width="*"/>
+        </Grid.ColumnDefinitions>
+    </Grid>
+</Window>

+ 34 - 0
WpfApp4/Views/User.xaml.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using WpfApp4.ViewModel;
+
+namespace WpfApp4
+{
+    /// <summary>
+    /// Логика взаимодействия для Window1.xaml
+    /// </summary>
+    public partial class Profil : Window
+    {
+        public Profil()
+        {
+            InitializeComponent();
+            DataContext = new ProfilViewModel();
+        }
+
+        private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+    }
+}

+ 24 - 0
WpfApp4/WpfApp4.csproj

@@ -0,0 +1,24 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <OutputType>WinExe</OutputType>
+    <TargetFramework>net6.0-windows</TargetFramework>
+    <Nullable>enable</Nullable>
+    <UseWPF>true</UseWPF>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.5" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.5">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+    <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="6.0.5" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.5" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.5">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+  </ItemGroup>
+
+</Project>

+ 34 - 0
WpfApp4/WpfApp4.csproj.user

@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+  <ItemGroup>
+    <ApplicationDefinition Update="App.xaml">
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Update="Views\User.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Views\Regist.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Views\TaskWindow.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Page Update="Views\MainWindow.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Views\User.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Views\Regist.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Views\TaskWindow.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+</Project>

BIN
WpfApp4/bin/Debug/net6.0-windows/Castle.Core.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Humanizer.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Data.SqlClient.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Design.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Proxies.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Relational.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Abstractions.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Memory.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Options.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Extensions.Primitives.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.Identity.Client.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Logging.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Tokens.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/System.IdentityModel.Tokens.Jwt.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/System.Runtime.Caching.dll


File diff suppressed because it is too large
+ 2053 - 0
WpfApp4/bin/Debug/net6.0-windows/WpfApp4.deps.json


BIN
WpfApp4/bin/Debug/net6.0-windows/WpfApp4.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/WpfApp4.exe


BIN
WpfApp4/bin/Debug/net6.0-windows/WpfApp4.pdb


+ 15 - 0
WpfApp4/bin/Debug/net6.0-windows/WpfApp4.runtimeconfig.json

@@ -0,0 +1,15 @@
+{
+  "runtimeOptions": {
+    "tfm": "net6.0",
+    "frameworks": [
+      {
+        "name": "Microsoft.NETCore.App",
+        "version": "6.0.0"
+      },
+      {
+        "name": "Microsoft.WindowsDesktop.App",
+        "version": "6.0.0"
+      }
+    ]
+  }
+}

BIN
WpfApp4/bin/Debug/net6.0-windows/ref/WpfApp4.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
WpfApp4/bin/Debug/net6.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll


+ 4 - 0
WpfApp4/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

+ 71 - 0
WpfApp4/obj/Debug/net6.0-windows/App.g.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6B45ED02D4C27FB40D622A9885EDFCC624994807"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\..\App.xaml"
+            this.StartupUri = new System.Uri("/Views/MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public static void Main() {
+            WpfApp4.App app = new WpfApp4.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 71 - 0
WpfApp4/obj/Debug/net6.0-windows/App.g.i.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6B45ED02D4C27FB40D622A9885EDFCC624994807"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\..\App.xaml"
+            this.StartupUri = new System.Uri("/Views/MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public static void Main() {
+            WpfApp4.App app = new WpfApp4.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 95 - 0
WpfApp4/obj/Debug/net6.0-windows/MainWindow.g.i.cs

@@ -0,0 +1,95 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "55296767E5E5209B697FC3D4C973836D684266A7"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 17 "..\..\..\MainWindow.xaml"
+            ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 20 "..\..\..\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.baml


+ 95 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.g.cs

@@ -0,0 +1,95 @@
+#pragma checksum "..\..\..\..\Views\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CE7322D8455973EA1F8E3BE37B220515284A238E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 14 "..\..\..\..\Views\MainWindow.xaml"
+            ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 19 "..\..\..\..\Views\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 95 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/MainWindow.g.i.cs

@@ -0,0 +1,95 @@
+#pragma checksum "..\..\..\..\Views\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CE7322D8455973EA1F8E3BE37B220515284A238E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 14 "..\..\..\..\Views\MainWindow.xaml"
+            ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 19 "..\..\..\..\Views\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 87 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Profil.g.i.cs

@@ -0,0 +1,87 @@
+#pragma checksum "..\..\..\..\Views\Profil.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "33B771C151452B810251BB6DA40EB3FC3D8E979A"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Profil
+    /// </summary>
+    public partial class Profil : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/views/profil.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Profil.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 18 "..\..\..\..\Views\Profil.xaml"
+            ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
WpfApp4/obj/Debug/net6.0-windows/Views/Regist.baml


+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Regist.g.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Regist.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F2A5B8B148A487A4C9BBCEE887D6B99472E01B58"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Registration
+    /// </summary>
+    public partial class Registration : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/regist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Regist.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Regist.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Regist.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F2A5B8B148A487A4C9BBCEE887D6B99472E01B58"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Registration
+    /// </summary>
+    public partial class Registration : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/regist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Regist.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Registration.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Registration.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F2A5B8B148A487A4C9BBCEE887D6B99472E01B58"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Registration
+    /// </summary>
+    public partial class Registration : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/views/registration.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Registration.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Task.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Task.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74A94B2C7EAB582B04F472C6DB7800DD70565B7C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window3
+    /// </summary>
+    public partial class Window3 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/views/task.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Task.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.baml


+ 96 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.g.cs

@@ -0,0 +1,96 @@
+#pragma checksum "..\..\..\..\Views\TaskWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D0002F96290F5B5FD929717C39CD6D507135B327"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// TaskWindow
+    /// </summary>
+    public partial class TaskWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 14 "..\..\..\..\Views\TaskWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid tasks_table;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/taskwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\TaskWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.tasks_table = ((System.Windows.Controls.DataGrid)(target));
+            
+            #line 14 "..\..\..\..\Views\TaskWindow.xaml"
+            this.tasks_table.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tasks_table_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 96 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/TaskWindow.g.i.cs

@@ -0,0 +1,96 @@
+#pragma checksum "..\..\..\..\Views\TaskWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D0002F96290F5B5FD929717C39CD6D507135B327"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// TaskWindow
+    /// </summary>
+    public partial class TaskWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 14 "..\..\..\..\Views\TaskWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid tasks_table;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/taskwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\TaskWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.tasks_table = ((System.Windows.Controls.DataGrid)(target));
+            
+            #line 14 "..\..\..\..\Views\TaskWindow.xaml"
+            this.tasks_table.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tasks_table_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
WpfApp4/obj/Debug/net6.0-windows/Views/User.baml


+ 87 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/User.g.cs

@@ -0,0 +1,87 @@
+#pragma checksum "..\..\..\..\Views\User.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "33B771C151452B810251BB6DA40EB3FC3D8E979A"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Profil
+    /// </summary>
+    public partial class Profil : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/user.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\User.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 18 "..\..\..\..\Views\User.xaml"
+            ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 87 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/User.g.i.cs

@@ -0,0 +1,87 @@
+#pragma checksum "..\..\..\..\Views\User.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "33B771C151452B810251BB6DA40EB3FC3D8E979A"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Profil
+    /// </summary>
+    public partial class Profil : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/user.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\User.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.2.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 18 "..\..\..\..\Views\User.xaml"
+            ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Window1.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Window1.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "014DD882570965538494D2C85DE56FF030E58046"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window1
+    /// </summary>
+    public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/window1.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Window1.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Window2.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Window2.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AC511BF02AEDE0238CA6F04F604C96294A5A7BDA"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window2
+    /// </summary>
+    public partial class Window2 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/views/window2.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Window2.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Views/Window3.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\..\Views\Window3.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74A94B2C7EAB582B04F472C6DB7800DD70565B7C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window3
+    /// </summary>
+    public partial class Window3 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;component/views/window3.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\..\Views\Window3.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 76 - 0
WpfApp4/obj/Debug/net6.0-windows/Window1.g.i.cs

@@ -0,0 +1,76 @@
+#pragma checksum "..\..\..\Window1.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D33476F8FF7B18F7555DB4CCA1ADD66FDAF7313A"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window1
+    /// </summary>
+    public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/window1.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\Window1.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 87 - 0
WpfApp4/obj/Debug/net6.0-windows/Window2.g.i.cs

@@ -0,0 +1,87 @@
+#pragma checksum "..\..\..\Window2.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3EB001420CAD976C0A67D836258E9BEF190ED596"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window2
+    /// </summary>
+    public partial class Window2 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/window2.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\Window2.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 21 "..\..\..\Window2.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 87 - 0
WpfApp4/obj/Debug/net6.0-windows/Window3.g.i.cs

@@ -0,0 +1,87 @@
+#pragma checksum "..\..\..\Window3.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B7A3CA427F4F9AEA98376B9033A48A2ED58F3D4A"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using WpfApp4;
+
+
+namespace WpfApp4 {
+    
+    
+    /// <summary>
+    /// Window3
+    /// </summary>
+    public partial class Window3 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/WpfApp4;V1.0.0.0;component/window3.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\Window3.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.3.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 10 "..\..\..\Window3.xaml"
+            ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 25 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.AssemblyInfo.cs

@@ -0,0 +1,25 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp4")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("WpfApp4")]
+[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp4")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
+[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+0106ae6017581ba6dd74f6d3649df4600aa8a450

+ 10 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,10 @@
+is_global = true
+build_property.TargetFramework = net6.0-windows
+build_property.TargetPlatformMinVersion = 7.0
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.InvariantGlobalization = 
+build_property.PlatformNeutralAssembly = 
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = WpfApp4
+build_property.ProjectDir = C:\Users\gr604_savni\Downloads\WpfApp4\WpfApp4\

BIN
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.assets.cache


BIN
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.AssemblyReference.cache


+ 0 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.BuildWithSkipAnalyzers


+ 0 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.CopyComplete


+ 0 - 0
WpfApp4/obj/Debug/net6.0-windows/WpfApp4.csproj.CoreCompileInputs.cache


Some files were not shown because too many files changed in this diff