axWindowsMediaPlayer1全屏以后,没有办法再用代码退出全屏了,我的代码是这样写的
private void axWindowsMediaPlayer1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
switch (e.KeyCode)
{
case Keys.C:
try
{
this.axWindowsMediaPlayer1.fullScreen =false;
this.listBox1.Focus();
}
catch
{
}
break;
}
}
我没有报错,但按了,C键也没有反应呀,
我在前面全屏时是这样写的
private void listBox1_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.A:
try
{
this.axWindowsMediaPlayer1.fullScreen = true;
this.axWindowsMediaPlayer1.Focus();
}
catch
{
}
break;
}
}
高手给我指点指点好吗,为什么不能退出全屏呀