Interface and class

  • Thread starter Thread starter jodleren
  • Start date Start date
J

jodleren

Hi all

I am working on a part, which should be a com interface in my app.
Previous in Delphi we had this:

TBoxInterface = class(TAutoObject, IBoxInterface)

Where TAutoObject is a basic Delphi class for this, and our interface.

How do I do that in C#?
And can I originate from 2 classes/interfaces at once?

WBR
Sonnich
 
I am working on a part, which should be a com interface in my app.
Previous in Delphi we had this:

TBoxInterface = class(TAutoObject, IBoxInterface)

Where TAutoObject is a basic Delphi class for this, and our interface.

How do I do that in C#?
And can I originate from 2 classes/interfaces at once?

Try:

public class BoxInterface : AutoObject, IBoxInterface
{
}

Arne
 
Back
Top