http://msdn.microsoft.com/smartclient/codesamples/?pull=/library/en-us/dnwinforms/html/wnf_custdatagrid.asp