0

Text box を使用して PictureBox をクリックする方法を知りたいです。

private void textBox2_KeyPress(object sender, KeyPressEventArgs e)
{
   if (e.KeyChar == (char)Keys.Enter)
   {
       // I wanna a method to click on PictureBox1 here 
   }
}
4

1 に答える 1