private void LastWakeTime_Click(object sender, EventArgs e) { try { var time = _manager.GetLastWakeTime(); Output.Text = $"Last system wake time - {time}"; } catch (Win32Exception exception) { Output.Text = exception.Message; } }