private void ViewBytesAllocatedMenu_Click(object sender, EventArgs e) { SnapshotTimeline.ItemValueGetter = GetBytesAllocated; SnapshotTimeline.ItemValueFormatter = FormatSizeBytes; }