forums.wecode.in

coders being social

winform themes

Discuss about new technologies, programming related topics EXCEPT question answers.

winform themes

Postby Omie » Fri Dec 11, 2009 8:55 am

Hi

I was curious if my thinking is right. If want to apply different theme to my winforms application, I have to make a class which will go through each control on form and change its look>do this for each form on each form start.

I mean

Code: Select all
sub form_load
for each control in form
  if typeOf control is textbox then paint it like this
  else if its button then paint it like that
  ...
  ...
  end if
next
end sub



but isnt this heavy ?
User avatar
Omie
 
Posts: 77
Joined: Sat Sep 05, 2009 6:27 pm
Says: I am the Alchemist

Return to Technology Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron