mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
24 lines
671 B
C#
24 lines
671 B
C#
using System.Windows;
|
|
using System.Windows.Input;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
|
|
using Bloxstrap.Resources;
|
|
|
|
using Microsoft.Win32;
|
|
|
|
namespace Bloxstrap.UI.ViewModels.Installer
|
|
{
|
|
public class CompletionViewModel
|
|
{
|
|
public ICommand LaunchSettingsCommand => new RelayCommand(LaunchSettings);
|
|
|
|
public ICommand LaunchRobloxCommand => new RelayCommand(LaunchRoblox);
|
|
|
|
public event EventHandler<NextAction>? CloseWindowRequest;
|
|
|
|
private void LaunchSettings() => CloseWindowRequest?.Invoke(this, NextAction.LaunchSettings);
|
|
|
|
private void LaunchRoblox() => CloseWindowRequest?.Invoke(this, NextAction.LaunchRoblox);
|
|
}
|
|
}
|