Jump to content
  • Advertisement
Sign in to follow this  
zhebincong

[.net] one computer with two screens

This topic is 5054 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello the winform project(java swing or c#) require that the ONE computer connect to TWO screens,the screen1 is the operation form screen,the screen2 run a map winform app,the two screen are SYNCHRONIZED.that means if you input the query condition in the screen1 and click query button,the screen2 should highlight the location in the map,if you move the mouse to the screen2 and click somewhere,the detailed info should be displayed in the screen1. who can give me a big look about how to program such multi screen win form application?are they TWO application?how can i run them in the different screen that are connected to the SAME computer?how the two application run on different screen communicate with each other? thank you!!

Share this post


Link to post
Share on other sites
Advertisement
Normally it's one PC running one application with 2 graphics cards or a single dual-head card.
That way you spawn two forms, and maximise form #1 one screen #1 and form #2 on screen #2. Then you can pass variables and call functions from one to the other.
As for making sure form #1 appears on screen #1 and similarly for form #2, I don't know how to do that.
If you don't have the form maximised, you can make it big enough to fill both displays, but then you have to make sure your controls are centred properly. It's a lot easier to use two forms for that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!