Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

04 Oct 2006

From UnixTime to DateTime and back

Here are a couple of functions that allow you to convert from UnixTime to DateTime and back public class Util { private ...
18 Sep 2006

Code 39 barcodes recognizer

Earlier today i read Code 39 barcodes in C# by Bart De Smet. The article shows the reader how to generate a Code 39 barc...
16 Sep 2006

Anonymous methods

Suppose you add a couple of buttons to a panel as shown below. What do you think the message in the MessageBoxes will be...
16 Sep 2006

DataGridView with EditOnEnter as EditMode

Earlier this week i found that when a DataGridView has it’s EditMode property set to EditOnEnter the user cannot s...
16 Sep 2006

Drag and Drop on a DataGridView

Here is a bit of sample code that allows you to drag and drop a cellvalue in a DataGridView (don’t forget to set t...
16 Sep 2006

Inconsistent Drag and Drop API

Every System.Windows.Forms.Control has the following events public event DragEventHandler DragDrop public event DragEven...
14 Sep 2006

Adding DataGridViewColumns (lots of them)

Last couple of days i’ve been trying to add a couple (750+) columns into a DataGridView. Initially i tried the fol...
10 Sep 2006

Implementing Master/Detail for Custom Objects with DataGridViewComboBoxColumns

Imagine you have the following two classes public class Parent { private int id; private string name; public Parent( int...
10 Sep 2006

Using DataGridViewComboBoxColumn with Custom Objects

Earlier today i was playing with the DataGridView control. I wanted to have a couple of DataGridViewComboBoxColumns in o...
09 Sep 2006

Playing with VMWare Server

Earlier today i decided to add an image to my VMWare Server. The creation of the image went smooth but at the end of the...