All entries for Saturday 17 September 2005

September 17, 2005

My Party

I'm having my 21st birthday party on Friday 23rd September at my house in Leamington. Everyone is welcome. Give me a shout if you don't know where I am.

I know that no one back in Cornwall reads my blog. I just wanted to say "thank you" to you all for replying to the invite I sent via text message… yeah… whatever guys…. see you at Christmas… or not.


WinForms Error Binding

I created a component that handles the boring job of hooking up an object that implements IDataErrorInfo to an ErrorProvider on a form. The data bound object has to implement my IRuleTrigger interface by having two events RuleInvalidated and RuleValidated. These events are listened to by my RuleBinder component. It then enumerates the controls on the form looking for data bindings relevant to the data object. ErrorProvider.SetError is invoked to either set or clear the error on controls as needed.
So now the business object is in control of business rules and the RuleRinder takes care of setting the relevant UI. Thus eliminating all those TextBox.Validated event handlers.
If I get the code commented up properly (when I'm less busy) I'll post it online. It looks like I'm building up a fair amount of code here for a rather nice "Data Binding Framework" library.

Google Ads

Search this blog

Most recent comments

  • I scratched my eye while i was holding some kind of plastic packaging.. Anyways the corner of the pl… by Ercan on this entry
  • About a year ago my contacts that i was wearing, i guess were fautly, because shortly after they wer… by Jon on this entry
  • I got shower gel in my eye 4 and a half days ago, and becasue i rubbed my eyes a lot, i have scratch… by Chris on this entry
  • This website may help http://www.webmd.com/eye–health/tc/Eye–Injuries–Home–Treatment by S on this entry
  • I somehow got dirt, or debris in my eye. The terrible pain sent me in a tailspin. I was afraid of sa… by Bobbi on this entry

Tags

September 2005

Mo Tu We Th Fr Sa Su
Aug |  Today  | Oct
         1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30      

Galleries

Blog archive

Loading…
Not signed in
Sign in

Powered by BlogBuilder
© MMXXI