private void Form1_load(object sender, EventArgs e)
{
      
this.AcceptButton = EnterButton;
      
this.CancelButton = EscButton;
}
//配置窗体的两个属性即可

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2021-05-23
  • 2022-01-06
  • 2021-11-17
  • 2021-08-02
  • 2021-06-27
  • 2021-06-03
相关资源
相似解决方案