2.0 framework allows for parts of classes to be decalred in seperate .cs files. I don't think there is any way to do this in the
1.* frameworks.
A work-around is to use an entirely seperate class that the MainForm can access. This will effectively allow you to write interface
code in a much 'cleaner' environment, while seperating anything deemed as 'business logic' code in a seperate class. You can also
add the 'business logic' or 'utility' code into a seperate assembly or "component library" altogether and reuse it for other
projects.
--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Jon Gabel" <jo******@rcn.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl...
Newbie question: I would like to place some functions in the class
MainForm in several files besides Form1.cs. Is there a way to do this?
JG