private void ShutdownComputer()
{
if (!ShutdownTimer.Enabled)
return;
Stop();
ShutdownTimer.Stop();
ShutdownTimer.Enabled = false;
if (radHibernate.Checked)
Application.SetSuspendState(PowerState.Hibernate, true, true);
else if (radRestart.Checked)
Process.Start("shutdown", "-r");
else if (radShutdown.Checked)
Process.Start("shutdown", "-s");
else if (radStandby.Checked)
Application.SetSuspendState(PowerState.Suspend, true, true);
}