Sign in to follow this  

[.net] one computer with two screens

This topic is 4837 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
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

This topic is 4837 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this