Exemple #1
0
        public bool HandleEscapeKey(MainForm main)
        {
            bool textFocus = main.ActiveControl is TextBox;

            if (textFocus)
            {
                _wnd.Focus(main);
            }

            return(textFocus);
        }