private string DisplayKeyboard(string keyText, string type)
        {
            _sKeyText = "";

            var objKeyboard = new KeyboardInterface();

            if (type == "Pwd")
            {
                objKeyboard.IsPwd = true;
            }
            objKeyboard.Closing  += ObjKeyboardClosing;
            objKeyboard.KeyString = keyText;
            objKeyboard.Top       = Top + Height - objKeyboard.Height;
            objKeyboard.Left      = Left + Width / 2 - objKeyboard.Width / 2;
            objKeyboard.ShowDialog();
            return(_sKeyText);
        }
Exemplo n.º 2
0
        private string DisplayKeyboard(string keyText, string type)
        {
            _sKeyText = "";

            var objKeyboard = new KeyboardInterface();
            if (type == "Pwd")
            {
                objKeyboard.IsPwd = true;
            }
            objKeyboard.Closing += ObjKeyboardClosing;
            objKeyboard.KeyString = keyText;
            objKeyboard.Top = Top + Height - objKeyboard.Height;
            objKeyboard.Left = Left + Width / 2 - objKeyboard.Width / 2;
            objKeyboard.ShowDialog();
            return _sKeyText;
        }