private void dgv_Scroll(object sender, ScrollEventArgs e) { if (e.OldValue > e.NewValue) { // here up } else { // here down } }