C# - Drag and Drop Files

When coding drag and drop operations in C# Windows applications, you need to complete two steps. Firstly, add a DragOver event to your form in which you change the cursor over your target application so the user can see they will copy the dragged object on the form: [Read More]
Tags: c#

Invisible updates in a RichTextBox

If, for example you are extending the RichTextBox class in order to create a text editor, you might want to change the colour of certain words in a line. However, in order to do this you need to “Select” the text you want to change, which results in the control... [Read More]
Tags: c#