C# Class Client.ClientConfirm

The designer for ClientConfirm. This controls how things are initilized, set, named etc Lacey Townes
Show file Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Public Properties

Property Type Description
answer int

Public Methods

Method Description
ClientConfirm ( ClientSideMenu _Cmenu ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

public ClientConfirm ( ClientSideMenu _Cmenu ) : System
_Cmenu ClientSideMenu
return System

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

answer public property

public int answer
return int