There is not enough information provided to allow any decent amount of customization.
Also, the event handling looks much to rigid.. do buttons only ever fire off a single type of event? The textbox has two event? or does a single event fire two functions? If it has two events, which event does the first function map to and which the second? Is the order important?
I think you'd have trouble maintaining the code... if you dropped the project for two months and came back, would you really be able to remember exactly what everything actually meant?
I don't mean to be hard on the code... I just think that this might be a case where Verbosity is a necessary nuisance, otherwise you'll end up with too much indecipherable information.