예제 #1
0
파일: SoundsViewModel.cs 프로젝트: niab/AGC
        public SoundsViewModel(IMessanger commonMessanger)
        {
            messanger        = commonMessanger;
            soundPreferences = messanger.GetSoundPreferences();
            EnableSounds     = soundPreferences.Enable;

            PlaySoundCommand   = new RelayCommand(PlaySound);
            SetSoundCommand    = new RelayCommand(SetSound);
            DeleteSoundCommand = new RelayCommand(DeleteSound);
            AddNewSoundCommand = new RelayCommand(AddSound);

            LoadData();
        }