private void VolumeUp_Click(object sender, RoutedEventArgs e) { Core.Setting.volumeSoundAlarm += 10; if (Core.Setting.volumeSoundAlarm > 100) { Core.Setting.volumeSoundAlarm = 100; } lVolume.Content = Core.Setting.volumeSoundAlarm; Core.ChangeVolumeWMP(); }