C# Class pdachess.Form1

Inheritance: System.Windows.Forms.Form
Mostra file Open project: tuxoko/pdachess

Public Methods

Method Description
Form1 ( ) : System
Form1 ( string gamemode, string text ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清除任何使用中的資源。

Private Methods

Method Description
InitializeChessBoard ( ) : void
InitializeComponent ( ) : void

此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。

displaymove ( Token t ) : void
drawScreen ( ) : void
drawgame ( ) : void
drawgameReply ( ) : void
gamebox_MouseDown ( object sender, MouseEventArgs e ) : void
getIndex ( int x, int y ) : int
initTokens ( ) : void
ischeck ( Token map, string side ) : bool
ismate ( string side ) : bool
listenThread ( ) : void
loadImage ( ) : void
lose ( ) : void
map_clone ( Token map ) : pdachess.Token[]
menuItem2_Click ( object sender, EventArgs e ) : void
menuItem3_Click ( object sender, EventArgs e ) : void
menuItem4_Click ( object sender, EventArgs e ) : void
move ( Token map, int po_x, int po_y ) : string
move ( Token map, int po_x, int po_y, string promote ) : string
movecontrol_Bishop ( Bishop t ) : void
movecontrol_Castle ( Castle t ) : void
movecontrol_King ( King t ) : void
movecontrol_Knight ( Knight t ) : void
movecontrol_Pawn ( Pawn t ) : void
movecontrol_Queen ( Queen t ) : void
opponentmove ( string cmds ) : void
quit ( ) : void
setTokenmoves ( ) : void
showLoading ( ) : void
test_check ( ) : void
win ( ) : void

Method Details

Dispose() protected method

清除任何使用中的資源。
protected Dispose ( bool disposing ) : void
disposing bool 如果應該處置 Managed 資源則為 true,否則為 false。
return void

Form1() public method

public Form1 ( ) : System
return System

Form1() public method

public Form1 ( string gamemode, string text ) : System
gamemode string
text string
return System