コード例 #1
0
        /// <summary>
        /// Ons the playback slider touch up.
        /// </summary>
        /// <param name="sender">Sender.</param>
        /// <param name="e">E.</param>
        private void OnPlaybackSliderTouchUp(object sender, SeekBar.StopTrackingTouchEventArgs e)
        {
            float progress = (float)(((SeekBar)sender).Progress) / 1000;

            // PlaybackSlider側にイベント通知
            _slider.TouchUpEvent(progress, e);
        }
コード例 #2
0
 /// <summary>
 /// Ons the playback slider touch up.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 private void OnPlaybackSliderTouchUp(object sender, EventArgs e)
 {
     _slider.TouchUpEvent(((UISlider)sender).Value, e);
 }