예제 #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;
         }
     }
 }
예제 #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;
                }
            }
        }
예제 #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;
                    }
                }
            }
        }