Exemple #1
0
        public MainPage()
        {
            this.InitializeComponent();

            timer          = new DispatcherTimer();
            timer.Interval = TimeSpan.FromSeconds(0.1);
            timer.Tick    += timer_Tick;

            this.seekBar.IsEnabled = false;
            playerProps            = new PlayerProps();
            this.DataContext       = playerProps;
        }
        public MainPage()
        {
            this.InitializeComponent();

            timer = new DispatcherTimer();
            timer.Interval = TimeSpan.FromSeconds(0.1);
            timer.Tick += timer_Tick;

            this.seekBar.IsEnabled = false;
            playerProps = new PlayerProps();
            this.DataContext = playerProps;
        }