C# Class NeinTom.ChatLog.ChatLogControl

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: jvbsl/LiveCodingChat Class Usage Examples

Public Methods

Method Description
AddMessage ( ChatMessage message ) : void
ChatLogControl ( ) : System
ScrollToBottom ( ) : void

Private Methods

Method Description
ChatLogControl_MouseDown ( object sender, MouseEventArgs e ) : void
ChatLogControl_MouseEnter ( object sender, EventArgs eb ) : void
ChatLogControl_MouseLeave ( object sender, EventArgs eb ) : void
ChatLogControl_MouseMove ( object sender, MouseEventArgs e ) : void
ChatLogControl_Scroll ( object sender, ScrollEventArgs e ) : void
ChatLog_Paint ( object sender, PaintEventArgs e ) : void
ChatLog_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
MeasureMessage ( string message, Graphics g, float leftMargin ) : SizeF
MeasureTexts ( Graphics g ) : void
Messages_ItemThrown ( object sender, ChatMessage thrown ) : void
tmrUpdate_Tick ( object sender, EventArgs e ) : void

Method Details

AddMessage() public method

public AddMessage ( ChatMessage message ) : void
message ChatMessage
return void

ChatLogControl() public method

public ChatLogControl ( ) : System
return System

ScrollToBottom() public method

public ScrollToBottom ( ) : void
return void