namespace SpaceWork
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
//循环播放
axWindowsMediaPlayer1.settings.setMode("loop", true);
}
private void Form1_Load(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = "E:\\CloudMusic\\John Dreamer - Rise - Epic Music.mp3";
}
private void Form1_Paint(object sender, PaintEventArgs e)
{
Graphics g = this.CreateGraphics();
g.DrawImage(Resources._1, new Point(100, 100));
}
}
}