C# Class PurplePen.DescriptionControl

ファイルを表示 Open project: petergolde/PurplePen Class Usage Examples

Private Properties

Property Type Description
CombineBoxTexts string
DescriptionControl_Layout void
DrawSelection void
FitDescriptionToWidth Size
GetPopupMenuLocation Point
InitializeComponent void
InvalidateChangedLines void
InvalidateLine void
PopupMenu void
UpdatePanelSize void
descriptionPanel_MouseDown void
descriptionPanel_Paint void
popup_Canceled void
popup_Selected void

Public Methods

Method Description
CloseAnyPopup ( ) : void
DescriptionControl ( ) : System
GetSelection ( int &firstLine, int &lastLine ) : void
PopupControlCode ( ) : void
ScrollLineIntoView ( int line ) : void
SetSelection ( int firstLine, int lastLine ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CombineBoxTexts ( int firstLine, int lastLine, int boxNumber, string combineWith ) : string
DescriptionControl_Layout ( object sender, LayoutEventArgs e ) : void
DrawSelection ( Graphics g, int firstLine, int lastLine, Rectangle clip ) : void
FitDescriptionToWidth ( float width, float &boxSize ) : Size
GetPopupMenuLocation ( HitTestResult hitTest ) : Point
InitializeComponent ( ) : void

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

InvalidateChangedLines ( DescriptionLine old, DescriptionLine current ) : void
InvalidateLine ( int line ) : void
PopupMenu ( HitTestResult hitTest ) : void
UpdatePanelSize ( ) : void
descriptionPanel_MouseDown ( object sender, MouseEventArgs e ) : void
descriptionPanel_Paint ( object sender, PaintEventArgs e ) : void
popup_Canceled ( object sender, EventArgs e ) : void
popup_Selected ( object sender, SymbolPopupEventArgs eventArgs ) : void

Method Details

CloseAnyPopup() public method

public CloseAnyPopup ( ) : void
return void

DescriptionControl() public method

public DescriptionControl ( ) : 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

GetSelection() public method

public GetSelection ( int &firstLine, int &lastLine ) : void
firstLine int
lastLine int
return void

PopupControlCode() public method

public PopupControlCode ( ) : void
return void

ScrollLineIntoView() public method

public ScrollLineIntoView ( int line ) : void
line int
return void

SetSelection() public method

public SetSelection ( int firstLine, int lastLine ) : void
firstLine int
lastLine int
return void