C#, WinForms: Which view type for periodically updated list?
Posted
by rdoubleui
on Stack Overflow
See other posts from Stack Overflow
or by rdoubleui
Published on 2010-04-13T18:31:58Z
Indexed on
2010/04/13
18:33 UTC
Read the original article
Hit count: 353
I'm having an application, that periodically polls a web service (about every 10 seconds). In my application logic I'm having a List<Message>
holding the messages. All messages have an id, and might be received out of order. Therefore the class implements the Comparable
Interface.
What WinForm control would fit to be regurarly updated (with the items in order). I plan to hold the last 500 messages. Should I sort the list and then update the whole form? Or is data binding approriate (concerning performance)?
© Stack Overflow or respective owner