private void ViewAllocationCountMenu_Click(object sender, EventArgs e) { SnapshotTimeline.ItemValueGetter = GetAllocationCount; SnapshotTimeline.ItemValueFormatter = FormatCount; }