I have created a usercontrol and a designer, How can i debug the designer

You need to use a second instance of VS.NET to debug the one that’s running the code. Put your control on a form in VS.NET Start a 2nd Vs.Net Choose the Debug menu >> Processes … Double click ‘devenv.exe’ and choose ‘Common Language Runtime’ as the types of debugging Open your code file, set your breakpoint, and you’re debugging. Posted by Shawn Burke of MSFT in microsoft.public.dotnet.framework.windowsforms.

How does text drawing differ between GDI+ and GDI

GDI+ text layout is resolution independent, and forms built with GDI+ text look the same at all resolutions and when printed. The GDI+ APIs DrawString and MeasureString lay out text independent of device resolution, so a paragraph of text takes the same number of lines, no matter what the display device.