Exemplo n.º 1
0
        private async void VolumeSlider_Loaded(object sender, RoutedEventArgs e)
        {
            int volume = await Applikation.GetVolume();

            SetVolumeSliderValue(volume);
            slider = sender as Slider;
            slider.AddHandler(UIElement.PointerReleasedEvent, new PointerEventHandler(slider_PointerReleased), true);
        }
Exemplo n.º 2
0
        private async void VolumeUpWrapper_Tapped(object sender, TappedRoutedEventArgs e)
        {
            int currentVolume = await Applikation.GetVolume();

            await Applikation.SetVolume(++currentVolume);

            SetVolumeSliderValue(currentVolume);
        }
Exemplo n.º 3
0
        private async void VolumeSlider_Loaded(object sender, RoutedEventArgs e)
        {
            int volume = await Applikation.GetVolume();

            SetVolumeSliderValue(volume);
        }