日期:2014-05-17 浏览次数:20935 次
public VideoFrm()
{
InitializeComponent();
Video.Dock=DockStyle.Fill;
Video.KeyDownEvent +=Video_KeyDownEvent;
}
void Video_KeyDownEvent(object sender,_WMPOCXEvents_KeyDownEvent e)
{
if(e.nKeyCode==27)
{
Video.fullScreen = false;
}
}