A projector is just another video output. You can press Win + P to switch between connected video devices. I do not know if it works in Windows 7 or lower.
Have a form with what you want to show. An image, a text or whatever. This will be ApresentacaoForm
.
Just show this form normally, just adjusting its position so that it stays on your second screen.
ApresentacaoForm formulario = new ApresentacaoForm();
Screen[] telas = Screen.AllScreens;
Rectangle bounds = telas[1].Bounds; // pode ser outro índice.
formulario.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
formulario.StartPosition = FormStartPosition.Manual;
formulario.Show();
Documentation for Screen.AllScreens on MSDN.
If you do not have a form for each image, leave a form with the image component and pass in the ApresentacaoForm
constructor the path to that image, setting it in the component. p>
If you find it difficult to find the right device, you can filter the array from Screen
to DeviceName
.
Screen projetor = Screen.AllScreens.FirstOrDefault(f => f.DeviceName == "Meu projetor");