public OpenGlobalSettings( GlobalSettingsPaneVm globalSettingsPaneVm, IActivePanelControllerVm activePanelControllerVm) { _globalSettingsPaneVm = globalSettingsPaneVm; _activePanelControllerVm = activePanelControllerVm; OpenCommand = ReactiveCommand.Create(Open); }
public OpenProfileSettings( OpenGlobalSettings openGlobalSettings, GlobalSettingsPaneVm globalSettingsPaneVm) { OpenCommand = ReactiveCommand.Create(() => { openGlobalSettings.Open(); globalSettingsPaneVm.SelectedSettings = GlobalSettingsPaneVm.SettingsPages.Profile; }); }