예제 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            this.winamp = WinampController.GetExisting();
            if (this.winamp == null)
            {
                this.winamp = WinampController.StartNew();
            }

            timer1.Start();
        }
예제 #2
0
        private void button8_Click(object sender, EventArgs e)
        {
            var win = WinampController.StartNew();

            this.winamp = win;
        }