J
Joerg Krause
Hi,
I've a component written in C#, and I use it in VB.NET project.
The class comes with these members:
MyClass.onClick ==> This is a property of type string
MyClass.OnClick ==> This is an event
In C# I can use this as expected.
Now I have a VB.NET project and Intellisense cannot recognize the
OnClick event because it sees the onClick property instead with
2 overloads.
I want to do:
AddHandler MyClass.OnClick, AddressOf MyHandler
^^^^^^^
This fails, because VB.NET reads a property instead of the event
and the editor makes the OnClick (upper case O) into onClick
(lower case o).
Has anybody any solution in VB.NET?
Thank you for any idea...
Jorge
I've a component written in C#, and I use it in VB.NET project.
The class comes with these members:
MyClass.onClick ==> This is a property of type string
MyClass.OnClick ==> This is an event
In C# I can use this as expected.
Now I have a VB.NET project and Intellisense cannot recognize the
OnClick event because it sees the onClick property instead with
2 overloads.
I want to do:
AddHandler MyClass.OnClick, AddressOf MyHandler
^^^^^^^
This fails, because VB.NET reads a property instead of the event
and the editor makes the OnClick (upper case O) into onClick
(lower case o).
Has anybody any solution in VB.NET?
Thank you for any idea...
Jorge