コード例 #1
0
 void DoneReloadingTracebacks()
 {
     DeltaList.Invalidate();
     DeltaHistogram.Invalidate();
     GraphHistogram.Invalidate();
     SetBusy(false);
     Enabled = true;
 }
コード例 #2
0
        protected IEnumerator <object> GenerateNewGraph(List <DeltaInfo> newListItems, GraphKeyType keyType)
        {
            var newGraph = new StackGraph(keyType);

            yield return(newGraph.Build(Instance, newListItems));

            StackGraph           = newGraph;
            GraphHistogram.Items = StackGraph.Functions.OrderedItems.ToArray();
            GraphTreemap.Items   = StackGraph.OrderedItems.ToArray();

            GraphHistogram.Invalidate();
            GraphTreemap.Refresh();
        }
コード例 #3
0
        protected void SetGraphKeyType(GraphKeyType keyType)
        {
            if (keyType != StackGraphKeyType)
            {
                StackGraphKeyType = keyType;

                GraphHistogram.Items = GraphTreemap.Items = new StackGraphNode[0];
                GraphHistogram.Invalidate();
                GraphTreemap.Invalidate();

                if (PendingRefresh != null)
                {
                    PendingRefresh.Dispose();
                }
                PendingRefresh = Start(RefreshGraph());
            }
        }