>You can't visually inherit like in Fox. You subclass just like you do with anything else
>
>public class MyForm : TheParentForm
>{
>}
>
>
That I've been able to do IF the parent form is in the current project.
How can I reference a parent from a seperate DLL or EXE?
>>I'm trying to make some headway using winforms. My first task is to subclass all the basic controls I expect to use so I can customize and inherit easily (OOP - right?).
>>
>>Until now, all my .NET work has been in ASP.NET which I assumed was such a complete pain in the a$$ because of the web platform.
>>
>>Now that I am back to Windows, and since VS2008 is so advanced, I'm sure I'm just overlooking the simple drag 'n drop way to subclass a Form so I can customize it and EASILY use it as the base for future applications.
>>
>>In VFP, create a form, customize, add to a VCX, and tell VFP to use that class as the base for future forms.
>>
>>I'm sure VS2008 is at least as easy - how do I do it?
>>
>>FWIW I've managed (after several hours of reading various fragmented, incomplete, or inaccurate articles on the web) to subclass a number of controls and add them to the toolbox. The FORM is the problem now.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________