Are there any benefit in me drawing my own buttons (just rectangles) over loading 80 of them from resources?
Are there any benefit in me drawing my own buttons (just rectangles) over loading
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the complexity of the drawn buttons..
But images somehow have constant time loading
Conculsion:
I will prefer drawing buttons if few simple operations are in
But in more complex cases (like color gradient or something) , I prefer stored images..
Also note that some UI must be done in gdi+ and can not be done otherwise..
for example circular buttons or animations..
Stored images don’t have full flexibility of GDI+