c# - run application on a dual screen environment -
Possible duplicates:
Any idea to see if the current application runs on the primary screen, in a dual-screen environment? I am using VSTS 2008 + C # + .NET 3.5.
Thanks in advance, George
You can use the screen class which You can tell if the control is on a particular screen or not. You can also get the primary monument, and each screen object also has a primary property that indicates whether it is the primary monetary or not.
Here.
You should be able to use it like this:
var monitor = screen. From Control (this); If (Monitor. Primary) // Monitor is the primary monitor back
Comments
Post a Comment