Exemplo n.º 1
0
        private void txtComentarios_DoubleClick(object sender, EventArgs e)
        {
            AppConstant.Calculator.textIN = string.Empty;
            frmKeyboard frmKeyboardForm = new frmKeyboard();

            frmKeyboardForm.ShowDialog();
            if (AppConstant.Calculator.textOUT != string.Empty)
            {
                txtComentarios.Text = AppConstant.Calculator.textOUT;
            }

            AppConstant.Calculator.textIN  = string.Empty;
            AppConstant.Calculator.textOUT = string.Empty;
        }
Exemplo n.º 2
0
        private void txtPassword_DoubleClick(object sender, EventArgs e)
        {
            AppConstant.Calculator.textIN = string.Empty;
            var frmKeyboardForm = new frmKeyboard();

            frmKeyboardForm.isPassword = true;
            frmKeyboardForm.ShowDialog();
            if (AppConstant.Calculator.textOUT != string.Empty)
            {
                txtPassword.Text = AppConstant.Calculator.textOUT;
            }

            AppConstant.Calculator.textIN  = string.Empty;
            AppConstant.Calculator.textOUT = string.Empty;
        }
Exemplo n.º 3
0
        private string GotoKeyboard(string textIn)
        {
            string returnValue = string.Empty;

            AppConstant.Calculator.textIN = textIn;
            var frmKeyboardForm = new frmKeyboard();

            frmKeyboardForm.ShowDialog();
            if (AppConstant.Calculator.textOUT != string.Empty)
            {
                returnValue = AppConstant.Calculator.textOUT;
            }

            AppConstant.Calculator.textIN  = string.Empty;
            AppConstant.Calculator.textOUT = string.Empty;
            return(returnValue);
        }