Possible Duplicate:
What is the use of a partial class?
In my code ,there is one partial class for creating new company. I can not understand in which condition partial to be implemented.
public partial class NewCompanyWindow : Window
{
List<Company> _companies;
public event EventHandler<CompanyAddedEventArgs> CompanyAdded;
public NewCompanyWindow()
{
InitializeComponent();
Closing += new
System.ComponentModel.CancelEventHandler(NewCompanyWindow_Closing);
}
void NewCompanyWindow_Closing(object sender,
System.ComponentModel.CancelEventArgs e)
{
StartupWindow w = new StartupWindow();
w.Show();
}
public NewCompanyWindow(List<Company> companies)
: this()
{
_companies = companies;
}
private void CreateButton_Click(object sender, RoutedEventArgs e)
{..
can any one say in which condition partial class is used?