C# Class PurplePen.DebugUI.DescriptionBrowser

Datei anzeigen Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
DescriptionBrowser ( ) : System
GetBitmapFileName ( EventDB eventDB, Id courseId, string extra, DescriptionKind kind ) : string
Initialize ( EventDB eventDB, SymbolDB symbolDB ) : void
RenderToBitmap ( SymbolDB symbolDB, DescriptionLine description, DescriptionKind kind, int numColumns ) : Bitmap

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetDescription ( ) : DescriptionLine[]
GetDescriptionKind ( ) : DescriptionKind
GetTestFile ( string basename ) : string
GetTestFileDirectory ( ) : string
InitializeComponent ( ) : void

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

PopupCanceled ( object sender, EventArgs args ) : void
PopupSelected ( object sender, SymbolPopupEventArgs args ) : void
ShowDropDown ( char column, int line, Point pt ) : void
UpdateDescriptionRenderer ( ) : void
UpdateDescriptionSize ( ) : void
buttonPrint_Click ( object sender, EventArgs e ) : void
buttonSaveBitmap_Click ( object sender, EventArgs e ) : void
comboBoxKind_SelectedIndexChanged ( object sender, EventArgs e ) : void
customKeyCheckBox_CheckedChanged ( object sender, EventArgs e ) : void
listBoxCourses_SelectedIndexChanged ( object sender, EventArgs e ) : void
pictureBoxDescription_MouseDown ( object sender, MouseEventArgs e ) : void
pictureBoxDescription_Paint ( object sender, PaintEventArgs e ) : void
printDocument_PrintPage ( object sender, System e ) : void
textBoxPixels_TextChanged ( object sender, EventArgs e ) : void

Method Details

DescriptionBrowser() public method

public DescriptionBrowser ( ) : System
return System

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

GetBitmapFileName() public static method

public static GetBitmapFileName ( EventDB eventDB, Id courseId, string extra, DescriptionKind kind ) : string
eventDB EventDB
courseId Id
extra string
kind DescriptionKind
return string

Initialize() public method

public Initialize ( EventDB eventDB, SymbolDB symbolDB ) : void
eventDB EventDB
symbolDB SymbolDB
return void

RenderToBitmap() public static method

public static RenderToBitmap ( SymbolDB symbolDB, DescriptionLine description, DescriptionKind kind, int numColumns ) : Bitmap
symbolDB SymbolDB
description DescriptionLine
kind DescriptionKind
numColumns int
return Bitmap