Reputation: 5019
I will be building an app that will be full screen on all available monitors. For each monitor available I will load up different content. So if the system has detected 2 monitors, I will generate 2 windows each window with different content (they will be full screen, taking over everything including taskbar, etc)
Is windows forms best suited for this or wpf. Also in the display settings, I assume each additional monitor should be setup as "extending desktop" who will i get the right working area.?
Windows form provides the Screen class but when i run it on a monitor with 1920x1080, i get
Device Name: \\.\DISPLAY1
Bounds: {X=0,Y=0,Width=1280,Height=720}
Type: System.Windows.Forms.Screen
Working Area: {X=0,Y=0,Width=1280,Height=693}
Primary Screen: True
Upvotes: 0
Views: 209
Reputation: 3451
WPF can easily support multiple windows simultaneously. If you subscribe to an MVVM pattern with them, you can interact between the two windows by either
If you're skill set includes, or you have time to learn, WPF - go with that option.
This stack overflow answer will help with controlling your windows launch state via the WindowLoad event, using the frameworks Screen collection.
Upvotes: 1