示例#1
0
 // Invoke the Account Change Requested event
 public virtual void OnAccountChangeRequested(ACEMenuSettingsUpdateType changeType)
 {
     if (AccountChangeRequested != null)
     {
         AccountChangeRequested(changeType);
     }
 }
 // Invoke the Account Change Requested event
 public virtual void OnAccountChangeRequested(ACEMenuSettingsUpdateType changeType)
 {
     if (AccountChangeRequested != null)
     {
         AccountChangeRequested(changeType);
     }
 }
 private void HandleAccountChangeRequested(ACEMenuSettingsUpdateType changeType)
 {
     if (AccountChangeRequested != null)
     {
         AccountChangeRequested(changeType);
     }
     // ToDo - this handle updates in the UI of the settings, if needed
 }
 private void UpdateAudioSettingsIfOpen(ACEMenuSettingsUpdateType menuSetting)
 {
     if (_audioSettingsPanel.IsLoaded)
     {
         _audioSettingsPanel.UpdateForMenuSettingChange(menuSetting);
     }
     if (_audioVideoPanel.IsLoaded)
     {
         _audioVideoPanel.UpdateForMenuSettingChange(menuSetting);
     }
 }
        private void UpdateAudioSettingsIfOpen(ACEMenuSettingsUpdateType menuSetting)
        {
            if (AdvancedSettings.IsLoaded)
            {
                AdvancedSettings.UpdateForMenuSettingChange(menuSetting);
            }

            if (GeneralSettings.IsLoaded)
            {
                GeneralSettings.UpdateForMenuSettingChange(menuSetting);
            }
        }
示例#6
0
        public override void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
        {
            if (App.CurrentAccount == null)
            {
                return;
            }

            switch (menuSetting)
            {
            case ACEMenuSettingsUpdateType.ShowSelfViewMenu: ShowSelfViewCheckBox.IsChecked = App.CurrentAccount.ShowSelfView;
                break;

            default:
                break;
            }
        }
        public void RespondToMenuUpdate(ACEMenuSettingsUpdateType menuSetting)
        {
            switch (menuSetting)
            {
            case ACEMenuSettingsUpdateType.MuteMicrophoneMenu: UpdateAudioSettingsIfOpen(menuSetting);
                break;

            case ACEMenuSettingsUpdateType.MuteSpeakerMenu: UpdateAudioSettingsIfOpen(menuSetting);
                break;

            case ACEMenuSettingsUpdateType.ShowSelfViewMenu: UpdateVideoSettingsIfOpen(menuSetting);
                break;

            default:
                break;
            }
        }
        public override void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
        {
            if (App.CurrentAccount == null)
            {
                return;
            }

            switch (menuSetting)
            {
            case ACEMenuSettingsUpdateType.MuteMicrophoneMenu: MuteMicrophoneCheckBox.IsChecked = App.CurrentAccount.MuteMicrophone;
                break;

            case ACEMenuSettingsUpdateType.MuteSpeakerMenu: MuteSpeakerCheckBox.IsChecked = App.CurrentAccount.MuteSpeaker;
                break;

            default:
                break;
            }
        }
 private void UpdateVideoSettingsIfOpen(ACEMenuSettingsUpdateType menuSetting)
 {
     //<<<<<<< HEAD
     ////            if (VideoSettingsSettings.IsLoaded)
     ////            {
     ////                VideoSettingsSettings.UpdateForMenuSettingChange(menuSetting);
     ////            }
     if (GeneralSettings.IsLoaded)
     //=======
     //            if (AdvancedSettings.IsLoaded)
     //            {
     //                AdvancedSettings.UpdateForMenuSettingChange(menuSetting);
     //            }
     //            if (AudioVideoSettings.IsLoaded)
     //>>>>>>> master
     {
         GeneralSettings.UpdateForMenuSettingChange(menuSetting);
     }
 }
 private void UpdateAudioSettingsIfOpen(ACEMenuSettingsUpdateType menuSetting)
 {
     //            if (AdvancedSettings.IsLoaded)
     //            {
     //                AdvancedSettings.UpdateForMenuSettingChange(menuSetting);
     //            }
     if (GeneralSettings.IsLoaded)
     {
         GeneralSettings.UpdateForMenuSettingChange(menuSetting);
     }
 }
 private void HandleAccountChangeRequested(ACEMenuSettingsUpdateType changeType)
 {
     if (AccountChangeRequested != null)
     {
         AccountChangeRequested(changeType);
     }
     // ToDo - this handle updates in the UI of the settings, if needed
 }
 public void RespondToMenuUpdate(ACEMenuSettingsUpdateType menuSetting)
 {
     switch (menuSetting)
     {
         case ACEMenuSettingsUpdateType.MuteMicrophoneMenu: UpdateAudioSettingsIfOpen(menuSetting);
             break;
         case ACEMenuSettingsUpdateType.MuteSpeakerMenu: UpdateAudioSettingsIfOpen(menuSetting);
             break;
         case ACEMenuSettingsUpdateType.ShowSelfViewMenu: UpdateVideoSettingsIfOpen(menuSetting);
             break;
         default:
             break;
     }
 }
 public override void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
 {
     AdvancedCtrl.UpdateForMenuSettingChange(menuSetting);
 }
 public virtual void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
 {
 }
 private void UpdateVideoSettingsIfOpen(ACEMenuSettingsUpdateType menuSetting)
 {
     if (AdvancedSettings.IsLoaded)
     {
         AdvancedSettings.UpdateForMenuSettingChange(menuSetting);
     }
     if (AudioVideoSettings.IsLoaded)
     {
         AudioVideoSettings.UpdateForMenuSettingChange(menuSetting);
     }
 }
示例#16
0
 public virtual void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
 {
 }
        public override void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
        {
            if (App.CurrentAccount == null)
                return;

            switch (menuSetting)
            {
                case ACEMenuSettingsUpdateType.MuteMicrophoneMenu: MuteMicrophoneCheckBox.IsChecked = App.CurrentAccount.MuteMicrophone;
                    break;
                case ACEMenuSettingsUpdateType.MuteSpeakerMenu: MuteSpeakerCheckBox.IsChecked = App.CurrentAccount.MuteSpeaker;
                    break;
                case ACEMenuSettingsUpdateType.ShowSelfViewMenu: ShowSelfViewCheckBox.IsChecked = App.CurrentAccount.ShowSelfView;
                    break;
                default:
                    break;
            }
        }
 public override void UpdateForMenuSettingChange(ACEMenuSettingsUpdateType menuSetting)
 {
     AdvancedCtrl.UpdateForMenuSettingChange(menuSetting);
 }