Skip to Content
.NET Windows® Forms Custom Controls
book

.NET Windows® Forms Custom Controls

by Richard Weeks
January 2002
Intermediate to advanced
288 pages
5h 48m
English
Sams
Content preview from .NET Windows® Forms Custom Controls

Basic Control Debugging

By now you may be wondering how to debug controls, designers, and editors. As with any class library project, there needs to be an application that will use the library. This application can be set as the startup program for debugging purposes. In the case of designers and editors, VS .NET provides the solution. In the project properties, set the Start Application to devenv.exe, as shown in Figure 5.9.

Figure 5.9. Debugging setup.

Now when the project is executed, a new instance of VS .NET will be launched. This will allow for setting break points within the control, designer, and editor.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Roger Villela
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672323338Purchase book