C# Class Dalssoft.DiagramNet.EditLabelAction

This class control the label edition of the element.
Mostra file Open project: AlexandrSurkov/PKStudio Class Usage Examples

Public Methods

Method Description
EditLabelAction ( ) : System
EndEdit ( ) : void
SetTextBoxLocation ( BaseElement el, TextBox tb ) : void
StartEdit ( BaseElement el, TextBox textBox ) : void

Private Methods

Method Description
MeasureTextSize ( ) : Size
SetTextBoxBorder ( TextBox tb ) : void
labelTextBox_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

EditLabelAction() public method

public EditLabelAction ( ) : System
return System

EndEdit() public method

public EndEdit ( ) : void
return void

SetTextBoxLocation() public static method

public static SetTextBoxLocation ( BaseElement el, TextBox tb ) : void
el BaseElement
tb System.Windows.Forms.TextBox
return void

StartEdit() public method

public StartEdit ( BaseElement el, TextBox textBox ) : void
el BaseElement
textBox System.Windows.Forms.TextBox
return void