Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     keyb = new keyboard(textBox1);
     keyb.StartPosition = FormStartPosition.Manual;
     keyb.Location      = new Point(this.Location.X + 70, this.Location.Y + 170);
     keyb.ShowDialog();
     textBox1.Focus();
 }
Exemple #2
0
 private void textBox2_Enter(object sender, EventArgs e)
 {
     keyb = new keyboard(textBox2);
     keyb.StartPosition = FormStartPosition.Manual;
     keyb.Location      = new Point(this.Location.X + 100, this.Location.Y + 170);
     keyb.ShowDialog();
     textBox2.Focus();
 }