1 if (MessageBox.Show("是否退出系统?", "退出系统?", MessageBoxButton.OKCancel, MessageBoxImage.Question) == MessageBoxResult.OK)
2 { 
3   this.Close(); 
4 }

 

相关文章:

  • 2021-08-03
  • 2021-07-10
  • 2021-07-11
  • 2021-12-10
  • 2022-12-23
  • 2021-12-21
  • 2021-08-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案