>store shape1 to shapeX
>
>
>res4.shapex.BackColor = this.BackColor
>
>returns: member shape1 not found
What is the purpose of this code? Do you have shape1 variable defined? In your first line you're assigning shape1 variable to shapeX variable.
If it's not broken, fix it until it is.
My Blog