Exemplo n.º 1
0
 private void InitializeAudioForActionCenter()
 {
     if (Context.Settings.ActionCenter.ShowAudio)
     {
         actionCenter.AddSystemControl(uiFactory.CreateAudioControl(audio, Location.ActionCenter));
     }
 }
Exemplo n.º 2
0
        private void InitializeKeyboardLayoutForActionCenter()
        {
            if (actionCenterSettings.ShowKeyboardLayout)
            {
                var control = uiFactory.CreateKeyboardLayoutControl(Location.ActionCenter);

                keyboardLayout.Register(control);
                actionCenter.AddSystemControl(control);
            }
        }