[.net] one computer with two screens
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!!
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement