Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The VeryTime,Stay informed and read the latest news today from The VeryTime, the definitive source.

How to Shadow in VB.NET

23
    • 1). Click the Windows "Start" button and select "All Programs." Click "Microsoft .NET Framework," then click "Visual Studio." Open the VB.NET project in VS.

    • 2). Double-click the class file in "Solution Explorer" to view your VB.NET code. Scroll down to the end of the class file to add your shadow method.

    • 3). Add the following code to create a shadow method:

      Shadows Sub ParentMethodName()

      MsgBox("My customized method")

      The "ParentMethodName" must be the name of the parent class's method. In this example, a message box displays when the method is called.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.