I am using a Visual Studio 2002 and was creating a small C# application that
does very little, but I get the following error trying to build it.
C:\DotNetProjects\DataReaderDemo\Form1.cs(69): 'DataReaderDemo.Form1' does
not contain a definition for 'textBox1_TextChanged'
The code that VS generates is the problem:
private void InitializeComponent()
...
this.textBox1.TextChanged += new
System.EventHandler(this.textBox1_TextChanged);
If I take out the line with textbox1.TextChanged - it works fine.
Why is this an error if VS added it?
Thanks,
Tom