private void SuspendSystem_Click(object sender, EventArgs e) { try { _manager.SuspendSystem(); Output.Text = "Done"; } catch (Win32Exception exception) { Output.Text = $"{exception.ErrorCode} - {exception.Message}"; } }