demo_trade/ViewModels/MainWindowViewModel.cs

20 lines
484 B
C#
Raw Permalink Normal View History

2024-10-04 12:41:04 +00:00
using demo_trade.Data.Repository;
using ReactiveUI;
using System.Reactive;
namespace demo_trade.ViewModels
{
public partial class MainWindowViewModel : ReactiveObject, IScreen
{
public RoutingState Router { get; } = new RoutingState();
public MainWindowViewModel() {
SQLLoginRepository loginRepository = new SQLLoginRepository();
Router.Navigate.Execute(new LoginViewModel(this, loginRepository));
}
}
}