Exemplo n.º 1
0
 public void Initialize()
 {
     _shellViewModel.ExitCommand = _exitCommand;
     _systemTrayNotifierViewModel.ExitCommand    = _exitCommand;
     _systemTrayNotifierViewModel.SyncNowCommand = _shellViewModel.SyncNowCommand;
     //Initialize Other Controllers if Any
     _shellController.Initialize();
     _logController.Initialize();
     _settingsController.Initialize();
     PropertyChangedEventManager.AddHandler(_settingsViewModel, SettingsChangedHandler, "");
     PropertyChangedEventManager.AddHandler(_shellViewModel, ShellViewUpdatedHandler, "");
 }