Exemplo n.º 1
0
 private void MenuItemUnsubscribe_Click(object sender, RoutedEventArgs e)
 {
     MessagingService.Unsubscribe(MessagingService.Messages.SliderValueChanged, LabelAktualisieren);
 }
Exemplo n.º 2
0
 private void SliderWert_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     MessagingService.Publish(MessagingService.Messages.SliderValueChanged, sliderWert.Value);
 }