C# Class Kajabity.Tools.Forms.TextDocumentManager

A Document Manager for Text Documents.
Inheritance: DocumentManager
Exibir arquivo Open project: Kajabity/Kajabity-Tools

Public Methods

Method Description
Load ( string filename ) : void

Loads a text document from filename.

NewDocument ( ) : void

Create a new Text document.

Save ( string filename ) : void

Saves the currently loaded text document to filename.

TextDocumentManager ( ) : System

Construct a TextDocumentManager setting the default document name and extension.

Method Details

Load() public method

Loads a text document from filename.
public Load ( string filename ) : void
filename string the name of the file to load as a text document.
return void

NewDocument() public method

Create a new Text document.
public NewDocument ( ) : void
return void

Save() public method

Saves the currently loaded text document to filename.
public Save ( string filename ) : void
filename string the name of the file to save the text document into.
return void

TextDocumentManager() public method

Construct a TextDocumentManager setting the default document name and extension.
public TextDocumentManager ( ) : System
return System