private void Form1_Load(object sender, EventArgs e) { this.winamp = WinampController.GetExisting(); if (this.winamp == null) { this.winamp = WinampController.StartNew(); } timer1.Start(); }
private void button8_Click(object sender, EventArgs e) { var win = WinampController.StartNew(); this.winamp = win; }