Since each winform runs in a thread there should ideally be some syncronization rather than allowing the RoundedCorners form access to the Main form's controls, However since the point of this application was as to illustrate the use of CreateRoundRectRgn() I will leave it as is.