摘要:關掉程式重起一個
if (MessageBox.Show("Load Default Layout will restart this Application ..", "Information", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes)
{
System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location);
Close();
}