listbox does not show contents

  • Thread starter Thread starter 2989coder
  • Start date Start date
2

2989coder

Hi,

Using the .NET framework 1.1 (version 1.1.4322.573)
I created a form with one listbox, one textbox
and one button.

The only code I wrote was associated to the button:

C# -- also tried C++ and VB

private void button1_Click(object sender, System.EventArgs e) {
listBox1.Items.Add(textBox1.Text);
}

When I run the program the text gets into the list box
but is invisible (as if white/white)

Is this maybe a problem with Windows 2000 and not the
framework?
I tried updating with the .NET framework Service Pack 1
but my computer complains about some module :(
 
Back
Top