mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 19:00:04 +08:00
新增自定义弹框窗口
新增吐司提示
This commit is contained in:
+2
-2
@@ -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 = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user