C# Class Client.ClientConfirm

The designer for ClientConfirm. This controls how things are initilized, set, named etc Lacey Townes
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
ClientConfirm ( ClientSideMenu _Cmenu ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

ClientConfirm_Load updates the form with the values it received from the ClientConfirm Menu. It sets the labels to show the received information.

InfoFalse_Click ( object sender, EventArgs e ) : void

InfoFalse_Click. The method that is called when the "No" button is clicked. It sets thr answer to 0 and closes the form.

InfoTrue_Click ( object sender, EventArgs e ) : void

InfoTrue_Click The method that is called when the "Yes" button is clicked. It sets the answer to 1 and closes the form.

InitializeComponent ( ) : void

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

Method Details

ClientConfirm() public méthode

public ClientConfirm ( ClientSideMenu _Cmenu ) : System
_Cmenu ClientSideMenu
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

Property Details

answer public_oe property

public int answer
Résultat int