Browse by Tags
All Tags »
WinForms (
RSS)
The winners of the programming contest over at the German website www.dotnet-snippets.de have been announced – my entry EventFilter was chosen by a jury from almost 100 entries to be the winner. EventFilter is a generic helper class for dealing with events...
EventFilter is a generic helper class for dealing with events that may be raised multiple times in rapid succession, when only the last event of a “burst” is of interest. Introduction Imagine a Windows Forms program mimicking the GUI of the Windows Explorer...
I’m currently working on a hobby project where I’m displaying a list of files in a way similar to the “details” view of Windows Explorer. For various reasons I’m using a DataGridView instead of a ListView, and while configuring the DataGridView to look...
I’m currently using the WebBrowser control in a WinForms application as a simple layout engine, as it’s much faster when rendering texts in front of a background image than WinForms (and I need it by the weekend, so I don’t want to take the risk of using...
Remark: This is a spin-off of my work on GhostDoc . As the control I wrote for GhostDoc is highly specific to the actual problem I wanted to solve, I’ll only explain the basic idea and provide the source for the “LinkBox” control which I use as a base...
Here's some code straight from my work on GhostDoc that just has started again with new energy after a pause in the weeks before Christmas. I think most of us will agree that Splitter controls are really cool. Once you have learned the basics, there's...
Writing texts for dialog boxes can be a pretty time-consuming task. When using only label controls, the constant tweaking of both wording (resulting in longer or shorter sentences, words wrapping in different ways) and overall text layout will drive you...
After my recent articles about visual inheritance ( Visual Inheritance - How to escape Layout Hell and Visual Inheritance Revisited ) I received some mails in which people asked me about docking and windows forms layout in general. One question was about...
- V...I.... What's the "V" stand for? - Visual. - What's the -- - Inheritance. - Ohhhhh........ What was the "V" again? My recent article about visual inheritance generated a lot of positive feedback (at least what I would call "a lot"). In this post...
The other day I was playing around with the RichTextBox, learning how to use this control. One of my experiments produced the effect of text being displayed on an old terminal, character by character. Now I've wrapped this code in a simple control. Please...
More Posts
Next page »