Jelajahi Sumber

Небольшие исправления

Fox 6 bulan lalu
induk
melakukan
6fc4e19b2b
2 mengubah file dengan 7 tambahan dan 5 penghapusan
  1. 5 5
      LoginGenerator.sln
  2. 2 0
      ViewModels/MainWindowViewModel.cs

+ 5 - 5
LoginGenerator.sln

@@ -5,7 +5,7 @@ VisualStudioVersion = 17.7.34221.43
 MinimumVisualStudioVersion = 10.0.40219.1
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LoginGenerator", "LoginGenerator.csproj", "{79D35EAC-AAE9-4A9A-9FDA-CD49509991D5}"
 EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTestsForAssistant", "..\UnitTestsForAssistant\UnitTestsForAssistant.csproj", "{C46FFBC5-7B44-42D0-8BB4-F94067E81736}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTestsForAssistant", "..\Г\UnitTestsForAssistant.csproj", "{C2CBBAD1-18D9-4FE9-BAE2-FDE80A8320FB}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -17,10 +17,10 @@ Global
 		{79D35EAC-AAE9-4A9A-9FDA-CD49509991D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{79D35EAC-AAE9-4A9A-9FDA-CD49509991D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{79D35EAC-AAE9-4A9A-9FDA-CD49509991D5}.Release|Any CPU.Build.0 = Release|Any CPU
-		{C46FFBC5-7B44-42D0-8BB4-F94067E81736}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{C46FFBC5-7B44-42D0-8BB4-F94067E81736}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{C46FFBC5-7B44-42D0-8BB4-F94067E81736}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{C46FFBC5-7B44-42D0-8BB4-F94067E81736}.Release|Any CPU.Build.0 = Release|Any CPU
+		{C2CBBAD1-18D9-4FE9-BAE2-FDE80A8320FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{C2CBBAD1-18D9-4FE9-BAE2-FDE80A8320FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{C2CBBAD1-18D9-4FE9-BAE2-FDE80A8320FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{C2CBBAD1-18D9-4FE9-BAE2-FDE80A8320FB}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 2 - 0
ViewModels/MainWindowViewModel.cs

@@ -4,6 +4,7 @@ using LoginGenerator.Models;
 using ReactiveUI;
 using System;
 using System.IO;
+using System.Linq;
 
 namespace LoginGenerator.ViewModels
 {
@@ -37,6 +38,7 @@ namespace LoginGenerator.ViewModels
         {
             US = new DataOutput();
             DataOutputVM.FillingUsersList();
+            DataOutputVM.Userss = DataOutputVM.Userss.OrderByDescending(x=>x.DateReg).ToList();
             if(GeneratePageVM.Theme == true)
             {
                 DataOutputVM.Background = new SolidColorBrush(Color.FromRgb(80, 80, 80));