Esempio n. 1
0
        //constructor
        public MainWindow()
        {
            InitializeComponent();
            loopTimer          = new System.Windows.Forms.Timer();
            loopTimer.Interval = 25;

            loopTimer.Tick += new EventHandler(tickEventHandler);

            player1  = new MP3Player(Dispatcher);
            player2  = new MP3Player(Dispatcher);
            player3  = new MP3Player(Dispatcher);
            player4  = new MP3Player(Dispatcher);
            player5  = new MP3Player(Dispatcher);
            player6  = new MP3Player(Dispatcher);
            player7  = new MP3Player(Dispatcher);
            player8  = new MP3Player(Dispatcher);
            player9  = new MP3Player(Dispatcher);
            player10 = new MP3Player(Dispatcher);
            player11 = new MP3Player(Dispatcher);
            player12 = new MP3Player(Dispatcher);
            player13 = new MP3Player(Dispatcher);
            player14 = new MP3Player(Dispatcher);
            player15 = new MP3Player(Dispatcher);
            player16 = new MP3Player(Dispatcher);
        }
Esempio n. 2
0
        //constructor
        public MainWindow()
        {
            InitializeComponent();
            loopTimer = new System.Windows.Forms.Timer();
            loopTimer.Interval = 25;

            loopTimer.Tick += new EventHandler(tickEventHandler);

            player1 = new MP3Player(Dispatcher);
            player2 = new MP3Player(Dispatcher);
            player3 = new MP3Player(Dispatcher);
            player4 = new MP3Player(Dispatcher);
            player5 = new MP3Player(Dispatcher);
            player6 = new MP3Player(Dispatcher);
            player7 = new MP3Player(Dispatcher);
            player8 = new MP3Player(Dispatcher);
            player9 = new MP3Player(Dispatcher);
            player10 = new MP3Player(Dispatcher);
            player11 = new MP3Player(Dispatcher);
            player12 = new MP3Player(Dispatcher);
            player13 = new MP3Player(Dispatcher);
            player14 = new MP3Player(Dispatcher);
            player15 = new MP3Player(Dispatcher);
            player16 = new MP3Player(Dispatcher);
        }