Exemple #1
0
            internal void Render()
            {
                // Draw a circle.
                DrawingContext dc = this.RenderOpen();

                dc.DrawEllipse(new SolidColorBrush(MyColor.GenRandomColor()), null, _pt, _radius, _radius);
                dc.Close();
            }
Exemple #2
0
            internal void Render()
            {
                // Draw a circle.
                var dc = RenderOpen();

                dc.DrawEllipse(new SolidColorBrush(MyColor.GenRandomColor()), null, Pt, _radius, _radius);
                dc.Close();
            }