GetHeaderPart()
<< Click to Display Table of Contents >> GetHeaderPart() |
Indicates the tab header name.
// NTTabPage member. Required for determining the tab header name protected override string GetHeaderPart(string variable) { // Determine the text for the tab header name switch (variable) { case "@INSTRUMENT": return Instrument == null ? Resource.GuiNewTab : Instrument.MasterInstrument.Name; case "@INSTRUMENT_FULL": return Instrument == null ? Resource.GuiNewTab : Instrument.FullName; } return variable; } |