C# Class NeinTom.ChatLog.TextPart

Inheritance: ChatMessagePart
Afficher le fichier Open project: jvbsl/LiveCodingChat

Méthodes publiques

Méthode Description
TextPart ( XmlElement element, ChatMessagePart parent = null, Font font = null ) : System
TextPart ( string text, ChatMessagePart parent = null, Font font = null ) : System

Méthodes protégées

Méthode Description
DrawInternal ( Graphics g, PointF position, SizeF size ) : void
MouseDownInternal ( PointF location, MouseEventArgs e ) : void
MouseMoveInternal ( PointF location, MouseEventArgs e ) : void
ParseInternal ( Graphics g ) : void
PreParse ( XmlElement element ) : void

Private Methods

Méthode Description
AddPatterns ( string text ) : bool
InitText ( ) : void
MeasureString ( Graphics g, string text, Font font ) : SizeF
TestPrefix ( int index, string text, int &lastMatched, int &matched ) : void

Method Details

DrawInternal() protected méthode

protected DrawInternal ( Graphics g, PointF position, SizeF size ) : void
g System.Drawing.Graphics
position System.Drawing.PointF
size System.Drawing.SizeF
Résultat void

MouseDownInternal() protected méthode

protected MouseDownInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
Résultat void

MouseMoveInternal() protected méthode

protected MouseMoveInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
Résultat void

ParseInternal() protected méthode

protected ParseInternal ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

PreParse() protected méthode

protected PreParse ( XmlElement element ) : void
element System.Xml.XmlElement
Résultat void

TextPart() public méthode

public TextPart ( XmlElement element, ChatMessagePart parent = null, Font font = null ) : System
element System.Xml.XmlElement
parent ChatMessagePart
font System.Drawing.Font
Résultat System

TextPart() public méthode

public TextPart ( string text, ChatMessagePart parent = null, Font font = null ) : System
text string
parent ChatMessagePart
font System.Drawing.Font
Résultat System