vb自带的WindowsMediaPlayer1,我有很多form,WindowsMediaPlayer1是在form8中的,看下面

发布时间:2024-06-01 15:02 发布:上海旅游网

问题描述:

在form8的情况下:
怎样在按下command3(返回到form1)时,WindowsMediaPlayer1自动停止并且返回form1
其中command3的代码已输入,只需问大家要一个停止的代码
【在此处加入WindowsMediaPlayer1停止的代码】
Form8.Hide
Form1.Show

问题解答:

停止代码:Windows media player.controls.stop

望采纳!

热点新闻