dimanche 1 février 2015

Would redrawing controls in c# give more performance?


Now I realize this is a kind of weird question but here it is: Let us assume I redraw all the controls by myself rather than using the default provided ones (Obviously I'm talking of winforms as WPF is already a custom drawn control set and winforms are just a way to access the Win32 API). Now I make an application with my custom-drawn controls. Then I make an application with winforms, which, in turn, uses the Win32 API. Now, when I run both the applications, will there be any performance difference? If yes, which will perform better?


Now comes the main question: How (and based on what factor(s)) do you decide / predict as to which will perform better?


P.S. Forgive me if I am not clear enough. I always have trouble expressing my thoughts.





Aucun commentaire:

Enregistrer un commentaire