private void viewHistogramCriticalFinalizerMenuItem_Click(object sender, System.EventArgs e) { if (clrProfiler.lastLogResult != null) { string title = "Histogram by Size for Critical Finalized Objects"; HistogramViewForm histogramViewForm = new HistogramViewForm(clrProfiler.lastLogResult.criticalFinalizerHistogram, title); histogramViewForm.Show(); } }
private void viewHistogramRelocatedMenuItem_Click(object sender, System.EventArgs e) { if (clrProfiler.lastLogResult != null) { string title = "Histogram by Size for Relocated Objects"; HistogramViewForm histogramViewForm = new HistogramViewForm(clrProfiler.lastLogResult.relocatedHistogram, title); histogramViewForm.Show(); } }