C# Class Praeclarum.App.DocumentApplication

Inheritance: Application
Exibir arquivo Open project: praeclarum/Praeclarum

Public Methods

Method Description
CreateDocument ( string localFilePath ) : IDocument
CreateDocumentEditor ( int docIndex, List docs ) : IDocumentEditor
DrawThumbnail ( IDocument doc, IGraphics g, SizeF size, Theme theme ) : void
GetThumbnailBackgroundColor ( Theme theme ) : Color
OnFileSystemInitialized ( ) : void

Called once everything is loaded

Private Methods

Method Description
Pluralize ( string word ) : string

Method Details

CreateDocument() public method

public CreateDocument ( string localFilePath ) : IDocument
localFilePath string
return IDocument

CreateDocumentEditor() public method

public CreateDocumentEditor ( int docIndex, List docs ) : IDocumentEditor
docIndex int
docs List
return IDocumentEditor

DrawThumbnail() public method

public DrawThumbnail ( IDocument doc, IGraphics g, SizeF size, Theme theme ) : void
doc IDocument
g IGraphics
size Praeclarum.Graphics.SizeF
theme Praeclarum.UI.Theme
return void

GetThumbnailBackgroundColor() public method

public GetThumbnailBackgroundColor ( Theme theme ) : Color
theme Praeclarum.UI.Theme
return Color

OnFileSystemInitialized() public method

Called once everything is loaded
public OnFileSystemInitialized ( ) : void
return void