public SettingsWindow(CallViewCtrl callControl, UnifiedSettings_AccountChange accountChangeRequestedMethod)
        {
            //************************************************************************************************************************************
            // Initilize of setting screen More==>Settings. Called only once when application runs first time.
            //************************************************************************************************************************************
            InitializeComponent();

            AccountChangeRequested += accountChangeRequestedMethod;

            _allPanels = new List <BaseUnifiedSettingsPanel>();

            BaseUnifiedSettingsPanel.EnableAdvancedSettings = false;
            BaseUnifiedSettingsPanel.EnabledDebugSettings   = false;
            BaseUnifiedSettingsPanel.EnableSuperSettings    = false;

            AccountSettings.ShowSettingsUpdate += HandleShowSettingsUpdate;
            AccountSettings.updateVideomail    += OnUpdateVideomail;
            AccountSettings.ShiftFocus         += focusCloseButton;
            InitializePanelAndEvents(AccountSettings);

            InitializePanelAndEvents(GeneralSettings);

            InitializePanelAndEvents(AudioVideoSettings);

            InitializePanelAndEvents(ThemeSettings);

            InitializePanelAndEvents(TextSettings);

            SummarySettings.ShowSettingsUpdate += HandleShowSettingsUpdate;
            InitializePanelAndEvents(SummarySettings);

//            InitializePanelAndEvents(AudioSettings);

//            InitializePanelAndEvents(VideoSettings);

//            InitializePanelAndEvents(CallSettings);

//            InitializePanelAndEvents(NetworkSettings);

            InitializePanelAndEvents(AdvancedSettings);

//            InitializePanelAndEvents(_viewTechnicalSupportPanel);

            _currentContent = GeneralSettings;
#if DEBUG
            HandleShowSettingsUpdate(UnifiedSettings_LevelToShow.Normal, true);
#else
            HandleShowSettingsUpdate(UnifiedSettings_LevelToShow.Normal, true);
#endif
            SetCallControl(callControl);

            this.Loaded += SettingsWindow_Loaded;

            AudioVideoSettings.UpdateAdvancedMenuHandler += UpdateAdvancedMenuBitrate;
        }
        public SettingsWindow(CallViewCtrl callControl, UnifiedSettings_AccountChange accountChangeRequestedMethod)
        {
            InitializeComponent();

            AccountChangeRequested += accountChangeRequestedMethod;

            _allPanels = new List<BaseUnifiedSettingsPanel>();

            BaseUnifiedSettingsPanel.EnableAdvancedSettings = false;
            BaseUnifiedSettingsPanel.EnabledDebugSettings = false;
            BaseUnifiedSettingsPanel.EnableSuperSettings = false;

            AccountSettings.ShowSettingsUpdate += HandleShowSettingsUpdate;
            InitializePanelAndEvents(AccountSettings);

            InitializePanelAndEvents(GeneralSettings);

            InitializePanelAndEvents(AudioVideoSettings);

            InitializePanelAndEvents(ThemeSettings);

            InitializePanelAndEvents(TextSettings);

            SummarySettings.ShowSettingsUpdate += HandleShowSettingsUpdate;
            InitializePanelAndEvents(SummarySettings);

            //            InitializePanelAndEvents(AudioSettings);

            //            InitializePanelAndEvents(VideoSettings);

            //            InitializePanelAndEvents(CallSettings);

            //            InitializePanelAndEvents(NetworkSettings);

            InitializePanelAndEvents(AdvancedSettings);

            //            InitializePanelAndEvents(_viewTechnicalSupportPanel);

            _currentContent = GeneralSettings;
            #if DEBUG
            HandleShowSettingsUpdate(UnifiedSettings_LevelToShow.Normal, true);
            #else
            HandleShowSettingsUpdate(UnifiedSettings_LevelToShow.Normal, true);
            #endif
            SetCallControl(callControl);

            this.Loaded += SettingsWindow_Loaded;
        }
 public override void AddAccountChangedMethod(UnifiedSettings_AccountChange accountChangedHandler)
 {
     AdvancedCtrl.AccountChangeRequested += accountChangedHandler;
 }
 public virtual void AddAccountChangedMethod(UnifiedSettings_AccountChange accountChangedHandler)
 {
     this.AccountChangeRequested += accountChangedHandler;
 }
Esempio n. 5
0
 public virtual void AddAccountChangedMethod(UnifiedSettings_AccountChange accountChangedHandler)
 {
     this.AccountChangeRequested += accountChangedHandler;
 }
 public override void AddAccountChangedMethod(UnifiedSettings_AccountChange accountChangedHandler)
 {
     AdvancedCtrl.AccountChangeRequested += accountChangedHandler;
 }