Exemplo n.º 1
0
 private void AddToLog(string eventName, DevComponents.DotNetBar.CrumbBar crumbBar, CrumbBarItem crumbBarItem)
 {
     textBoxX1.Text += DateTime.Now.ToString() + " - " +
                       eventName + " (" + crumbBar.Name + ")";
     textBoxX1.Select(textBoxX1.Text.Length - 1, 0);
     textBoxX1.ScrollToCaret();
 }
Exemplo n.º 2
0
 private void OnCrumbBarChanged(CrumbBar oldValue, CrumbBar newValue)
 {
     UpdateDisplay();
 }
 /// <summary>
 /// Sets the node collection belongs to.
 /// </summary>
 /// <param name="parent">CrumbBarItem that is parent of this collection.</param>
 internal void SetParent(CrumbBar parent)
 {
     _Parent = parent;
 }
 /// <summary>
 /// Initializes a new instance of the CrumbBarItemsCollection class.
 /// </summary>
 /// <param name="parent"></param>
 public CrumbBarItemsCollection(CrumbBar parent)
 {
     _Parent = parent;
 }