J Camp

I have an application in which I would like to play a video in full screen on another display. I am able to list all connected display devices using the System.Windows.Forms.Screen class, and I have no problem playing a video in full screen using Microsoft.DirectX.AudioVideoPlayback.Video. However, I am unable to figure out how to display this on another monitor. I am fully aware that I will likely have to create a form on the second display and play the video from there, but as far as I can tell there is no way to do this from the Screen class.


Re: Windows Forms General Draw on another display

shanecav

I use this to display a form which has video running on it. Put this code when loading the form. The 1 in the code refers to the second display (0 being the primary).

Code Snippet

this.Location = new Point(Screen.AllScreens[1].Bounds.X,Screen.AllScreens[1].Bounds.Y);

this.Height = Screen.AllScreens[1].Bounds.Height;

this.Width = Screen.AllScreens[1].Bounds.Width;

Thanks

Shane C.