| **Navigation:**  [[clarion.htm|Clarion.Net (Clarion#)]] > [[clarion net language reference.htm|Clarion# Language Extensions]] > CLASS attributes >====== PARTIAL (defines a partial class) ====== | [[new allocate heap memory .htm#newmodifier|{{btn_prev_n.gif|Previous page}}]][[clarion net language reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[property class specific private property .htm|{{btn_next_n.gif|Next page}}]] | | || **PARTIAL** {{blk2blue.jpg|blk2blue.jpg}} The PARTIAL attribute defines a CLASS as a //partial// class. A partial class is simply a class definition that is split into more than one physical file. The compiler doesn't see a difference because all of the files that make up a class are simply grouped into a single entity. Since the classes are just merged together and compiled, you can't mix languages. That is, you can't have one part of a class in C# and another in Clarion. **Example:** | **CompanyForm   CLASS**(System.Windows.Forms.Form),TYPE,NETCLASS,PARTIAL | | **toolStrip             **&System.Windows.Forms.ToolStrip,PRIVATE | | **toolStripButtonCancel **&System.Windows.Forms.ToolStripButton,PRIVATE | | **toolStripButtonAccept **&System.Windows.Forms.ToolStripButton,PRIVATE | | **CompanyBindingSource **&System.Windows.Forms.BindingSource,INTERNAL | | **components           **&System.ComponentModel.IContainer,PRIVATE | | **errorProvider         **&System.Windows.Forms.ErrorProvider,PRIVATE | | **tabControl           **&System.Windows.Forms.TabControl,PRIVATE | | **InitializeComponent PROCEDURE**(),PRIVATE | | **NameLabel             **&System.Windows.Forms.Label,PRIVATE | | **NameTextBox           **&System.Windows.Forms.TextBox,PRIVATE | | **AddressLabel         **&System.Windows.Forms.Label,PRIVATE | | **AddressTextBox       **&System.Windows.Forms.TextBox,PRIVATE | | **CityLabel             **&System.Windows.Forms.Label,PRIVATE | | **CityTextBox           **&System.Windows.Forms.TextBox,PRIVATE | | **StateLabel           **&System.Windows.Forms.Label,PRIVATE | | **StateTextBox         **&System.Windows.Forms.TextBox,PRIVATE | | **ZipcodeLabel         **&System.Windows.Forms.Label,PRIVATE | | **ZipcodeTextBox       **&System.Windows.Forms.TextBox,PRIVATE | | **PhoneLabel           **&System.Windows.Forms.Label,PRIVATE | | **PhoneTextBox         **&System.Windows.Forms.TextBox,PRIVATE | | **tabPage1             **&System.Windows.Forms.TabPage,PRIVATE | | **END** |