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);
        }
示例#2
0
 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;
 }