Esempio n. 1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public virtual void Dispose()
 {
     if (InternalShape == null)
     {
         return;
     }
     InternalShape.Dispose();
     InternalShape = null;
 }
Esempio n. 2
0
 public void Visit(InternalShape shape)
 {
     Execute(shape);
 }
Esempio n. 3
0
        public void Visit(InternalShape shape)
        {
            string line = string.Format("{0}{1} {2} {3} {4} {5}", Spaces, shape.GetName(), shape.Location.X, shape.Location.Y, shape.Width, shape.Height);

            stringBuilder.AppendLine(line);
        }