Creating a custom ErrorProvider component for use with Windows Forms...
An article which describes how to create a custom ErrorProvider in C# that changes the background colour of fields with validation errors.
View ArticleDividing up a rectangle based on pairs of points using C#
An article which describes how to use C# to split a rectangle into multiple smaller parts based on pairs of co-ordinates.
View ArticleColorPicker Controls for Windows Forms
A quick overview of a new open source library for selecting colors in Windows Forms applications.
View ArticleColorPicker Controls Update 1.0.2.0
The color picker controls library has been updated.
View ArticleCreating a custom TypeConverter part 1 - getting started
Type converters allow classes to be edited via designers such as the `PropertyGrid`. This article details how to create a simple type converter to and from a `string` for use with a `PropertyGrid`...
View ArticleCreating a custom TypeConverter part 2 - Instance descriptors, expandable...
This article describes extending a custom `TypeConverter` created previously to support better code generation, expandable properties, and dropdown lists containing standard values.
View ArticleUsing alternate descriptions for enumeration members
Enums are useful language features. But what happens when you want to display a string version of an enum member rather than just casting the member to a string? You could manually create a switch...
View ArticleImageBox 1.1.4.0 update
Update 1.1.4.0 of the ImageBox control is now available, with a large number of new features and bug fixes.
View ArticleCreating long running Windows Forms applications without a start-up form
Sometimes you may wish to create an application that sits running in the background but doesn't actually display an initial user interface. However, the user can interact with the application and so...
View ArticleDownloading new and changed Azure storage blobs at scheduled intervals
A sample project which downloads new and changed blobs from Azure storage, and optionally uploads new and changed local files.
View ArticleGetting the hWnd of the edit component within a ComboBox control
A short tip which describes how to access the hWnd of the edit component contained within a `ComboBox` control via the Win32 API using `GetComboBoxInfo` and `COMBOBOXINFO`.
View ArticleVisual Studio Extension for adding multiple projects to a solution
This article describes a simple extension that can be used to add multiple projects at once to a Visual Studio solution.
View ArticleCyotek Add Projects Extension updated for Visual Studio 2013 RTM
A quick note about Visual Studio 2013 support.
View ArticleSpecifying custom text when using the LabelEdit functionality of a TreeView
An article which describes a robust yet simple way to have custom text when using the `LabelEdit` functionality of a `TreeView` and working around the limitations of Windows Forms using C# along with...
View ArticleExtending the LabelEdit functionality of a TreeView to include validation
An article which describes how to add validation support to a `TreeView` control that is using custom label edit functionality.
View ArticleHow to be notified when your application is activated and deactivated
I recently had a requirement where a user was able to perform an action externally to my application, and my application then had to detect this for processing. I could of course just had a poller...
View ArticleTools we use - 2013 edition
As another year enters its final stages, I decided I would log the primary tools I use for my developer role, should be an interesting experiment to compare with each year, if I don't get distracted by...
View ArticleLoading the color palette from a BBM/LBM image file using C#
I took a break from arguing with our GIF decoder to take a quick look at the BBM format as I have a few files in that format containing colour palettes I wished to extract. When I looked into this, I...
View ArticleReading Photoshop Color Swatch (aco) files using C#
The first of a two part series which describes how to load and ultimately save Adobe Photoshop colour swatch files using C#. This first article describes the file format, and provides a full example...
View ArticleWriting Photoshop Color Swatch (aco) files using C#
The second in a two part series that describes how to load and save Adobe Photoshop colour swatch files using C#. This second article provides a full example project that will write RGB and HSL based...
View Article