C# Class ChatRoom.ChatClient

Exibir arquivo Open project: cclay/spaceconquest Class Usage Examples

Public Methods

Method Description
ChatClient ( ) : System
OnApplicationExit ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ChatClient_Load ( object sender, EventArgs e ) : void
CloseConnection ( string Reason ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InitializeConnection ( ) : void
ReceiveMessages ( ) : void
SendMessage ( ) : void
UpdateLog ( string Message ) : void
btnConnect_Click ( object sender, EventArgs e ) : void
btnSend_Click ( object sender, EventArgs e ) : void
txtMessage_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

ChatClient() public method

public ChatClient ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OnApplicationExit() public method

public OnApplicationExit ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void