E
eBob.com
I'm getting this error on this statement ...
Dim TA_rect As Rectangle = CType(Me.ClientRectangle.memberwiseclone(),
Rectangle)
"Me" inherits from UserControl.
I'm not an OOD guru but maybe I sort of understand the problem. If so, this
is not my fault, right? Since I can access ClientRectangle I don't see why
I can't clone it. Is there anything easier/better than typing out all of
the code to make a field by field copy?
Thanks, Bob
Dim TA_rect As Rectangle = CType(Me.ClientRectangle.memberwiseclone(),
Rectangle)
"Me" inherits from UserControl.
I'm not an OOD guru but maybe I sort of understand the problem. If so, this
is not my fault, right? Since I can access ClientRectangle I don't see why
I can't clone it. Is there anything easier/better than typing out all of
the code to make a field by field copy?
Thanks, Bob