Calling base class's OnShow

  • Thread starter Thread starter Rasika WIJAYARATNE
  • Start date Start date
R

Rasika WIJAYARATNE

Hi I am doing the following in my windows form

protected: void virtual OnShown(EventArgs^ e ) override
{

}

I would like to know when I override OnShow does the base classes
OnShow also get called automatically called before mine does, if not
how do I call it (C++/CLI)?

Rasika.
 
You have to explicitly invoke the base class method (just as in ISO C++).

BaseClass::MethodName(...);
 
Back
Top