11.18我的工作

我今天的主要工作是编写关于暂停控件的代

private void button4_Click(object sender,System.EventArgs e)

{//暂停播放

if(this.axMediaPlayer1.FileName.Length>0)

this.axMediaPlayer1.Pause();

else

{

MessageBox.Show("请选择歌曲","信息提示",MessageBoxButtons.OK,MessageBoxIcon.Information);

}

}

posted @ 2018-11-18 14:25  未辰vc  阅读(78)  评论(0)    收藏  举报