Re: problems with inheritance???

From: Peter Bromberg [C# MVP] (pbromberg_at_yahoo.com)
Date: 02/20/04


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



Relevant Pages

  • Re: Desired behaviour of "ifconfig -alias"
    ... But you called it "confusing". ... me, for example, and I would object for that syntax to go ... an interface are equal, just like hardlinks on a file. ... But when removing something without specifying which one, ...
    (freebsd-stable)
  • Re: Abstract Data Types - Separating Interface from Implementation
    ... >>You seem to be confusing implementation code and client code. ... I don't define any of the functions yet, I just declare them and compile ... Each such file defines an *interface*. ...
    (comp.lang.cpp)
  • Re: [PATCH] get_nodes mask miscalculation
    ... Not that my opinion is worth much, but this seems a very peculiar ... And not to make things even more confusing, ... Well, again, not that my opinion carries much weight (nor really should ... but this whole off-by-one interface seems unnecessarily ...
    (Linux-Kernel)
  • Re: Is Class Synonymous with Type?
    ... I agree - if to do otherwise would be confusing. ... any more than this sentence is talking about defining "defining." ... meaning of "interface" to define a C# ...
    (microsoft.public.dotnet.languages.csharp)
  • Re:Linux sucks
    ... be less painful for dumbs like me.KDE Gnome are too confusing for ... BTW wats common with linux geeks is that u cud hardly find 2 of them ... I was all confused when deciding which dist and what interface to ... use.So now i use Gnome and KDE programmes! ...
    (Fedora)