When creating form windows, often there are situations where a particular event was added and the program comipled.However later u realize that the event is not really required and so remove the event. Now when u compile the code again an error is displayed. For example in the code I have written: WindowsAplication1.LanMessenger does not contain a definition for 'textBox1_click'.
Obviously it es evident that i removed the event textBox1_click after compiling it once before. Is there any way this can be avoided because it does get a touch annoying when you know there is no prob actually.. Please help.