private void SetupListScroller() { _listScroller = new ListScroller(this, _repairLabels[0].Controls, _repairLabels.Last().Controls) { Lines = _repairLabels.Length, Padding = PanelPadding }; _listScroller.Update += ShowRepairList; }
private void SetupListScroller() { _listScroller = new ListScroller(this, _labels[0].Controls, _labels[_lines - 1].Controls) { Lines = _lines, Padding = TopMargin }; _listScroller.Update += ShowQuestList; _listScroller.StartScroll += () => { ToolTip.Active = false; }; _listScroller.EndScroll += () => { ToolTip.Active = true; }; }