Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            playlist    = new Playlist(ref MediaPlayer, ref ImagePlayer);
            FFinder     = new FFinder();
            MWInterface = new MWInterface();
            timer       = new System.Windows.Threading.DispatcherTimer();
            this.Height = 720;
            this.Width  = 1280;

            this.setIcons();
            this.FFinder.onStartup();
            playlist.elems           = this.FFinder.getDataTable();
            FileList.DataContext     = playlist.elems.DefaultView;
            VolumeSlider.DataContext = playlist;
            timer.Tick += TimerTick;
        }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();
            playlist = new Playlist(ref MediaPlayer, ref ImagePlayer);
            FFinder = new FFinder();
            MWInterface = new MWInterface();
            timer = new System.Windows.Threading.DispatcherTimer();
            this.Height = 720;
            this.Width = 1280;

            this.setIcons();
            this.FFinder.onStartup();
            playlist.elems = this.FFinder.getDataTable();
            FileList.DataContext = playlist.elems.DefaultView;
            VolumeSlider.DataContext = playlist;
            timer.Tick += TimerTick;
        }