using static methods from external file is one good solution.
if your need is just split your code to several files, you can use the "partial" keyword:
--File1.cs
Code:
public partial class MyFormClass
{
....declaring objects and elements....
}
--File2.cs
Code:
public partial class MyFormClass
{
....using the objects and elements declared in File1.cs....
}
you can have more than one file using the same class name, thus allowing
several programmers to work on the same class in the same time.
Shadow Wizard, March 14th, 2010 11:49 AM
Bookmarks