article

Creating a scrollable and zoomable image viewer in C# Part 4

Fourth and final in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part three added panning, we now add zoom support via the mouse wheel and clicking with the left or right buttons, along with some additional display properties.

avatar
Richard Moss
article

Creating a scrollable and zoomable image viewer in C# Part 3

Third in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part two added scrolling support, we now extend this to support panning and keyboard scrolling.

avatar
Richard Moss
article

Creating a scrollable and zoomable image viewer in C# Part 2

Second in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part one created the initial component with auto resize, we now add scrolling support.

avatar
Richard Moss
article

Creating a scrollable and zoomable image viewer in C# Part 1

First in a multi part series on creating an image viewer that can be scrolled and zoomed in C#.

avatar
Richard Moss
article

Adding a horizontal scrollbar to a ComboBox using C#

How to add a horizontal scrollbar to a ComboBox in C# using the WS_HSCROLL style and CB_SETHORIZONTALEXTENT message.

avatar
Richard Moss
article

Boulder Dash Part 2: Collision Detection

Sample project for implementing collision detection in the sprites of the Boulder Dash (Boulderdash) arcade game.

avatar
Richard Moss
article

Creating a Windows Forms RadioButton that supports the double click event

The default RadioButton component doesn't offer a double click event. This article describes how to override the default implementation and enable double clicking.

avatar
Richard Moss
article

Boulder Dash Part 1: Implementing Sprite AI

Sample project for implementing the AI of the Butterfly and Firefly sprites of the Boulder Dash (Boulderdash) arcade game.

avatar
Richard Moss
article

Creating a Windows Forms Label that wraps with C#

Article describing how to create a custom implementation of a standard Windows Forms Label to give it the ability to wrap and still autosize.

avatar
Richard Moss
article

Snippet: Mime types and file extensions

Snippet with a pair of helper functions showing how to get the default file extension for a given mime type, or the mime type from a given file extension.

avatar
Richard Moss
article

Unable to update the EntitySet because it has a DefiningQuery and no element exists in the element to support the current operation.

Solving the exception "Unable to update the EntitySet because it has a DefiningQuery and no element exists in the element to support the current operation." when using the Entity Framework

avatar
Richard Moss
article

Converting BBCode into HTML using C#

A simple to use class library for converting text containing BBCode used by popular forum systems into HTML using C#.

avatar
Richard Moss