private void OnButtonUp(object sender, MouseEventArgs e) { PrevLine(); _gallery.PerformNeedPaint(true); }