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