C# Class NeinTom.ChatLog.ChatMessagePart

Mostra file Open project: jvbsl/LiveCodingChat Class Usage Examples

Protected Properties

Property Type Description
PartTypes Type>.Dictionary
parent ChatMessagePart
parts List

Public Methods

Method Description
ChatMessagePart ( ChatMessagePart parent = null, Font font = null ) : System
ChatMessagePart ( XmlElement xml, ChatMessagePart parent = null, Font font = null ) : System
Draw ( Graphics g, PointF position, SizeF size ) : void
MouseDown ( PointF location, MouseEventArgs e ) : ChatMessagePart
MouseEnter ( PointF location, MouseEventArgs e ) : ChatMessagePart
MouseLeave ( PointF location, MouseEventArgs e ) : ChatMessagePart
MouseMove ( PointF location, MouseEventArgs e ) : ChatMessagePart
Parse ( Graphics g, SizeF Size ) : void
getParentControl ( ) : Control

Protected Methods

Method Description
DrawInternal ( Graphics g, PointF position, SizeF size ) : void
MouseDownInternal ( PointF location, MouseEventArgs e ) : void
MouseEnterInternal ( PointF location, MouseEventArgs e ) : void
MouseForwarding ( PointF location, MouseEventArgs e, ForwardingDelegate del ) : ChatMessagePart
MouseLeaveInternal ( PointF location, MouseEventArgs e ) : void
MouseMoveInternal ( PointF location, MouseEventArgs e ) : void
ParseInternal ( Graphics g ) : void
PreParse ( XmlElement element ) : void

Private Methods

Method Description
ChatMessagePart ( ) : System
CreateInstance ( Type type, XmlElement element, ChatMessagePart parent ) : ChatMessagePart
CreateInstance ( Type type, string element, ChatMessagePart parent ) : ChatMessagePart
ParseXml ( XmlElement element ) : void

Method Details

ChatMessagePart() public method

public ChatMessagePart ( ChatMessagePart parent = null, Font font = null ) : System
parent ChatMessagePart
font System.Drawing.Font
return System

ChatMessagePart() public method

public ChatMessagePart ( XmlElement xml, ChatMessagePart parent = null, Font font = null ) : System
xml System.Xml.XmlElement
parent ChatMessagePart
font System.Drawing.Font
return System

Draw() public method

public Draw ( Graphics g, PointF position, SizeF size ) : void
g System.Drawing.Graphics
position System.Drawing.PointF
size System.Drawing.SizeF
return void

DrawInternal() protected abstract method

protected abstract DrawInternal ( Graphics g, PointF position, SizeF size ) : void
g System.Drawing.Graphics
position System.Drawing.PointF
size System.Drawing.SizeF
return void

MouseDown() public method

public MouseDown ( PointF location, MouseEventArgs e ) : ChatMessagePart
location System.Drawing.PointF
e MouseEventArgs
return ChatMessagePart

MouseDownInternal() protected method

protected MouseDownInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
return void

MouseEnter() public method

public MouseEnter ( PointF location, MouseEventArgs e ) : ChatMessagePart
location System.Drawing.PointF
e MouseEventArgs
return ChatMessagePart

MouseEnterInternal() protected method

protected MouseEnterInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
return void

MouseForwarding() protected method

protected MouseForwarding ( PointF location, MouseEventArgs e, ForwardingDelegate del ) : ChatMessagePart
location System.Drawing.PointF
e MouseEventArgs
del ForwardingDelegate
return ChatMessagePart

MouseLeave() public method

public MouseLeave ( PointF location, MouseEventArgs e ) : ChatMessagePart
location System.Drawing.PointF
e MouseEventArgs
return ChatMessagePart

MouseLeaveInternal() protected method

protected MouseLeaveInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
return void

MouseMove() public method

public MouseMove ( PointF location, MouseEventArgs e ) : ChatMessagePart
location System.Drawing.PointF
e MouseEventArgs
return ChatMessagePart

MouseMoveInternal() protected method

protected MouseMoveInternal ( PointF location, MouseEventArgs e ) : void
location System.Drawing.PointF
e MouseEventArgs
return void

Parse() public method

public Parse ( Graphics g, SizeF Size ) : void
g System.Drawing.Graphics
Size System.Drawing.SizeF
return void

ParseInternal() protected abstract method

protected abstract ParseInternal ( Graphics g ) : void
g System.Drawing.Graphics
return void

PreParse() protected abstract method

protected abstract PreParse ( XmlElement element ) : void
element System.Xml.XmlElement
return void

getParentControl() public method

public getParentControl ( ) : Control
return System.Windows.Forms.Control

Property Details

PartTypes protected_oe static_oe property

protected static Dictionary PartTypes
return Type>.Dictionary

parent protected_oe property

protected ChatMessagePart,NeinTom.ChatLog parent
return ChatMessagePart

parts protected_oe property

protected List parts
return List