StrataFrame Forum

Possible misprint in help file ?

http://forum.strataframe.net/Topic11898.aspx

By Charles R Hankey - 10/7/2007

From Help

Note: The IPopulateOnFormLoad interface inherits from IInitOnFormLoad.  Therefore, whenever this page discusses a member of the IInitOnFormLoad interface, that member belongs to both interfaces.  A class does NOT need to implement IPopulateOnFormLoad if it implements IInitOnFormLoad.

Since the iPopulateOnFormLoad inherits from IInitOnFormLoad I get why you wouldn't need to implement the parent class if the inherited class - which included all of its functionality - was implemented  But I don't get why the reverse - as shown in the Help - would be true.

Is this a misprint or am I misunderstanding inheritance in .NET ?

TIA

Charles

By StrataFrame Team - 10/8/2007

Nope looks like a misprint... If you've Implemented IPopulateOnFormLoad, you won't need to implement IInitOnFormLoad but the opposite is not true.  Like the old logic:

(If P -> Q) then (If ~Q -> ~P) is proper, but (If ~P -> ~Q) is not proper.