private void SendToFront() { if (SelectedAnnotation == null) { return; } Chart.BeginUpdate(); var oldIndex = Annotations.IndexOf(SelectedAnnotation); var newIndex = Annotations.Count - 1; this.Annotations.Move(oldIndex, newIndex); Chart.EndUpdate(); }