예제 #1
0
        private static void onSliderValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MySlider ms = d as MySlider;

            if (ms != null)
            {
                ms.setSliderValue((int)e.NewValue);
            }
        }
예제 #2
0
 async void myslider_SliderChanged(object sender, MySlider.SliderChangedEventArgs e)
 {
     var md = new Windows.UI.Popups.MessageDialog(e.Value.ToString());
     await md.ShowAsync();
 }