Friday, October 06, 2006 11:44 PM bart

Desktop size, current screen resolution, ... in C#

Short post this time. Lots of developers (including me) use search engines as their primary source to find code. Unfortunately a lot of code is blindly copied and pasted into a project with the risk for security leaks or performance penalties. Enough about this however.

Today I was messing around in C# to find the current desktop size or screen resolution or .... Well, anything that could give me a clue about the space available in the X and Y direction to put a form on the screen. It really felt bad to know I did this before but I couldn't find out directly.

So here it is (don't forget it anymore), links to MSDN:

Happy coding! | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Filed under: ,


# Desktop size, current screen resolution, ... in C#

Wednesday, July 01, 2009 6:18 AM by

You've been kicked (a good thing) - Trackback from