PHP:
//code to set up windows size the same as primary screen's resolution
foreach (var screen in System.Windows.Forms.Screen.AllScreens)
{
if(screen.Primary)
{
<span class="highlight">instance</span>.SetWindowSize(screen.WorkingArea.Width,screen.WorkingArea.Height);
return 0;
}
}