Method UpdateHistory
UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem)
Updates visual history elements accordingly the new history index.
public void UpdateHistory(ToolStripItemCollection items, int newIndex, ToolStripItem backward, ToolStripItem forward)
Parameters
items
ToolStripItemCollectionList of items to be updated accordingly to the history collection.
newIndex
intNew current history index.
backward
ToolStripItemVisual element related to the backward navigation.
forward
ToolStripItemVisual element related to the forward navigation.
UpdateHistory(ToolStripItemCollection, int, ToolStripItem, ToolStripItem, bool)
Updates visual history elements accordingly the new history index.
public void UpdateHistory(ToolStripItemCollection items, int newIndex, ToolStripItem backward, ToolStripItem forward, bool relative)
Parameters
items
ToolStripItemCollectionList of items to be updated accordingly to the history collection.
newIndex
intNew current history index.
backward
ToolStripItemVisual element related to the backward navigation.
forward
ToolStripItemVisual element related to the forward navigation.
relative
boolTrue if visual controls should display only part of the history list.