Event Names Keep Changing
Posted on 2008-10-06
Sometimes randomly buttons will stop working, and it turns out that its because the event method name has changed. For example:
private void button1_Click(object sender, EventArgs e)
private void button1_Click_1(object sender, EventArgs e)
Is there anyway to stop this from happening? OR to easily change the code when it does? As currently I have to cut all code from the original button click event to the new one.