mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 23:19:53 +08:00
message
This commit is contained in:
@@ -13,6 +13,7 @@ namespace System.Application.UI.ViewModels
|
||||
|
||||
public bool IsInitialized { get; set; }
|
||||
|
||||
public bool DialogResult { get; protected set; }
|
||||
protected void InvokeOnUIDispatcher(Action action)
|
||||
{
|
||||
MainThreadDesktop.BeginInvokeOnMainThread(action);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using ReactiveUI;
|
||||
using System.Application.Services;
|
||||
using System.Application.UI.Resx;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -30,6 +31,8 @@ namespace System.Application.UI.ViewModels
|
||||
Services.ToastService.Current.Notify("Test CommandTest CommandTest CommandTest CommandTest CommandTest Command");
|
||||
DebugString += Services.ToastService.Current.Message + Environment.NewLine;
|
||||
DebugString += Services.ToastService.Current.IsVisible + Environment.NewLine;
|
||||
|
||||
DI.Get<IMessageWindowService>().ShowDialog("Test", "Test");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user