axWindowsMediaPlayer1控件的全屏问题,
我这样写,就没有报错
private void button1_Click(object sender, EventArgs e)
{
this.axWindowsMediaPlayer1.fullScreen = true;
}
我这样写就报错了
private void listBox1_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.A:
this.axWindowsMediaPlayer1.fullScreen = true;
break;
}
}
为什么呀,求高手指点指点