Example #1
0
        public override void Dispose()
        {
            if (Pen != null)
            {
                Pen.Dispose();
                Pen = null;
            }

            if (InnerMarker != null)
            {
                InnerMarker.Dispose();
                InnerMarker = null;
            }

            if (Font != null)
            {
                Font.Dispose();
                Font = null;
            }

            if (Brush != null)
            {
                Brush.Dispose();
                Brush = null;
            }

            base.Dispose();
        }
Example #2
0
        public override void Dispose()
        {
            if (Stroke != null)
            {
                Stroke.Dispose();
                Stroke = null;
            }

            if (Fill != null)
            {
                Fill.Dispose();
                Fill = null;
            }

            if (BigR != null)
            {
                BigR.Dispose();
                BigR = null;
            }

            if (InnerMarker != null)
            {
                InnerMarker.Dispose();
                InnerMarker = null;
            }
            base.Dispose();
        }
Example #3
0
 public override void Dispose()
 {
     if (innerMarker != null)
     {
         innerMarker.Dispose();
         innerMarker = null;
     }
     base.Dispose();
 }
Example #4
0
 public override void Dispose()
 {
     if (Pen != null)
     {
         Pen.Dispose();
     }
     if (InnerMarker != null)
     {
         InnerMarker.Dispose();
     }
     base.Dispose();
 }