Friday, March 16, 2012

listbox does not show contents

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 :(Sorry, wrong group.

Reposted to microsoft.public.dotnet.framework.aspnet
Oops ... that should have been
microsoft.public.dotnet.framework.windowsforms

0 comments:

Post a Comment