单击组合框后刷新列表框 [英] Listbox refreshing after click on combobox

查看:77
本文介绍了单击组合框后刷新列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有视觉工作室2010.



我有一个列表框和一个组合框,如果你从列表框中选择一个项目,然后点击组合框后,列表框刷新。这就像清理组合框并再次添加项目一样。



我使用visual basic 2010.

我不是在说话关于代码。如果您打开一个新项目,添加一个列表框,将一些项添加到列表框,添加一个组合框,运行项目,从列表框中选择一个项目,单击组合框和列表框由于某种原因刷新。



项目类型。 Vb> Windows Form Apllication。





任何人都知道它为什么会发生???????

I have visual studio 2010.

I you have a listbox and a combobox, if you select a item from the listbox and after you click the combobox, the listbox refresh. It''s like clearing the combobox and adding the items again.

I use visual basic 2010.
I''m not talking about the code. If you open a new project, add a listbox, add some items to the listbox, add a combobox, run the project, select one item from the listbox, click the combobox and the listbox for some reason refreshes.

Type of project. Vb > Windows Form Apllication.


Anyone knows why it happens???????

推荐答案

在另一个论坛上发现: http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/fb199dec-1b23-4416-8aa5-dba79856a963/ [ ^ ]
Found this on another forum: http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/fb199dec-1b23-4416-8aa5-dba79856a963/[^]


如果有人可以尝试,看看它是VB的问题,还是程序中的某些设置。
If some can try it, to see if it is an issue with VB, or some setting in my program.


这篇关于单击组合框后刷新列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