toast控件实现

This commit is contained in:
rmbgame
2021-03-08 10:33:52 +08:00
parent 3235f1d980
commit f42ca101c8
18 changed files with 143 additions and 151 deletions
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Application.UI.ViewModels.Windows
{
public class MessageWindow : WindowViewModel
{
public MessageWindow()
{
Title = "";
}
}
}
@@ -0,0 +1,20 @@
using ReactiveUI;
namespace System.Application.UI.ViewModels.Windows
{
public class MessageWindowViewModel : WindowViewModel
{
public MessageWindowViewModel()
{
}
private string _Content;
public string Content
{
get => _Content;
set => this.RaiseAndSetIfChanged(ref _Content, value);
}
}
}