C# 클래스 Client.ClientSideMenu

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

공개 프로퍼티들

프로퍼티 타입 설명
info ClientConfirm
shiptype int
testIP object
userName String

공개 메소드들

메소드 설명
ClientSideMenu ( ) : System

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
BStart_Click ( object sender, EventArgs e ) : void

BStart_Click. This method is called when the "Start" button is clicked. It creates a new ClientConfirm form, passes itself. It only closes the ClientSideMenu if the user selects yes from the confirm method.

IIPAddresses_SelectedIndexChanged ( object sender, EventArgs e ) : void

IIPAddresses_SelectedIndexChanged method. This method is called when the user selects an IP address from the dropdown list

IName_TextChanged ( object sender, EventArgs e ) : void

IName_TextChanged. Method that is called when "IName" text has changed. It sets userName to whatever is entered.

IShiptype_SelectedIndexChanged ( object sender, EventArgs e ) : void

IShiptype_SlectedIndexChanged. Method that is called when the user selects an item from the drop down list of ship types. It sets shipType

InitializeComponent ( ) : void

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

메소드 상세

ClientSideMenu() 공개 메소드

public ClientSideMenu ( ) : System
리턴 System

Dispose() 보호된 메소드

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

프로퍼티 상세

info 공개적으로 프로퍼티

public ClientConfirm,Client info
리턴 ClientConfirm

shiptype 공개적으로 프로퍼티

public int shiptype
리턴 int

testIP 공개적으로 프로퍼티

public object testIP
리턴 object

userName 공개적으로 프로퍼티

The ClientSideMenu constructor, this initilizes the components and sets the testIp addresses
public String userName
리턴 String