Winform 重启

mac2022-06-30  20

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

转载于:https://www.cnblogs.com/LYunF/archive/2013/03/05/2943895.html

最新回复(0)