C# 클래스 Mahjong.Forms.ChatServerForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Superbil/mahjong 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Port int
startbutton System.Windows.Forms.Button

공개 메소드들

메소드 설명
ChatClient ( ) : void
ChatServer ( ) : void
ChatServerForm ( ) : System
ChatServerForm ( int port ) : System
GameOver ( ) : bool
Run ( ) : void

Client

SetUp ( ) : void
getByteArrayWithObject ( AllPlayers all ) : byte[]
getByteArrayWithObject ( Brand brand ) : byte[]
getByteArrayWithObject ( Mahjong.Players.BrandPlayer players ) : byte[]
getByteArrayWithObject ( CheckUser check ) : byte[]
getObjectWithByteArray ( byte theByteArray ) : object

보호된 메소드들

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

Clean up any resources being used.

Server_Closing ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

비공개 메소드들

메소드 설명
ChatServerForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
ChatServerForm_Load ( object sender, EventArgs e ) : void
DisableInput ( bool value ) : void
DisplayMessage ( string message ) : void
IPButton_CheckedChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

SendObject ( AllPlayers all ) : void
SendObject ( Brand bd ) : void
SendObject ( Mahjong.Players.BrandPlayer brandplayers ) : void
SendObject ( CheckUser cu ) : void
SendObject ( int bi ) : void
cancelbutton_Click ( object sender, EventArgs e ) : void
connectbutton_Click ( object sender, EventArgs e ) : void
createbutton_Click ( object sender, EventArgs e ) : void
displayTextBox_TextChanged ( object sender, EventArgs e ) : void
inputTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
lanButton_CheckedChanged ( object sender, EventArgs e ) : void
playgame_Click ( object sender, EventArgs e ) : void
servermessage ( string reply ) : void
serverobject ( byte date ) : void
stringcheck ( string s ) : void

Client �ݪ�����

메소드 상세

ChatClient() 공개 메소드

public ChatClient ( ) : void
리턴 void

ChatServer() 공개 메소드

public ChatServer ( ) : void
리턴 void

ChatServerForm() 공개 메소드

public ChatServerForm ( ) : System
리턴 System

ChatServerForm() 공개 메소드

public ChatServerForm ( int port ) : System
port int
리턴 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

GameOver() 공개 메소드

public GameOver ( ) : bool
리턴 bool

Run() 공개 메소드

Client
public Run ( ) : void
리턴 void

Server_Closing() 보호된 메소드

protected Server_Closing ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
sender object
e System.Windows.Forms.FormClosedEventArgs
리턴 void

SetUp() 공개 메소드

public SetUp ( ) : void
리턴 void

getByteArrayWithObject() 공개 메소드

public getByteArrayWithObject ( AllPlayers all ) : byte[]
all Mahjong.Control.AllPlayers
리턴 byte[]

getByteArrayWithObject() 공개 메소드

public getByteArrayWithObject ( Brand brand ) : byte[]
brand Brand
리턴 byte[]

getByteArrayWithObject() 공개 메소드

public getByteArrayWithObject ( Mahjong.Players.BrandPlayer players ) : byte[]
players Mahjong.Players.BrandPlayer
리턴 byte[]

getByteArrayWithObject() 공개 메소드

public getByteArrayWithObject ( CheckUser check ) : byte[]
check Mahjong.Control.CheckUser
리턴 byte[]

getObjectWithByteArray() 공개 메소드

public getObjectWithByteArray ( byte theByteArray ) : object
theByteArray byte
리턴 object

프로퍼티 상세

Port 공개적으로 프로퍼티

public int Port
리턴 int

startbutton 공개적으로 프로퍼티

public System.Windows.Forms.Button startbutton
리턴 System.Windows.Forms.Button