blog.jj5.net (2003 to 2005)

Awesome day coding today.

Sun Jun 20 21:57:00 UTC+1000 2004

Categories:

I've got a lot of work due tomorrow. I'm just barely, maybe, probably, almost going to get nearly almost some of it done in time. :)

I had the best day coding though.

Been going since about 6 or 7 this morning.

Had a mate round to code with me (thanks Shaz! :) which was cool. Nice to have some company.

I'm pretty chuffed with what I have here at the moment. Got my auto-generated list stuff mostly finished now.

I don't use WinForms databinding, because it's too opaque and makes me jump through to many hoops to get the level of sophistication I want out of a databinding framework. So, I wrote one that works.. ;)

I'm pretty pleased with how mine works.

I've got my own EntityTreeControl class, for helping create tree views. It's super flexible, and I can create document specific, strong typed ones with about 10 lines of 'manual code' (which gets generated as a template anyway ;) now.

I decided that I wanted two types of controls for displaying lists. One is a Picker, the other is a Selector. A Picker will render a list of entities and allow the user to selected zero or one. A Selector will render a list of entities and allow the user to select zero or n.

A Picker can render its list as a ComboBox, ListBox or a ListView. You just set the ListStyle property to change this.

A Selector can render its list as a CheckedListBox, ListBox or ListView. You just set the ListStyle property to change this!

I have 'LargeIcon', 'SmallIcon', 'Detail' and 'Table' support for ListView views. The 'Table' is a Detail view with FullRowSelect.

Also got some other stuff done. ContentMenu stuff, and EntitySummaryControls, which are handy.

I love my code generator.

Anyway.. long night ahead..

John.


Copyright © 2003-2005 John Elliot