How To Make Moving News Bar in Windows Forms Application without Timer
Posted
by Ehab Sutan
on Stack Overflow
See other posts from Stack Overflow
or by Ehab Sutan
Published on 2010-05-28T23:44:02Z
Indexed on
2010/05/29
1:12 UTC
Read the original article
Hit count: 304
I'm making a desktop application in C# which contains a moving News Bar labels. I'm using a timer to move these labels but the problem is that when i make the interval of this timer low (1-10 for example) the application takes very high percentage of CPU Usage, And when i make it higher(200 -500 ) the movement of the labels becomes intermittent or not smooth movement even that the user may not be able to read the news in Comfortable way.
((More Information)) it is Windows form application. the way i move the labels is as follows : the news items from RSS feeds are represented in a group of linklabels. All these linklabels are added to a flowlayout container. The timer moves the whole flowlayout container. I found this way according to my knowledge the best way to making the news bar. If you have better idea or solution please help
© Stack Overflow or respective owner