C# Class Server.ServerSideConfirm

Show file Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Public Properties

Property Type Description
answer int

Public Methods

Method Description
ServerSideConfirm ( ServerSideMenu _sMenu ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 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

ServerSideConfirm() public method

public ServerSideConfirm ( ServerSideMenu _sMenu ) : System
_sMenu ServerSideMenu
return System

Property Details

answer public property

public int answer
return int