K
Kimmo Laine
Hello,
is there a way to do this VB6 code in C#:
Enum MyEnumA
A1
A2
End Enum
Enum MyEnumB
B1
B2
End Enum
Property Let TheValue(par1 As MyEnumA, par2 As MyEnumB)
' . . .
End Property
Property Get TheValue(par1 As MyEnumA) As MyEnumB
' . . .
End Property
' . . .
dim e As MyEnumB
TheValue(A1) = B1
e = TheValue(A2)
thx
Kimmo Laine
is there a way to do this VB6 code in C#:
Enum MyEnumA
A1
A2
End Enum
Enum MyEnumB
B1
B2
End Enum
Property Let TheValue(par1 As MyEnumA, par2 As MyEnumB)
' . . .
End Property
Property Get TheValue(par1 As MyEnumA) As MyEnumB
' . . .
End Property
' . . .
dim e As MyEnumB
TheValue(A1) = B1
e = TheValue(A2)
thx
Kimmo Laine