C# Класс ChatRoom.ChatClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ChatClient ( ) : System
OnApplicationExit ( object sender, EventArgs e ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

ChatClient() публичный Метод

public ChatClient ( ) : System
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

OnApplicationExit() публичный Метод

public OnApplicationExit ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void