AutoWakeUp.MainForm.SuspendStuff C# (CSharp) Method

SuspendStuff() private method

private SuspendStuff ( ) : void
return void
        private void SuspendStuff()
        {
            if (string.Equals(comboBoxOperation.Text, "Sleep"))
            {
                SystemActions.SystemSleep();
            }
            else if (string.Equals(comboBoxOperation.Text, "Shutdown"))
            {
                SystemActions.SystemShutdown();
            }
            SetControlEnabled(true);
        }