Visual Studio IDE Question:
Download Questions PDF

How to override a base class method in Visual Studio .NET and in Visual Studio 2005?

Answer:

To override a base class method using the Visual Basic Code Editor

Open the form that you want to use in the Code Editor.
From the Class Name drop-down list at the top of the Code Editor, choose (Overrides).

A list of the methods is added to the Event list.
From the Method Name list at the top of the Code Editor, choose the method for which you want to create an event handler.

Download Visual Studio IDE Interview Questions And Answers PDF

Previous QuestionNext Question
How to get the "old" (version 6) Visual C++ look in the new Visual Studio .NET environment?How to add an event handler in Visual Studio .NET and in Visual Studio 2005?