C# Class PurplePen.DescriptionControl

Afficher le fichier Open project: petergolde/PurplePen Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public CloseAnyPopup ( ) : void
Résultat void

DescriptionControl() public méthode

public DescriptionControl ( ) : System
Résultat System

Dispose() protected méthode

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

GetSelection() public méthode

public GetSelection ( int &firstLine, int &lastLine ) : void
firstLine int
lastLine int
Résultat void

PopupControlCode() public méthode

public PopupControlCode ( ) : void
Résultat void

ScrollLineIntoView() public méthode

public ScrollLineIntoView ( int line ) : void
line int
Résultat void

SetSelection() public méthode

public SetSelection ( int firstLine, int lastLine ) : void
firstLine int
lastLine int
Résultat void