>I've done that by creating a behavior object that attaches itself to the controls at runtime and binds the keypress and other events. I had to subclass the behavior object some depending on the type of control, but it works and keeps the duped code to a minimum.
>
>Gary
>
Thanks, Gary. Is it custom based class? Since I already done with direct copying technique I would not re-design, but I agree, this sounds like much better approach and I would keep this in mind for the future.
Also, I guess, it's more of a .NET kind of approaches, right?
If it's not broken, fix it until it is.
My Blog