Пример #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="other"></param>
 public VisualElementBase(VisualElementBase other)
 {
     if (other.AnchorArea != null)
     {
         AnchorArea = (AnchorArea)other.AnchorArea.Clone();
     }
     else
     {
         AnchorArea = null;
     }
 }
Пример #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="other"></param>
 public VisualElementBase(VisualElementBase other)
 {
     if (other.AnchorArea != null)
         AnchorArea = (AnchorArea)other.AnchorArea.Clone();
     else
         AnchorArea = null;
 }