N
news.microsoft.com
Hi,
I want to use a COM component in my C#.NET project. The sample VB code of
the COM component declares it as -
Public WithEvents ePrint1 As LEADePrint
How do I do the equivalent in C#.NET? Do I need to bother about the
WithEvents part (I believe there is no C# equivalent for this), do I simply
do
LEADePrint ePrint1
and then setup the events that I want to handle in the normal way
(delegates)?
Thanks
Vani
I want to use a COM component in my C#.NET project. The sample VB code of
the COM component declares it as -
Public WithEvents ePrint1 As LEADePrint
How do I do the equivalent in C#.NET? Do I need to bother about the
WithEvents part (I believe there is no C# equivalent for this), do I simply
do
LEADePrint ePrint1
and then setup the events that I want to handle in the normal way
(delegates)?
Thanks
Vani