Visual Studio IDE Question: Download Visual Studio IDE PDF

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

Tweet Share WhatsApp

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 PDF Read All 5 Visual Studio IDE Questions
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?