Tuesday, 17 September 2013

Stop program from opening after running App

Stop program from opening after running App

I found a code to control iTunes online. Whenever I debug my project
iTunes will open at the same time. How can I stop it? please help.
// iTunes Control
private void itunescontrol()
{
app.OnPlayerPlayEvent += new
_IiTunesEvents_OnPlayerPlayEventEventHandler(delegate(object o)
{
this.Invoke(new Router(app_OnPlayerPlayEvent), o);
});
}
delegate void Router(object arg);
iTunesApp app = new iTunesApp();

No comments:

Post a Comment