Merge vas-working to master (attempt 2) #2
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using System.Reactive;
|
||||
using System.Windows.Input;
|
||||
using System.Xml;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using System.Reactive;
|
||||
using PcgsInvUi.Views;
|
||||
using ReactiveUI;
|
||||
|
||||
namespace PcgsInvUi.ViewModels;
|
||||
@@ -10,5 +7,10 @@ namespace PcgsInvUi.ViewModels;
|
||||
public class DeleteWindowViewModel : ViewModelBase
|
||||
{
|
||||
public ReactiveCommand<Unit, object> OkCommand { get; } = ReactiveCommand.Create(() => (object)true);
|
||||
public ReactiveCommand<Unit, object> CancelCommand { get; } = ReactiveCommand.Create(() => (object)false);
|
||||
public ReactiveCommand<DeleteWindow, Unit> CancelCommand { get; }
|
||||
|
||||
public DeleteWindowViewModel()
|
||||
{
|
||||
CancelCommand = ReactiveCommand.Create<DeleteWindow>(window => window.Close());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user