private void Invalidate() { for (int i = 0; i < pieces.Count; i++) { owner.Invalidate(((Piece)pieces[i]).region); } }
public virtual Link this[int index] { get { return((Link)owner.links[index]); } set { owner.links[index] = value; owner.links.Sort(linkComparer); owner.Invalidate(); } }
public virtual Link this[int index] { get { return((Link)_owner._links[index]); } set { _owner._links[index] = value; _owner._links.Sort(s_linkComparer); _owner.InvalidateTextLayout(); _owner.Invalidate(); } }