コード例 #1
0
        public VideoSliderView()
        {
            InitializeComponent();

            slider.AddHandler(Slider.MouseMoveEvent, new MouseEventHandler(slider_MouseMoveEvent));
            slider.AddHandler(Slider.MouseLeaveEvent, new MouseEventHandler(slider_MouseLeaveEvent));

            timeAdorner = new TimeAdorner(slider);
            slider.Minimum = 0;
            slider.Maximum = 0;

            markerAdorner = new List<MarkerAdorner>();
        }
コード例 #2
0
        public VideoSliderView()
        {
            InitializeComponent();

            slider.AddHandler(Slider.MouseMoveEvent, new MouseEventHandler(slider_MouseMoveEvent));
            slider.AddHandler(Slider.MouseLeaveEvent, new MouseEventHandler(slider_MouseLeaveEvent));

            timeAdorner    = new TimeAdorner(slider);
            slider.Minimum = 0;
            slider.Maximum = 0;

            markerAdorner = new List <MarkerAdorner>();
        }