示例#1
0
        private void tbxPassWord_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TouchPad tp = new TouchPad(ref tbxPassWord, tbxPassWord.Text.Trim(), true);

            tp.StartPosition = FormStartPosition.CenterScreen;
            tp.ShowDialog();
        }
示例#2
0
        /// <summary>
        /// TouchPad
        /// </summary>
        /// <param name="textBox"></param>
        /// <param name="text"></param>
        private void TouchPad(NumericUpDown n, string text)
        {
            TouchPad testTouchPad = new TouchPad(ref n, text);

            testTouchPad.ShowDialog();
        }
示例#3
0
        private void txtPDF_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TouchPad testTouchPad = new TouchPad(ref txtPDF, txtPDF.Text.Trim());

            testTouchPad.ShowDialog();
        }
示例#4
0
        /// <summary>
        /// TouchPad
        /// </summary>
        /// <param name="textBox"></param>
        /// <param name="text"></param>
        private void TouchPad(TextBox textBox, string text)
        {
            TouchPad testTouchPad = new TouchPad(ref textBox, text);

            testTouchPad.ShowDialog();
        }
示例#5
0
        private void numericUpDownTx_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TouchPad testTouchPad = new TouchPad(ref numericUpDownTx, numericUpDownTx.Value.ToString().Trim());

            testTouchPad.ShowDialog();
        }
示例#6
0
        private void numericUpDownSpe_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TouchPad tp = new TouchPad(ref numericUpDownSpe, numericUpDownSpe.Value.ToString());

            tp.ShowDialog();
        }
示例#7
0
        private void tbxAgain_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TouchPad tp = new TouchPad(ref tbxAgain, tbxAgain.Text.Trim(), true);

            tp.ShowDialog();
        }
示例#8
0
        private void tbxFileName_MouseClick(object sender, MouseEventArgs e)
        {
            TouchPad testTouchPad = new TouchPad(ref tbxFileName, tbxFileName.Text.Trim());

            testTouchPad.ShowDialog();
        }