private void OnDrop(object sender, ProcessDropEventArgs <Tuple <string, string> > e) { AutoModes.Move(e.OldIndex, e.NewIndex); Refresh(); }