if   (   MessageBox.Show("要重新启动嘛?","提示",   MessageBoxButtons.YesNoCancel,  
  MessageBoxIcon.Question)   ==   DialogResult.Yes)  
   
  System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location);

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2021-08-30
  • 2021-09-03
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-08
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案