private void Sleep_Click(object sender, RoutedEventArgs e) { PowerManagement.Set(PowerAction.Sleep); }
private void Restart_Click(object sender, RoutedEventArgs e) { PowerManagement.Set(PowerAction.Restart); }
private void Shutdown_Click(object sender, RoutedEventArgs e) { PowerManagement.Set(PowerAction.Hybernate); }
private void Logout_Click(object sender, RoutedEventArgs e) { PowerManagement.Set(PowerAction.Logout); }