private void ZoomIn(int delta) { SetIndexInterval(Math.Min(this.firstIndex + delta, this.lastIndex - 1 + 1), this.lastIndex); Invalidate(); }