C# 클래스 TicTacToe.Form1

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

공개 프로퍼티들

프로퍼티 타입 설명
arrList List
comPlay bool
listButton ].Button[
listNum List
win bool

공개 메소드들

메소드 설명
CheckHorizontal ( int fixRow ) : void
CheckTransverse ( int i, int j ) : void
CheckVertical ( int fixCol ) : void
CheckWin ( ) : bool
CheckWin2 ( char tiles ) : char
Check_Transverse ( ) : void
Check_Winner ( ) : void
CheckkWin ( ) : bool
Click_botton ( int x, int y, System button ) : void
Complay ( ) : void
ComputerPlay ( ) : void
FillOnEmptyTile ( int numX, int numO, int posX, int posY ) : void
Form1 ( ) : System
InputOX ( Button button ) : void
KeepButtonToList ( ) : void
PlayerPlay ( Button button ) : void
RandomInput ( ) : void
SetEmptyTiles ( ) : void
SetValueToZero ( ) : void
TwoPlayerPlay ( Button button ) : void
evaluate_checkwin ( ) : bool
setEmptyTiles ( ) : void
setFont ( ) : void

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

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

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

button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button6_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
button8_Click ( object sender, EventArgs e ) : void
button9_Click ( object sender, EventArgs e ) : void
clearToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
toolStripButton1_Click ( object sender, EventArgs e ) : void
vSComputerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
vSPlayerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
vsComputerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
vsPlayerToolStripMenuItem_Click ( object sender, EventArgs e ) : void

메소드 상세

CheckHorizontal() 공개 메소드

public CheckHorizontal ( int fixRow ) : void
fixRow int
리턴 void

CheckTransverse() 공개 메소드

public CheckTransverse ( int i, int j ) : void
i int
j int
리턴 void

CheckVertical() 공개 메소드

public CheckVertical ( int fixCol ) : void
fixCol int
리턴 void

CheckWin() 공개 메소드

public CheckWin ( ) : bool
리턴 bool

CheckWin2() 공개 메소드

public CheckWin2 ( char tiles ) : char
tiles char
리턴 char

Check_Transverse() 공개 메소드

public Check_Transverse ( ) : void
리턴 void

Check_Winner() 공개 메소드

public Check_Winner ( ) : void
리턴 void

CheckkWin() 공개 메소드

public CheckkWin ( ) : bool
리턴 bool

Click_botton() 공개 메소드

public Click_botton ( int x, int y, System button ) : void
x int
y int
button System
리턴 void

Complay() 공개 메소드

public Complay ( ) : void
리턴 void

ComputerPlay() 공개 메소드

public ComputerPlay ( ) : void
리턴 void

Dispose() 보호된 메소드

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

FillOnEmptyTile() 공개 메소드

public FillOnEmptyTile ( int numX, int numO, int posX, int posY ) : void
numX int
numO int
posX int
posY int
리턴 void

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System

InputOX() 공개 메소드

public InputOX ( Button button ) : void
button Button
리턴 void

KeepButtonToList() 공개 메소드

public KeepButtonToList ( ) : void
리턴 void

PlayerPlay() 공개 메소드

public PlayerPlay ( Button button ) : void
button Button
리턴 void

RandomInput() 공개 메소드

public RandomInput ( ) : void
리턴 void

SetEmptyTiles() 공개 메소드

public SetEmptyTiles ( ) : void
리턴 void

SetValueToZero() 공개 메소드

public SetValueToZero ( ) : void
리턴 void

TwoPlayerPlay() 공개 메소드

public TwoPlayerPlay ( Button button ) : void
button Button
리턴 void

evaluate_checkwin() 공개 메소드

public evaluate_checkwin ( ) : bool
리턴 bool

setEmptyTiles() 공개 메소드

public setEmptyTiles ( ) : void
리턴 void

setFont() 공개 메소드

public setFont ( ) : void
리턴 void

프로퍼티 상세

arrList 공개적으로 프로퍼티

public List
리턴 List

comPlay 공개적으로 프로퍼티

public bool comPlay
리턴 bool

listButton 공개적으로 프로퍼티

public Button[,] listButton
리턴 ].Button[

listNum 공개적으로 프로퍼티

public List listNum
리턴 List

win 공개적으로 프로퍼티

public bool win
리턴 bool