新增自定义弹框窗口

新增吐司提示
This commit is contained in:
rmbgame
2021-03-07 17:10:38 +08:00
parent c5a0864d99
commit 3a95b8b802
10 changed files with 148 additions and 79 deletions
@@ -1,5 +1,6 @@
using ReactiveUI;
using System.Application.Models;
using System.Application.Models.Settings;
using System.Application.Services;
using System.Application.UI.Resx;
using System.Collections.Generic;
@@ -33,7 +34,6 @@ namespace System.Application.UI.ViewModels
internal async override Task Initialize()
{
SteamUsers = new ObservableCollection<SteamUser>(steamService.GetRememberUserList());
if (!SteamUsers.Any_Nullable())
{
@@ -64,7 +64,7 @@ namespace System.Application.UI.ViewModels
{
steamService.SetCurrentUser(accountName);
steamService.TryKillSteamProcess();
steamService.StartSteam();
steamService.StartSteam(SteamSettings.SteamStratParameter.Value);
}
}
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Application.UI.ViewModels.Windows
{
public class MessageWindow : WindowViewModel
{
public MessageWindow()
{
Title = "";
}
}
}