HelloWorld.Samples.CpuAndMemoryChart.OnAddedToVisualTree C# (CSharp) 메소드

OnAddedToVisualTree() 개인적인 메소드

private OnAddedToVisualTree ( ) : void
리턴 void
        private void OnAddedToVisualTree()
        {
            if (Width == 0) Width = Parent.Width;
            if (Height == 0) Height = Parent.Height;

            // start monitoring CPU and memory when added
            Task.Factory.StartNew(() => { WatchCPUAndMemory(); });
        }