private void ScrollScreen(int Amount)
{
try
{
tooltip.RemoveAll();
int newval = vScroll.Value + Amount;
newval = Math.Max(newval, vScroll.Minimum);
newval = Math.Min(newval, vScroll.Maximum);
if (newval >= vScroll.Maximum - View.VisibleRowCount + 1)
newval = vScroll.Maximum - View.VisibleRowCount + 1;
vScroll.Value = newval;
Redraw();
}
catch {}
}