SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( PaletteTripleMetricRedirect inherit ) : void
inherit PaletteTripleMetricRedirect
Résultat void
Exemple #1
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 /// <param name="inheritHeaderGroup">Source for inheriting.</param>
 public void SetInherit(PaletteHeaderGroup inheritHeaderGroup)
 {
     base.SetInherit(inheritHeaderGroup);
     _inherit = inheritHeaderGroup;
     _paletteHeaderPrimary.SetInherit(inheritHeaderGroup.HeaderPrimary);
     _paletteHeaderSecondary.SetInherit(inheritHeaderGroup.HeaderSecondary);
 }
Exemple #2
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 /// <param name="inheritHeader">Source for inheriting.</param>
 public void SetInherit(PaletteForm inheritHeader)
 {
     base.SetInherit(inheritHeader);
     _inherit = inheritHeader;
     _paletteHeader.SetInherit(inheritHeader.Header);
 }