哪位c#d 高手帮帮忙啊
为什么我添加了windowsMediaPlayer组件,但程序中privatevoidtoolStripComboBox3_Click(objectsender,Even...
为什么我添加了windowsMediaPlayer组件,但程序中
private void toolStripComboBox3_Click(object sender, EventArgs e)
{
this.asWindosMediaPlayer1.close();
}
却报错说
Error1The name 'asWindowsMediaPlayer1' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5
Error1The name 'WindowsMediaPlayer' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5
Error1The name 'WindowsMediaPlayer' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5 展开
private void toolStripComboBox3_Click(object sender, EventArgs e)
{
this.asWindosMediaPlayer1.close();
}
却报错说
Error1The name 'asWindowsMediaPlayer1' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5
Error1The name 'WindowsMediaPlayer' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5
Error1The name 'WindowsMediaPlayer' does not exist in the current contextD:\My vs project\practice5\practice5\Form1.cs4813practice5 展开
2个回答
展开全部
我猜是因为你的路径中有空格。把项目复制到一个没有空格,不含中文路径的目录里去吧
更多追问追答
追问
非常感谢,大侠,能解释清楚点吗?什么意思?什么路径?什么项目?谢谢啦
追答
D:\My vs project\practice5\practice5
这个路径中有空格
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询