Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I debug design-time code (e.g., a custom designer) for a custom control?

You need to use a second instance of Visual Studio .NET to debug the one that's running the code.

Put your control on a form in VS.NET. Start a second instance of VS.NET. Choose the Debug | Processes menu item. Double-click devenv.exe and choose Common Language Runtime as the type of debugging. Open your code file, set your breakpoint, and you're debugging.

Shawn Burke, Microsoft



Page view counter