C# Class Server.ServerSideConfirm

Afficher le fichier Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
answer int

Méthodes publiques

Méthode Description
ServerSideConfirm ( ServerSideMenu _sMenu ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
False_Click ( object sender, EventArgs e ) : void

False_Click. This method is called when the user clicks the "No" button. It sets the answer to zero and closes the form.

InitializeComponent ( ) : void

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

ServerSideConfirm_Load ( object sender, EventArgs e ) : void

ServerSideConfirm_Load. This initialzes the values of all the labels when the form is loaded. (ie the number of players, the max health, the max points).

True_Click ( object sender, EventArgs e ) : void

True_Click. This method is called when the user clicks the "Yes" button. It sets the answer to 1 and closes the form

Method Details

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

ServerSideConfirm() public méthode

public ServerSideConfirm ( ServerSideMenu _sMenu ) : System
_sMenu ServerSideMenu
Résultat System

Property Details

answer public_oe property

public int answer
Résultat int