Beispiel #1
0
        protected override void OnSizeAllocated(double width, double height)
        {
            if (path != null)
            {
                path.Dispose();
                path = null;
            }

            base.OnSizeAllocated(width, height);
        }
Beispiel #2
0
 protected override void OnDeleted()
 {
     triangle.Dispose();
     arc.Dispose();
 }