Exemplo n.º 1
0
        /// <summary>
        /// 显示基础配置页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonItem5_Click(object sender, EventArgs e)
        {
            frmSystemSetting fss = new frmSystemSetting();

            fss.ShowDialog();
            DialogResult result = MessageBox.Show("\n修改系统设置后应重启系统   \n\n\n确认是否重启(Y/N)", "系统提示", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);

            if (result == DialogResult.Yes)
            {
                reStart = true;
                Application.Restart();
            }
        }