HeapProfiler.MainWindow.SnapshotTimeline_SelectionChanged C# (CSharp) Method

SnapshotTimeline_SelectionChanged() private method

private SnapshotTimeline_SelectionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void SnapshotTimeline_SelectionChanged(object sender, EventArgs e)
        {
            DiffSelection.Enabled = SnapshotTimeline.HasSelection &&
                (SnapshotTimeline.Selection.First != SnapshotTimeline.Selection.Second);
            ViewSelection.Enabled = SnapshotTimeline.HasSelection &&
                (SnapshotTimeline.Selection.First == SnapshotTimeline.Selection.Second);
        }
MainWindow