Click here to Skip to main content
15,886,816 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows service & Timers Pin
DaveyM6912-Feb-10 10:47
professionalDaveyM6912-Feb-10 10:47 
GeneralRe: Windows service & Timers Pin
koleraba12-Feb-10 11:04
koleraba12-Feb-10 11:04 
QuestionRe: Windows service & Timers Pin
koleraba12-Feb-10 12:39
koleraba12-Feb-10 12:39 
AnswerRe: Windows service & Timers Pin
22491714-Feb-10 17:33
22491714-Feb-10 17:33 
GeneralRe: Windows service & Timers Pin
koleraba14-Feb-10 23:50
koleraba14-Feb-10 23:50 
QuestionA few pointers toward design Pin
Saksida Bojan12-Feb-10 9:00
Saksida Bojan12-Feb-10 9:00 
AnswerRe: A few pointers toward design Pin
Dan Mos12-Feb-10 9:13
Dan Mos12-Feb-10 9:13 
GeneralRe: A few pointers toward design Pin
Rozis12-Feb-10 11:45
Rozis12-Feb-10 11:45 
I would choose for a class, because a struct only holds the data of the button and you will have actions too. Besides a class allocates memory for you. Realize that a window quikly has dozens of controls on it, and if for example you want to create a listview you may design the cells as buttons.

A struct would be faster i guess but on the other hand classes are faster as you would expect. Your language has a huge support for classes while with structures you have to do everything yourself.

GDI is faster then GDI+ and is to my opinion not bad at all. GDI+ has some features you can't mimic in GDI (anti-aliassing for example).
AnswerRe: A few pointers toward design Pin
DaveyM6912-Feb-10 13:18
professionalDaveyM6912-Feb-10 13:18 
GeneralRe: A few pointers toward design [modified] Pin
Saksida Bojan12-Feb-10 18:54
Saksida Bojan12-Feb-10 18:54 
GeneralRe: A few pointers toward design Pin
DaveyM6912-Feb-10 23:42
professionalDaveyM6912-Feb-10 23:42 
GeneralRe: A few pointers toward design Pin
Saksida Bojan13-Feb-10 0:10
Saksida Bojan13-Feb-10 0:10 
GeneralRe: A few pointers toward design Pin
DaveyM6912-Feb-10 23:55
professionalDaveyM6912-Feb-10 23:55 
Questionbaseclass and a interface. Pin
Jarno Burger12-Feb-10 8:42
Jarno Burger12-Feb-10 8:42 
AnswerRe: baseclass and a interface. Pin
Saksida Bojan12-Feb-10 10:16
Saksida Bojan12-Feb-10 10:16 
AnswerRe: baseclass and a interface. Pin
rhuiden12-Feb-10 10:24
rhuiden12-Feb-10 10:24 
GeneralRe: baseclass and a interface. Pin
Jarno Burger14-Feb-10 13:33
Jarno Burger14-Feb-10 13:33 
Questioncodes Pin
ajay 201012-Feb-10 7:27
ajay 201012-Feb-10 7:27 
AnswerRe: codes Pin
Wes Aday12-Feb-10 7:46
professionalWes Aday12-Feb-10 7:46 
GeneralRe: codes Pin
ajay 201012-Feb-10 16:41
ajay 201012-Feb-10 16:41 
GeneralRe: codes Pin
Wes Aday12-Feb-10 17:11
professionalWes Aday12-Feb-10 17:11 
GeneralRe: codes Pin
ajay 201012-Feb-10 18:04
ajay 201012-Feb-10 18:04 
GeneralRe: codes Pin
ajay 201012-Feb-10 18:51
ajay 201012-Feb-10 18:51 
AnswerRe: codes Pin
hammerstein0512-Feb-10 8:00
hammerstein0512-Feb-10 8:00 
GeneralRe: codes Pin
ajay 201012-Feb-10 16:43
ajay 201012-Feb-10 16:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.