mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-25 11:39:56 +08:00
message result sync
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Application.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace System.Application.Services
|
||||
@@ -14,7 +15,9 @@ namespace System.Application.Services
|
||||
/// <summary>
|
||||
/// 打开子窗口
|
||||
/// </summary>
|
||||
void ShowChildWindow(object window);
|
||||
Task ShowChildWindow(object window);
|
||||
|
||||
void ShowWindow(object window);
|
||||
|
||||
/// <summary>
|
||||
/// 退出整个程序
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace System.Application.Services
|
||||
/// <returns>一个 <see cref="MessageBoxResultCompat"/> 值,用于指定用户单击了哪个消息框按钮。</returns>
|
||||
Task<bool> ShowDialog(string messageBoxText, string caption, bool isCancelcBtn);
|
||||
|
||||
void CloseWindow(object window);
|
||||
|
||||
Task Show(CustomWindow window, ViewModelBase? dataContext = null);
|
||||
|
||||
public enum CustomWindow : byte
|
||||
|
||||
Reference in New Issue
Block a user