Overriding base methods in C#

When you have a base method which can be overridden by a child class, it’s important to keep in mind that you are completely overriding the base method. So, you need to ensure that the child class method does everything that is required. In other…

Making a text box truly multiline

In Microsoft asp.net WinForms, you can make a textbox multiline. By Multiline, I mean that it allows text to be written across multiple lines. There is a property on the Textbox control called “Multiline”, which you need to set to true. But, you also have…

Getting past designer view errors in Windows Forms

Sometimes you can get a raft of error messages when trying to view the designer for a particular Windows form and/or user control. This can be frustrating as you may have already gone through and ensured that the errors are not correct. One work-around (definitely…