by Marius Gheorghe
6. December 2007 17:58
I'm working with a customer which insists on using his "shared" dialogs. Basically they've put together a library which contains windows forms (with included functionality) and a overblown API above which controls the functionality.
The really sad part is that i have to "configure" the UI with something like this :
BadDialog dlg = new BadDialog(); dlf.buttonOk.Width = 300; dlf.buttonOk.Height= 400; ....
It's an awful and painful way to "reuse" code (it seems that for every line of code they've put in that library i have to write 3 lines to use it).
Sometime code reuse it's the only viable solution.