C# Class ATMLCommonLibrary.forms.ATMLDocumentBaseForm

Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent, IATMLDockableWindow
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Public Properties

Property Type Description
btnCollapseAll System.Windows.Forms.ToolStripButton
btnExpandAll System.Windows.Forms.ToolStripButton
btnFind System.Windows.Forms.ToolStripButton
btnSave System.Windows.Forms.ToolStripButton
btnWordWrap System.Windows.Forms.ToolStripButton

Protected Properties

Property Type Description
atmlPreviewPanel controls.ATMLPreviewPanel
toolStrip1 System.Windows.Forms.ToolStrip

Public Methods

Method Description
ATMLDocumentBaseForm ( ) : System
CloseProject ( ) : void
CollapseAll ( ) : void
ExpandAll ( ) : void

Protected Methods

Method Description
CreateDocumentWatcher ( string documentPath, string documentName ) : void
DestroyHandle ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

LoadFile ( string fileName ) : void
OnAtlasDocumentLoaded ( ) : void
OnCaretPosChanged ( ATMLDocumentEventArgs args ) : void
OnClosed ( EventArgs e ) : void
OnDocumentSaved ( FileInfo fileInfo, byte content ) : void
OnSourceDocumentLoaded ( ) : void
OnXmlDocumentLoaded ( ) : void
ReleaseDocumentWatcher ( ) : void

Private Methods

Method Description
AtmlPreviewPanelOnAtlasDocumentLoaded ( object sender, EventArgs eventArgs ) : void
AtmlPreviewPanelOnPreviewDocumentLoaded ( object sender, EventArgs eventArgs ) : void
AtmlPreviewPanelOnSourceDocumentLoaded ( object sender, EventArgs eventArgs ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

_fileWatcher_Changed ( object sender, FileSystemEventArgs e ) : void
atmlPreviewPanel_SourceDocumentLoaded ( object sender, EventArgs e ) : void
atmlPreviewPanel_WebDocumentLoaded ( System.Windows.Forms.WebBrowser webBrowser ) : void
atmlPreviewPanel_XmlDocumentLoaded ( ) : void
btnBack_Click ( object sender, EventArgs e ) : void
btnCollapseAll_Click ( object sender, EventArgs e ) : void
btnExpandAll_Click ( object sender, EventArgs e ) : void
btnExportDocument_Click ( object sender, EventArgs e ) : void
btnFind_Click ( object sender, EventArgs e ) : void
btnForward_Click ( object sender, EventArgs e ) : void
btnPrint_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
btnWordWrap_Click ( object sender, EventArgs e ) : void

Method Details

ATMLDocumentBaseForm() public method

public ATMLDocumentBaseForm ( ) : System
return System

CloseProject() public method

public CloseProject ( ) : void
return void

CollapseAll() public method

public CollapseAll ( ) : void
return void

CreateDocumentWatcher() protected method

protected CreateDocumentWatcher ( string documentPath, string documentName ) : void
documentPath string
documentName string
return void

DestroyHandle() protected method

protected DestroyHandle ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ExpandAll() public method

public ExpandAll ( ) : void
return void

LoadFile() protected method

protected LoadFile ( string fileName ) : void
fileName string
return void

OnAtlasDocumentLoaded() protected method

protected OnAtlasDocumentLoaded ( ) : void
return void

OnCaretPosChanged() protected method

protected OnCaretPosChanged ( ATMLDocumentEventArgs args ) : void
args ATMLDocumentEventArgs
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

OnDocumentSaved() protected method

protected OnDocumentSaved ( FileInfo fileInfo, byte content ) : void
fileInfo System.IO.FileInfo
content byte
return void

OnSourceDocumentLoaded() protected method

protected OnSourceDocumentLoaded ( ) : void
return void

OnXmlDocumentLoaded() protected method

protected OnXmlDocumentLoaded ( ) : void
return void

ReleaseDocumentWatcher() protected method

protected ReleaseDocumentWatcher ( ) : void
return void

Property Details

atmlPreviewPanel protected property

protected controls.ATMLPreviewPanel atmlPreviewPanel
return controls.ATMLPreviewPanel

btnCollapseAll public property

public ToolStripButton,System.Windows.Forms btnCollapseAll
return System.Windows.Forms.ToolStripButton

btnExpandAll public property

public ToolStripButton,System.Windows.Forms btnExpandAll
return System.Windows.Forms.ToolStripButton

btnFind public property

public ToolStripButton,System.Windows.Forms btnFind
return System.Windows.Forms.ToolStripButton

btnSave public property

public ToolStripButton,System.Windows.Forms btnSave
return System.Windows.Forms.ToolStripButton

btnWordWrap public property

public ToolStripButton,System.Windows.Forms btnWordWrap
return System.Windows.Forms.ToolStripButton

toolStrip1 protected property

protected ToolStrip,System.Windows.Forms toolStrip1
return System.Windows.Forms.ToolStrip