C# 名称';auxWindowsMediaPlayer1.URL';在当前上下文中不存在
我对C#有问题。我正在使用我认为正确的代码,但它给了我一条错误消息:名称“'auxWindowsMediaPlayer1.URL'在当前上下文中不存在” 这是我的密码:C# 名称';auxWindowsMediaPlayer1.URL';在当前上下文中不存在,c#,visual-studio-2013,C#,Visual Studio 2013,我对C#有问题。我正在使用我认为正确的代码,但它给了我一条错误消息:名称“'auxWindowsMediaPlayer1.URL'在当前上下文中不存在” 这是我的密码: private void button1_Click(object sender, EventArgs e) { axWindowsMediaPlayer1.URL = @"C:\Users\BitCoin\Desktop\loic-code-42-tags-1.0.6\Resources\mus
private void button1_Click(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = @"C:\Users\BitCoin\Desktop\loic-code-42-tags-1.0.6\Resources\music.wmv";
}
我可能不使用正确的C代码,因为我只知道C++。我正在使用Visual Studio 2013。打字:
ax…
与aux…
相比?另外,与按钮1\u Click()相关的定义在哪里?axWindowsMediaPlayer1在哪里定义??