Re: problems with inheritance???
From: Peter Bromberg [C# MVP] (pbromberg_at_yahoo.com)
Date: 02/20/04
- Next message: William Stacey [MVP]: "Re: C# iterators and suspend/resume in Simula 67"
- Previous message: Jiri Kripac: "C# iterators and suspend/resume in Simula 67"
- In reply to: Darryn Ross: "problems with inheritance???"
- Next in thread: Derek Harmon: "Re: problems with inheritance???"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Feb 2004 21:30:56 -0500
Darryn,
this is a little confusing because a "form" is not an interface, it is a class.
Perhaps with some code example we can get a better insight into what your goal really is.
You can't get the properties of a Windows Form class by having a class derive from another class that doesn't inherit itself from System.Windows.Forms.Form.
--Peter
"Darryn Ross" <darryn@datawave.com.au> wrote in message news:OwNStP19DHA.2392@TK2MSFTNGP11.phx.gbl...
Hi..
I have a standard windows app in C#. The project contains a two forms and one class that i have created. I want both of the forms to inherit from the class but i am getting an error reading "type in interface list is not an interface"??? i am not sure how to fix the problem. Is an interface (form) unable to inherit from a non interface type??
any help appreciated
- Next message: William Stacey [MVP]: "Re: C# iterators and suspend/resume in Simula 67"
- Previous message: Jiri Kripac: "C# iterators and suspend/resume in Simula 67"
- In reply to: Darryn Ross: "problems with inheritance???"
- Next in thread: Derek Harmon: "Re: problems with inheritance???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|