private void tbxPassWord_MouseDoubleClick(object sender, MouseEventArgs e) { TouchPad tp = new TouchPad(ref tbxPassWord, tbxPassWord.Text.Trim(), true); tp.StartPosition = FormStartPosition.CenterScreen; tp.ShowDialog(); }
/// <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(); }
private void txtPDF_MouseDoubleClick(object sender, MouseEventArgs e) { TouchPad testTouchPad = new TouchPad(ref txtPDF, txtPDF.Text.Trim()); testTouchPad.ShowDialog(); }
/// <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(); }
private void numericUpDownTx_MouseDoubleClick(object sender, MouseEventArgs e) { TouchPad testTouchPad = new TouchPad(ref numericUpDownTx, numericUpDownTx.Value.ToString().Trim()); testTouchPad.ShowDialog(); }
private void numericUpDownSpe_MouseDoubleClick(object sender, MouseEventArgs e) { TouchPad tp = new TouchPad(ref numericUpDownSpe, numericUpDownSpe.Value.ToString()); tp.ShowDialog(); }
private void tbxAgain_MouseDoubleClick(object sender, MouseEventArgs e) { TouchPad tp = new TouchPad(ref tbxAgain, tbxAgain.Text.Trim(), true); tp.ShowDialog(); }
private void tbxFileName_MouseClick(object sender, MouseEventArgs e) { TouchPad testTouchPad = new TouchPad(ref tbxFileName, tbxFileName.Text.Trim()); testTouchPad.ShowDialog(); }