Re: Form inheritance

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: M.M Ansari (mudasar_ansari_at_hotmail.com)
Date: 05/24/04


Date: Mon, 24 May 2004 16:35:34 +0600

hi
keep your base form in class library project.. you have to set reference to
system.Windows.Forms dll in class library project.
Then build the class library project and inherits the window form from your
base class library form...
I think it is the only solution..

M.M Ansari

"Chris C" <cmrchs@yahoo.com> wrote in message
news:OUR4lWXQEHA.3944@tk2msftngp13.phx.gbl...
> Hi,
>
> using form inheritance : how can I inherit from a form that is not part of
the same project ?
>
> I tried setting a reference to my other win-app (exe) that contains the
base form, but references can only be set to DLL's.
>
> So, how can it be done ?
> Thnx
>
> Chris
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...



Relevant Pages

  • Re: How to: class library write back to form
    ... Do I need to add a reference from the CL to the EXE project? ... need to instantiate the form to be able to update the textbox? ... The form controls the library. ...
    (microsoft.public.dotnet.languages.csharp)
  • Creating a .NET DLL
    ... For the vb.net class library project, ... Public Class WcServerAPI ... It's the easiest method for a dot net developer to use your component because they just add a reference to your dll and then everything appears in intellisense like other classes and methods available to the developer. ...
    (microsoft.public.dotnet.languages.vb)
  • How to: class library write back to form
    ... I’m new to programming and I have a 2-tier app. ... Do I need to add a reference from the CL to the EXE project? ... need to instantiate the form to be able to update the textbox? ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Frustrating Build Error...
    ... references a C++ class library project. ... reference it in your C# class library project? ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)
  • Re: vb.net windows form in c# namespace
    ... If the VB.NET for is in a class library project, you can compile the project ... and then in your C# project, set reference to the VB.NET dll file. ...
    (microsoft.public.dotnet.framework.windowsforms)