When I add an event handler in Visual Studio 2005 and accept the auto-complete, the method stub looks like this:
Is there a way to stop VS from adding the throw to the function body?Code:this.MouseClick += new MouseEventHandler(Form1_MouseClick); void Form1_MouseClick(object sender, MouseEventArgs e) { throw new Exception("The method or operation is not implemented."); }
VS 2003 didn't do this. The method stub was blank.




Reply With Quote