如何使用计时器更新数据。 [英] how to upadate data using timer.
本文介绍了如何使用计时器更新数据。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨所有
i现在我在datalist中显示我的最新歌曲我有一个问题
如何自动移动滚动条?
谢谢提前。
hi all
i am showing my latest song in datalist now i have a problem
how can i move scroller automatically ?
thanks in advance.
推荐答案
嗨
这是将列表框滚动到最后的代码。
listBox1.TopIndex = listBox1.Items.Count - 1;
每次将项目添加到列表时都会调用此项。
问候
Jegan
Hi Here is the code to scroll a listbox to the end.
listBox1.TopIndex = listBox1.Items.Count - 1;
You call this every time you add an item to the list.
Regards
Jegan
这篇关于如何使用计时器更新数据。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文