Schachtedit view hinzugefügt
This commit is contained in:
@@ -19,6 +19,11 @@ namespace SewerStammGen.ViewModel
|
||||
|
||||
public ICommand UpdateCurrentViewModelCommand { get; }
|
||||
|
||||
public static string ApplicationTitle
|
||||
{
|
||||
get => "Stammdatengenerator Version 0.1";
|
||||
}
|
||||
|
||||
public MainWindowViewModel(
|
||||
IMainWindowNavigator navigator,
|
||||
IViewModelAbstractFactory viewModelFactory
|
||||
@@ -29,6 +34,15 @@ namespace SewerStammGen.ViewModel
|
||||
|
||||
UpdateCurrentViewModelCommand = new UpdateCurrentViewModelCommand(navigator, viewModelFactory);
|
||||
UpdateCurrentViewModelCommand.Execute(EMainWindowViewType.Home);
|
||||
|
||||
|
||||
|
||||
Navigator.StateChanged += Navigator_StateChanged;
|
||||
}
|
||||
|
||||
private void Navigator_StateChanged()
|
||||
{
|
||||
OnPropertyChanged(nameof(CurrentViewModel));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user