C
C# Learner
Even a ListBox causes large amounts of flicker when adding items:
private void TestListBox()
{
listBox.BeginUpdate();
listBox.Items.Clear();
for (int i = 0; i < 20; ++i) {
listBox.Items.Add("test");
}
listBox.EndUpdate();
}
Removing the BeginUpdate()/EndUpdate() calls has no effect.
Is anyone else experiencing this?
private void TestListBox()
{
listBox.BeginUpdate();
listBox.Items.Clear();
for (int i = 0; i < 20; ++i) {
listBox.Items.Add("test");
}
listBox.EndUpdate();
}
Removing the BeginUpdate()/EndUpdate() calls has no effect.
Is anyone else experiencing this?