listbox Refresh() in c#

前端 未结 10 2418
梦毁少年i
梦毁少年i 2020-12-30 10:54
int[] arr = int[100];
listBox1.DataSource = arr;
void ComboBox1SelectedIndexChanged(object sender, EventArgs e)
{
    .....//some processes
    listBox1.DataSource =         


        
10条回答
  •  不知归路
    2020-12-30 11:27

    well, without binding I only managed with:

    this.Hide();
    this.Show();
    

    it redraws everything...

提交回复
热议问题