C# 클래스 Mahjong.Forms.Table

파일 보기 프로젝트 열기: Superbil/mahjong 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
all AllPlayers
padding int

Private Properties

프로퍼티 타입 설명
PlaySound void
PlaySound_Menu_CheckedChanged void
PlaySound_Menu_Click void
SetControl void
ShowMessageBox_Menu_CheckedChanged void
ShowMessageBox_Menu_Click void
Table_KeyUp void
addimage_player void
clearControl void
clearFlowLayout_Control void
setFlowLayout void
setFlowLayout_Anchor void
setFlowLayout_Dock void
setFlowLayout_FlowDirection void
setFlowLayout_Margin void
setFlowLayout_location void
setFlowLayout_name void
setFlowLayout_size void
儲存牌局ToolStripMenuItem_Click void
新遊戲ToolStripMenuItem_Click void
正常ToolStripMenuItem_Click void
結束ToolStripMenuItem1_Click void
設定ToolStripMenuItem1_Click void
讀取牌局ToolStripMenuItem_Click void
開新遊戲ToolStripMenuItem_Click void
關於ToolStripMenuItem1_Click void
非常快ToolStripMenuItem_Click void
非常慢ToolStripMenuItem_Click void

공개 메소드들

메소드 설명
Setup ( AllPlayers all ) : void

設定玩家

Table ( ) : System
addImage ( ) : void

新增玩家、桌面圖片

addNowPlayer ( ) : void
add_flowLayoutBrands ( location state, Mahjong.Forms.BrandBox brandbox ) : void
cleanImage ( ) : void

清除所有顯示的圖片

clearAll ( ) : void

清除所有控制項

setInforamtion ( ) : void
showBrand ( Brand brand ) : void
updateAllPlayer ( ) : void
updateInforamation ( ) : void

更新Title和資訊盒

updateNowPlayer ( ) : void

更新現在玩家

updateTable ( ) : void

更新桌面

보호된 메소드들

메소드 설명
ResizeBitmap ( Bitmap b, double resize ) : Bitmap

重繪Bitmap(縮放)

addEast ( ) : void
addNouth ( ) : void
addShowTable ( ) : void
addSouth ( ) : void
addTable ( ) : void
addWest ( ) : void
addimage ( location state, Brand brand, RotateFlipType rotate ) : void
addimage_iterator ( Iterator iterator, location state, RotateFlipType rotate ) : void

新增圖片反覆器

brandBox_MouseClick ( object sender, EventArgs e ) : void

按下一張牌的事件

brandBox_MouseLeave ( object sender, EventArgs e ) : void
cheat_MouseClick ( object sender, MouseEventArgs e ) : void

作弊事件

clearAllPlayer ( ) : void
clearFlowLayoutBrands_Table ( ) : void
clearNowPlayer ( ) : void
debug_Click ( object sender, EventArgs e ) : void
setTitle ( ) : void
tempBrandbox_MouseMove ( object sender, MouseEventArgs e ) : void
updateSouth ( ) : void

비공개 메소드들

메소드 설명
PlaySound ( Brand brand ) : void

播放打牌聲音

PlaySound_Menu_CheckedChanged ( object sender, EventArgs e ) : void
PlaySound_Menu_Click ( object sender, EventArgs e ) : void
SetControl ( FlowLayoutPanel flp ) : void
ShowMessageBox_Menu_CheckedChanged ( object sender, EventArgs e ) : void
ShowMessageBox_Menu_Click ( object sender, EventArgs e ) : void
Table_KeyUp ( object sender, KeyEventArgs e ) : void
addimage_player ( BrandPlayer player, location state, RotateFlipType rotate ) : void
clearControl ( ) : void
clearFlowLayout_Control ( FlowLayoutPanel f ) : void
setFlowLayout ( ) : void
setFlowLayout_Anchor ( ) : void
setFlowLayout_Dock ( ) : void
setFlowLayout_FlowDirection ( ) : void
setFlowLayout_Margin ( int size ) : void
setFlowLayout_location ( ) : void
setFlowLayout_name ( ) : void
setFlowLayout_size ( ) : void
儲存牌局ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
新遊戲ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
正常ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
結束ToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
設定ToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
讀取牌局ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
開新遊戲ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
關於ToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
非常快ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
非常慢ToolStripMenuItem_Click ( object sender, EventArgs e ) : void

