Update 1.1.4.0 of the ImageBox control is now available, with a large number of new features and bug fixes.
Blog Articles and information on C# and .NET development topics
The Cyotek Development Blog has moved - please find it at https://devblog.cyotek.com.
Although these pages remain accessible, some content may not display correctly in future as the new blog evolves.
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 statement for conversion, and periodically update such functions when extending the source enum. Or you could use the power of reflection and attributes to do it automatically.
This article describes extending a custom TypeConverter
created previously to support better code generation, expandable properties, and dropdown lists containing standard values.
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
control.
The color picker controls library has been updated.
A quick overview of a new open source library for selecting colors in Windows Forms applications.
An article which describes how to use C# to split a rectangle into multiple smaller parts based on pairs of co-ordinates.
An article which describes how to create a custom ErrorProvider in C# that changes the background colour of fields with validation errors.
Update 1.1.2.0 of the ImageBox control is now available, with a variety of new features and bug fixes.
A short article which describes how manually writer the byte order mark (BOM) of an encoding into a stream