Advertisement
HaLo2FrEeEk

Invalidate Parent method

Jan 2nd, 2011
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. private void InvalidateEx()
  2. {
  3.     if (Parent == null)
  4.         return;
  5.  
  6.     Rectangle rc = new Rectangle(this.Location, this.Size);
  7.     Parent.Invalidate(rc, true);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement