KnowDotNet Visual Organizer

Windows Forms

Check here for anything that deals with Windows Forms, including controls, graphics, and UI issues.


Articles  

Create a Gradient background on your Forms or Controls -
Ok, so let's say you want to use a common technique that's pretty popular these days, the Gradient. It's a LOT easier than you might think.    more...

Making a Form Transparent -
Let's face it, .NET is really cool, but creating a compelling UI takes more than a cool framework to program on. One of the more interesting and relatively unknown features of .NET's Windows.Forms is the Opacity property. By altering this, you can make your form move anywhere along the visibility spectrum, from invisible, to somewhat transparent, to completely opaque.    more...

Validating Text Controls withan ErrorProvider -
There's a feature called an ErrorProvider that you may want to use. Like Context Menus, you won't see any reference to this control until you drag one on your form. Once you do, each control that has a Validating event will have an Error On Provider property. The most logical place to respond is in the Validating event of your given control, but that's up to you.    more...

How to Create a Numeric Only TextBox Control -
This article is a general introduction into customizing controls to extend their basic functionality. It's meant as a primer intended to get you thinking about building controls that can save you time and effort.    more...

Handling TreeView & ComboBox Click Events -
Why does the AfterSelect event not fire if the user selects the same node from a TreeView twice in a row? The same thing happens in a ComboBox.    more...

Creating a Colored Brush in GDI+. -
How do I create a colored brush after having retrieved a color from the Color Dialog. Brush.Color is an abstract class and I don't see how to create a Brush.Color at run-time.    more...


< Previous    Page 2 of 2    Next >

Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing