C# Class CinderellaLauncher.ClientApp

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: ThomasMoreCollege/CinderellaMGS

Méthodes publiques

Méthode Description
ClientApp ( ) : System
GetServerIP ( ) : string
onAppExit ( object sender, FormClosingEventArgs e ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ClientApp_FormClosing ( object sender, FormClosingEventArgs e ) : void

The method below indicates that the form close.

ClientApp_Load ( object sender, EventArgs e ) : void
ClientApp_Resize ( object sender, EventArgs e ) : void
Flash ( bool stop ) : void
FlashWindowEx ( FLASHWINFO &pwfi ) : Int32
InitializeComponent ( ) : void

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

InitializeConnection ( ) : void
UpdateLog ( string message ) : void
closeConnection ( string reason ) : void
connectButton_Click ( object sender, EventArgs e ) : void
recieveMessage ( ) : void

Create the recieveMessage method. This method is implemented for the chat user to recieve messages.

sendButton_Click ( object sender, EventArgs e ) : void
sendMessage ( ) : void
txtChatName_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtIP_TextChanged ( object sender, EventArgs e ) : void
txtMessage_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

ClientApp() public méthode

public ClientApp ( ) : System
Résultat System

Dispose() protected méthode

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

GetServerIP() public méthode

public GetServerIP ( ) : string
Résultat string

onAppExit() public méthode

public onAppExit ( object sender, FormClosingEventArgs e ) : void
sender object
e System.Windows.Forms.FormClosingEventArgs
Résultat void