日期:2014-05-17 浏览次数:20858 次
namespace MyShipin
{
public partial class Form1 : Form
{
public int nPort = 0;
public static IntPtr sFileName;
public string PlayFileName;
public int pWidth;
public int pHeight;
public static IntPtr colorKey;
public static bool bOverlay;
public static IntPtr nPause;
public Form1()
{
InitializeComponent();
}
int numOfMusic;
string[] fileList = new string[10000];
public void AddFile(string path)
{
if (numOfMusic < 10000)
{
numOfMusic += 1;
fileList[numOfMusic] = path;
}
else
{
MessageBox.Show("不能添加文件", "播放列表以满");
}
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)