C# Класс PurplePen.DescriptionControl

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
CloseAnyPopup ( ) : void
DescriptionControl ( ) : System
GetSelection ( int &firstLine, int &lastLine ) : void
PopupControlCode ( ) : void
ScrollLineIntoView ( int line ) : void
SetSelection ( int firstLine, int lastLine ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

CloseAnyPopup() публичный Метод

public CloseAnyPopup ( ) : void
Результат void

DescriptionControl() публичный Метод

public DescriptionControl ( ) : System
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GetSelection() публичный Метод

public GetSelection ( int &firstLine, int &lastLine ) : void
firstLine int
lastLine int
Результат void

PopupControlCode() публичный Метод

public PopupControlCode ( ) : void
Результат void

ScrollLineIntoView() публичный Метод

public ScrollLineIntoView ( int line ) : void
line int
Результат void

SetSelection() публичный Метод

public SetSelection ( int firstLine, int lastLine ) : void
firstLine int
lastLine int
Результат void