ZennoLab Assemblies Documentation
MainForm Property
Example 
Gets the first form the document.
Syntax
public HtmlElement MainForm {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The first form of the document.

Example
The following code example uses the MainForm property.
// get document
Document doc = tab.MainDocument;
 
// get the main form
HtmlElement mainForm = doc.MainForm;
// get document
$doc = $tab->MainDocument;
 
// get the main form
$mainForm = $doc->MainForm;
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

Document Class
Document Members
Forms Property

Send Feedback