Exemplo n.º 1
0
 private void textBox1_Click(object sender, EventArgs e)
 {
     using (KeyPad kp = new KeyPad())
     {
         if (kp.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             this.txtLOTid.Text = kp.value;
             //T.Text = np.value;
         }
     }
 }
Exemplo n.º 2
0
        private void tbInput_Click(object sender, EventArgs e)
        {
            TextBox T = (TextBox)sender;

            using (KeyPad kp = new KeyPad())
            {
                if (kp.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    T.Text = kp.value;
                }
            }
        }
Exemplo n.º 3
0
        private void txt_KP_Click(object sender, EventArgs e)
        {
            TextBox T = (TextBox)sender;

            using (KeyPad kp = new KeyPad())
            {
                if (kp.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    //this.textBox5.Text = np.value;
                    if (T.Name == "txt_server")
                    {
                        T.Text = "ftp://" + kp.value;
                    }
                    else
                    {
                        T.Text = kp.value;
                    }
                }
            }
        }