I hit an error when I compile my Contacts app in chapter 1: C:\Users\me\Documents\Visual Studio 2010\Projects\Contacts\Contacts\Form1.Designer.cs(242,66): error CS1061: 'Contacts.Form1' does not contain a definition for 'contactIDLabel_Click' and no extension method 'contactIDLabel_Click' accepting a first argument of type 'Contacts.Form1' could be found (are you missing a using directive or an assembly reference?)
I've searched the forum with no hits and Googled the error, but I don't understand how to apply the pro's answers to my Chapter I problem; I don't understand what I'm doing enough to know how to fix it. I've got a little SQL under my belt, but I'm fairly new to coding.
Here's the Form1.cs:
namespace Contacts
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
MessageBox.Show("Contact List 1.0.\nWritten by: me", "About");
}
private void peopleBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.peopleBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.contactDBDataSet);
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'contactDBDataSet.People' table. You can move, or remove it, as needed.
this.peopleTableAdapter.Fill(this.contactDBDataSet.People);
}
private void ContactIDLabel_Click(object sender, EventArgs e)
{
}
}
}
How do I use what the debugger is telling me to fix it?
Thanks in advance,
Old Dog












