From f8a5938375df0b2e11ea8ed3ddf20e8c7c0cd50f Mon Sep 17 00:00:00 2001 From: rmbgame Date: Tue, 25 May 2021 15:58:49 +0800 Subject: [PATCH] fix --- .../UI/Views/Pages/LocalAuthPage.axaml | 12 ++++++------ .../UI/Resx/AppResources.Designer.cs | 18 ++++++++++++++++++ .../UI/Resx/AppResources.resx | 6 ++++++ .../ViewModels/Pages/LocalAuthPageViewModel.cs | 10 ++++++++++ 4 files changed, 40 insertions(+), 6 deletions(-) diff --git a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml index d2a92f927..7c6de7a16 100644 --- a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml +++ b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml @@ -32,8 +32,8 @@ @@ -41,16 +41,16 @@ diff --git a/src/ST.Client.Desktop/UI/Resx/AppResources.Designer.cs b/src/ST.Client.Desktop/UI/Resx/AppResources.Designer.cs index ad143b69a..aa7e0ff81 100644 --- a/src/ST.Client.Desktop/UI/Resx/AppResources.Designer.cs +++ b/src/ST.Client.Desktop/UI/Resx/AppResources.Designer.cs @@ -2322,6 +2322,24 @@ namespace System.Application.UI.Resx { } } + /// + /// 查找类似 下移 的本地化字符串。 + /// + public static string MoveDown { + get { + return ResourceManager.GetString("MoveDown", resourceCulture); + } + } + + /// + /// 查找类似 上移 的本地化字符串。 + /// + public static string MoveUp { + get { + return ResourceManager.GetString("MoveUp", resourceCulture); + } + } + /// /// 查找类似 昵称 的本地化字符串。 /// diff --git a/src/ST.Client.Desktop/UI/Resx/AppResources.resx b/src/ST.Client.Desktop/UI/Resx/AppResources.resx index 46ca5b720..4fd260f2b 100644 --- a/src/ST.Client.Desktop/UI/Resx/AppResources.resx +++ b/src/ST.Client.Desktop/UI/Resx/AppResources.resx @@ -876,6 +876,12 @@ 更多操作 + + 下移 + + + 上移 + 昵称 diff --git a/src/ST.Client.Desktop/UI/ViewModels/Pages/LocalAuthPageViewModel.cs b/src/ST.Client.Desktop/UI/ViewModels/Pages/LocalAuthPageViewModel.cs index 213330bf6..6fab0cab2 100644 --- a/src/ST.Client.Desktop/UI/ViewModels/Pages/LocalAuthPageViewModel.cs +++ b/src/ST.Client.Desktop/UI/ViewModels/Pages/LocalAuthPageViewModel.cs @@ -12,6 +12,7 @@ using System.Threading; using System.Reactive.Linq; using DynamicData.Binding; using DynamicData; +using System.Application.Repositories; namespace System.Application.UI.ViewModels { @@ -186,5 +187,14 @@ namespace System.Application.UI.ViewModels await IShowWindowService.Instance.Show(CustomWindow.ExportAuth, new ExportAuthWindowViewModel(), string.Empty, ResizeModeCompat.CanResize); //} } + + public async void UpMoveOrderById(MyAuthenticator auth) + { + //var row = await DI.Get().MoveOrderByIdAsync(); + } + public async void DownMoveOrderById(MyAuthenticator auth) + { + //var row = await DI.Get().MoveOrderByIdAsync(); + } } }