Any suggestions?
Code: Select all
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
///////////MediaMonkey
using SongsDB;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
SongsDB.SDBApplicationClass mm = new SongsDB.SDBApplicationClass();
private void Form1_Load(object sender, EventArgs e)
{
mm.OnTrackEnd += new SongsDB.ISDBApplicationEvents_OnTrackEndEventHandler(handletrackchange);
mm.OnPlay += new SongsDB.ISDBApplicationEvents_OnPlayEventHandler(handleonplay);
mm.OnPause += new SongsDB.ISDBApplicationEvents_OnPauseEventHandler(handleonplay);
}
private void handletrackchange()
{
textBox1.Text += "1";
}
private void handleonplay()
{
textBox1.Text += "p";
}
}
}