|
c#2005 Syntax
private void Form1_Load(object sender, EventArgs e) { axDVDPlayer1.ReceivedFullScreenHWnd = (int)this.Handle; axDVDPlayer1.ClearFullScreenType = 0; }
Then when you call axDVDPlayer1.ShowFullScreen(true) with full screen mode, the form will received keyboard, mouse event.
private void Form1_KeyDown(object sender, KeyEventArgs e) {
if (e.KeyData == Keys.Space) { if (cboclearkey.SelectedIndex == 0) axDVDPlayer1.ShowFullScreen(false); } }
|