i have a C# application that should open a process on the second screen if there are more than one screen. I just cannot get it working. Any ideas?
Array screens = Screen.AllScreens;
if (screens.Length > 1)
{
// open in the second monitor
}
else
{
System.Diagnostics.Process.Start(InputData);
}
It should be the same data as in else
, but just open this on the second monitor in the now empty if
.