C
Chris
Hi,
I try
Public Shared Operator +(ByVal Left As Point, ByVal Right As Size) As Point
Return New Point(Left.X + Right.Width, Left.Y + Right.Height)
End Operator
but I get compiler errors.
(got code from :
http://blogs.gotdotnet.com/cambecc/permalink.aspx/5de5a161-9150-4237-a751-127195cceeab)
Is operator overloading possible at all in VB.net ?
thnx
Christian
I try
Public Shared Operator +(ByVal Left As Point, ByVal Right As Size) As Point
Return New Point(Left.X + Right.Width, Left.Y + Right.Height)
End Operator
but I get compiler errors.
(got code from :
http://blogs.gotdotnet.com/cambecc/permalink.aspx/5de5a161-9150-4237-a751-127195cceeab)
Is operator overloading possible at all in VB.net ?
thnx
Christian