private TouchKeyboardUI CreateGUI()
        {
            TouchKeyboardUI touchKeyboardUI = new TouchKeyboardUI();

            touchKeyboardUI.Loaded += (s, o) =>
            {
                if (_showKeyboard == null)
                {
                    TypedGUI.AutoRadioButton.IsChecked = true;
                }
                else
                {
                    TypedGUI.ShowTouchKeyboardRB.IsChecked = _showKeyboard.Value;
                    TypedGUI.HideTouchKeyboardRB.IsChecked = !_showKeyboard.Value;
                }
            };
            return(touchKeyboardUI);
        }
 private TouchKeyboardUI CreateGUI()
 {
     TouchKeyboardUI touchKeyboardUI = new TouchKeyboardUI();
     touchKeyboardUI.Loaded += (s, o) =>
     {
         if (_showKeyboard == null)
             TypedGUI.AutoRadioButton.IsChecked = true;
         else
         {
             TypedGUI.ShowTouchKeyboardRB.IsChecked = _showKeyboard.Value;
             TypedGUI.HideTouchKeyboardRB.IsChecked = !_showKeyboard.Value;
         }
     };
     return touchKeyboardUI;
 }