Пример #1
0
		public SettingsViewModel (IntPtr windowHandle)
		{
			Playback = new AudioPlaybackSettingsViewModel();
			Capture = new AudioCaptureSettingsViewModel();
			Notifications = new NotificationSettingsViewModel();
			Input = new InputSettingsViewModel (windowHandle);
			Music = new MusicSettingsViewModel();

			SaveCommand = new RelayCommand (SaveSettings);
			CloseCommand = new RelayCommand (Close);
		}
Пример #2
0
        public SettingsViewModel(IntPtr windowHandle)
        {
            Playback      = new AudioPlaybackSettingsViewModel();
            Capture       = new AudioCaptureSettingsViewModel();
            Notifications = new NotificationSettingsViewModel();
            Input         = new InputSettingsViewModel(windowHandle);
            Music         = new MusicSettingsViewModel();

            SaveCommand  = new RelayCommand(SaveSettings);
            CloseCommand = new RelayCommand(Close);
        }