Started UI Rework for target game setup, started adding a Game master record and a CSV Loader service
This commit is contained in:
@ -13,19 +13,11 @@ public partial class MainWindow : ReactiveWindow<MainWindowViewModel>
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
this.WhenActivated(
|
||||
|
||||
disposables => {
|
||||
this.OneWayBind(ViewModel,
|
||||
viewModel => viewModel.Planets,
|
||||
view => view.PlanetsGrid.ItemsSource)
|
||||
.DisposeWith(disposables);
|
||||
this.OneWayBind(ViewModel,
|
||||
vm => vm.WelcomeMessage,
|
||||
v => v.WelcomeText.Text)
|
||||
.DisposeWith(disposables);
|
||||
}
|
||||
);
|
||||
this.WhenActivated(disposables =>
|
||||
{
|
||||
this.OneWayBind(ViewModel, vm => vm.DbPath, v => v.DbPath.Text)
|
||||
.DisposeWith(disposables);
|
||||
});
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
Reference in New Issue
Block a user