Exemplo n.º 1
0
 internal void Initialize(TabCursorCollection collection)
 {
     this._collection = collection;
     this.Control.RefreshAndShowView = new Action(() =>
     {
         _collection.RefreshCursorValue(this);
         _collection.ShowCursorValue(this, true);
     });
     this.Control.MouseEnter += (sender, args) => { _collection.ShowCursorValue(this, true); };
     this.Control.MouseLeave += (sender, args) => { _collection.ShowCursorValue(this, false); };
 }