public bool ReplaceNote(int Index, CNote Note) { if (_Notes.Count > Index) { _Notes.RemoveAt(Index); _Notes.Insert(Index, Note); updateMinMaxBeat(); return true; } return false; }