• C# Simple Syntax Highlighting

    Some time ago, I had to make a project that required syntax highlighting - luckily I wasn’t the one who had to make that part. However the version used in the project was more complicated - so I decided to...


  • C# Synchronize 2 RichTextBoxes' Scroll

    I recently had a problem when I tried to synchronize the scrolling between 2 RichTextBoxes - that was because these controls behave different than normal TextBoxes. However I managed to solve this…after some time, and I decided to post the...


  • C# Form Fade In/Fade Out

    This short tutorial is made to show you how to create a fade in / fade out effect for a form. Since basic Windows Forms doesn’t provide such an option, it must be done manually. Note: we’ll use timers instead...


  • C# Create Child Forms

    Child Forms are those forms that are found inside another form (parent form). There are multiple ways to create child forms - most of them require to use a MDI Container. Child Forms without MDI Container I, personally, had lots...


  • C# Disable RichTextBox's Smooth Scrolling

    In this article I’ll show you how to disable RichTextBox’s Smooth Scrolling - aka make RichTextBox scroll line by line. I know this is a problem for many developers, it was a problem for me too, so that’s why I...


  • C# Simple Form with Rounded Corners

    This tutorial aims to show how to make a C# Form with rounded corners, using a very simple method. It’s not actually our policy as we won’t use code here… 1. Select a background image for the Form(window) - it...


  • C# Moving form without border/title bar

    1. Removing the title bar and border In this tutorial I will show you how you can make a window (Form) with no title bar or border - which we can also move with the cursor. I assume you already...


  • C# Form with Gradient Background

    Gradient is a method which consists in slowly switching from one color to another - it’s used very often in application’s design. In this tutorial I’ll show you how to create this effect using only code: First, create a Forms...