20 lines
484 B
C#
20 lines
484 B
C#
|
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));
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|