When I started to learn WinForm programming, one thing that I wondered was how to create additional window forms on already existing Winform Project. For example I wanted to create a popup window for editing purposes. I knew what code to write that would instantiate a new form but didn't know how to edit that form in the designer.
ELMAH (Error Logging Modules and Handlers) is an open source error logging framework for ASP.NET and for ASP.NET MVC. When added to the web application, exceptions that are thrown will trigger event handlers in the ELMAH that will log nearly all unhandled exceptions, but using ASP.NET 4 there is one Exception type that the ELMAH v1.2 is unable to log and that is HttpRequestValidationException.
In this article you will learn three ways to make ELMAH log this specific exception.
When using Winforms controls, you might come to a situation where you need to store some additional information for particular control.
You will have to add a custom property to the control and you can achieve that in two ways:
When developing projects in Winforms, there will come a time when you will have to deal with Browser Folder and Open File Dialogs. This article will show you how to accomplish common tasks using those two controls in Windows Forms using C#.
When you decide to use CheckedListBox Control, you might expect to use
DataSource property like you do for example with ListBox, but you will discover that the Intellisense is not showing those properties at all.