I\'m gonna detect the resolution with the following code in WPF :
double height = System.Windows.SystemParameters.PrimaryScreenHeight; double width = S
you could use this instead: http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.primaryscreen.aspx