Hy Leute - mal wieder ein Problem:
Unter C#
Unter VB.NET
da schreit er dann:
Events cannot be declared with a delegate type that has a return type.
Kann mir da einer bei der richtige Deklaration helfen ?
THX
Yeti
Unter C#
Code:
public abstract class Publisher : IEventPublisher
{
private delegate bool m_eventHandler(IEventPublisher p_publisher);
private event m_eventHandler m_event;
..............................
}
Unter VB.NET
Code:
Public MustInherit Class Publisher
Implements IEventPublisher
Private Delegate Function m_eventHandler(ByVal p_publisher As IEventPublisher) As Boolean
Private Event m_event As m_eventHandler
da schreit er dann:
Events cannot be declared with a delegate type that has a return type.
Kann mir da einer bei der richtige Deklaration helfen ?
THX
Yeti