C# Class ChatExample.ClientForm

Show file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Public Properties

Property Type Description
instance ClientForm

Public Methods

Method Description
ClientForm ( ) : System

Protected Methods

Method Description
DestroyHandle ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ChatService_ReceiveText ( ChatClientNetworkService sender, UserManagementClientNetworkService fromUser, string text ) : void
Client_ConnectionStatusChanged ( NetworkClient sender, NetworkConnectionStatuses status ) : void
Connect ( ) : void
Disconnect ( ) : void
InitializeComponent ( ) : void

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

Log ( string text ) : void
Send ( ) : void
UserManagementService_AddUserEvent ( UserManagementClientNetworkService sender, UserManagementClientNetworkService user ) : void
UserManagementService_RemoveUserEvent ( UserManagementClientNetworkService sender, UserManagementClientNetworkService user ) : void
buttonConnect_Click ( object sender, EventArgs e ) : void
buttonDisconnect_Click ( object sender, EventArgs e ) : void
buttonSend_Click ( object sender, EventArgs e ) : void
textBoxEnterText_KeyDown ( object sender, KeyEventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Method Details

ClientForm() public method

public ClientForm ( ) : System
return System

DestroyHandle() protected method

protected DestroyHandle ( ) : void
return void

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

Property Details

instance public static property

public static ClientForm,ChatExample instance
return ClientForm