메소드 상세

ResizeBitmap() 보호된 메소드

重繪Bitmap(縮放)
protected ResizeBitmap ( Bitmap b, double resize ) : Bitmap
b Bitmap 圖型
resize double 比率
리턴 Bitmap

Setup() 공개 메소드

設定玩家
public Setup ( AllPlayers all ) : void
all AllPlayers AllPlayers
리턴 void

Table() 공개 메소드

public Table ( ) : System
리턴 System

addEast() 보호된 메소드

protected addEast ( ) : void
리턴 void

addImage() 공개 메소드

新增玩家、桌面圖片
public addImage ( ) : void
리턴 void

addNouth() 보호된 메소드

protected addNouth ( ) : void
리턴 void

addNowPlayer() 공개 메소드

public addNowPlayer ( ) : void
리턴 void

addShowTable() 보호된 메소드

protected addShowTable ( ) : void
리턴 void

addSouth() 보호된 메소드

protected addSouth ( ) : void
리턴 void

addTable() 보호된 메소드

protected addTable ( ) : void
리턴 void

addWest() 보호된 메소드

protected addWest ( ) : void
리턴 void

add_flowLayoutBrands() 공개 메소드

public add_flowLayoutBrands ( location state, Mahjong.Forms.BrandBox brandbox ) : void
state location
brandbox Mahjong.Forms.BrandBox
리턴 void

addimage() 보호된 메소드

protected addimage ( location state, Brand brand, RotateFlipType rotate ) : void
state location
brand Brand
rotate RotateFlipType
리턴 void

addimage_iterator() 보호된 메소드

新增圖片反覆器
protected addimage_iterator ( Iterator iterator, location state, RotateFlipType rotate ) : void
iterator Iterator 玩家反覆器
state location 目前方位
rotate RotateFlipType 圖片方向
리턴 void

brandBox_MouseClick() 보호된 메소드

按下一張牌的事件
protected brandBox_MouseClick ( object sender, EventArgs e ) : void
sender object BrandBox
e EventArgs
리턴 void

brandBox_MouseLeave() 보호된 메소드

protected brandBox_MouseLeave ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

cheat_MouseClick() 보호된 메소드

作弊事件
protected cheat_MouseClick ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
리턴 void

cleanImage() 공개 메소드

清除所有顯示的圖片
public cleanImage ( ) : void
리턴 void

clearAll() 공개 메소드

清除所有控制項
public clearAll ( ) : void
리턴 void

clearAllPlayer() 보호된 메소드

protected clearAllPlayer ( ) : void
리턴 void

clearFlowLayoutBrands_Table() 보호된 메소드

protected clearFlowLayoutBrands_Table ( ) : void
리턴 void

clearNowPlayer() 보호된 메소드

protected clearNowPlayer ( ) : void
리턴 void

debug_Click() 보호된 메소드

protected debug_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

setInforamtion() 공개 메소드

public setInforamtion ( ) : void
리턴 void

setTitle() 보호된 메소드

protected setTitle ( ) : void
리턴 void

showBrand() 공개 메소드

public showBrand ( Brand brand ) : void
brand Brand
리턴 void

tempBrandbox_MouseMove() 보호된 메소드

protected tempBrandbox_MouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
리턴 void

updateAllPlayer() 공개 메소드

public updateAllPlayer ( ) : void
리턴 void

updateInforamation() 공개 메소드

更新Title和資訊盒
public updateInforamation ( ) : void
리턴 void

updateNowPlayer() 공개 메소드

更新現在玩家
public updateNowPlayer ( ) : void
리턴 void

updateSouth() 보호된 메소드

protected updateSouth ( ) : void
리턴 void

updateTable() 공개 메소드

更新桌面
public updateTable ( ) : void
리턴 void

프로퍼티 상세

all 보호되어 있는 프로퍼티

protected AllPlayers all
리턴 AllPlayers

padding 보호되어 있는 프로퍼티

圖片盒的內距
protected int padding
리턴 int