Which articles I've should read before starting to make my custom drawn winforms app?
- by Dmitriy Matveev
Hello! I'm currently developing a windows forms application with a lot of user controls. Some of them are just custom drawn buttons or panels and some of them are a compositions of these buttons and panels inside of FlowLayoutPanels and TableLayoutPanels. And the window itself is also custom drawn.
I don't have much experience in winforms development, but I've made a proper decomposition of proposed design into user controls and implementation is already almost finished.
I've already solved many arisen problems during development by the help of the google, msdn, SO and several dirty hacks (when nothing were helping) and still experiencing some of them.
There are a lot of gaps in my knowledge base, since I don't know answers to many questions like:
When I should use things like double buffer, suspended layout, suspended redraw ?
What should I do with the controls which shouldn't be visible at some moment ?
Common performance pitfalls (I think I've fallen in in several ones) ?
So I think there should be some great articles which can give some knowledge enough to avoid most common problems and improve performance and maintainability of my application. Maybe some of you can recommend a few?