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
itemsToolStripItemCollectionList of items to be updated accordingly to the history collection.
newIndexintNew current history index.
backwardToolStripItemVisual element related to the backward navigation.
forwardToolStripItemVisual 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
itemsToolStripItemCollectionList of items to be updated accordingly to the history collection.
newIndexintNew current history index.
backwardToolStripItemVisual element related to the backward navigation.
forwardToolStripItemVisual element related to the forward navigation.
relativeboolTrue if visual controls should display only part of the history list.