C# 클래스 Server.ServerSideConfirm

파일 보기 프로젝트 열기: pmyoung/Advanced-Game-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
answer int

공개 메소드들

메소드 설명
ServerSideConfirm ( ServerSideMenu _sMenu ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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

ServerSideConfirm() 공개 메소드

public ServerSideConfirm ( ServerSideMenu _sMenu ) : System
_sMenu ServerSideMenu
리턴 System

프로퍼티 상세

answer 공개적으로 프로퍼티

public int answer
리턴 int