when foo is called from the child class, child's bar will be called, instead of parent's
MyForm.Ctor
- Call Child.CallFoo() method in MyForm.Ctor().
- This method will execute Base.Foo().
- Base.Foo() will execute Base.Bar().
- Base.Bar() will execute Child.Bar().
- MessageBox will raise for "Called Child.Bar"