listbox does not show contents

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 :(
 
2

2989coder

Oops ... that should have been
microsoft.public.dotnet.framework.windowsforms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top