1、相关说明:
http://blog.csdn.net/hutao1101175783/article/details/9340699
2、屏蔽双击最大化的方式为:
axWindowsMediaPlayer1.MouseDownEvent += new _WMPOCXEvents_MouseDownEventHandler(axWindowsMediaPlayer1_MouseDownEvent);
void axWindowsMediaPlayer1_MouseDownEvent(object sender, _WMPOCXEvents_MouseDownEvent e)
{
if (this.axWindowsMediaPlayer1.fullScreen == true) this.axWindowsMediaPlayer1.fullScreen = false;
}
3、右键播放器时不显示相关菜单
axWindowsMediaPlayer1.enableContextMenu = false;
4、当出现播放报错时,不会弹出框
axWindowsMediaPlayer1.settings.enableErrorDialogs = true;