C# Class TicTacToe.Form1

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: Aomwi/Deploy Class Usage Examples

Méthodes publiques

Свойство Type Description
arrList List
comPlay bool
listButton ].Button[
listNum List
win bool

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

CheckHorizontal() public méthode

public CheckHorizontal ( int fixRow ) : void
fixRow int
Résultat void

CheckTransverse() public méthode

public CheckTransverse ( int i, int j ) : void
i int
j int
Résultat void

CheckVertical() public méthode

public CheckVertical ( int fixCol ) : void
fixCol int
Résultat void

CheckWin() public méthode

public CheckWin ( ) : bool
Résultat bool

CheckWin2() public méthode

public CheckWin2 ( char tiles ) : char
tiles char
Résultat char

Check_Transverse() public méthode

public Check_Transverse ( ) : void
Résultat void

Check_Winner() public méthode

public Check_Winner ( ) : void
Résultat void

CheckkWin() public méthode

public CheckkWin ( ) : bool
Résultat bool

Click_botton() public méthode

public Click_botton ( int x, int y, System button ) : void
x int
y int
button System
Résultat void

Complay() public méthode

public Complay ( ) : void
Résultat void

ComputerPlay() public méthode

public ComputerPlay ( ) : void
Résultat void

Dispose() protected méthode

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

FillOnEmptyTile() public méthode

public FillOnEmptyTile ( int numX, int numO, int posX, int posY ) : void
numX int
numO int
posX int
posY int
Résultat void

Form1() public méthode

public Form1 ( ) : System
Résultat System

InputOX() public méthode

public InputOX ( Button button ) : void
button Button
Résultat void

KeepButtonToList() public méthode

public KeepButtonToList ( ) : void
Résultat void

PlayerPlay() public méthode

public PlayerPlay ( Button button ) : void
button Button
Résultat void

RandomInput() public méthode

public RandomInput ( ) : void
Résultat void

SetEmptyTiles() public méthode

public SetEmptyTiles ( ) : void
Résultat void

SetValueToZero() public méthode

public SetValueToZero ( ) : void
Résultat void

TwoPlayerPlay() public méthode

public TwoPlayerPlay ( Button button ) : void
button Button
Résultat void

evaluate_checkwin() public méthode

public evaluate_checkwin ( ) : bool
Résultat bool

setEmptyTiles() public méthode

public setEmptyTiles ( ) : void
Résultat void

setFont() public méthode

public setFont ( ) : void
Résultat void

Property Details

arrList public_oe property

public List
Résultat List

comPlay public_oe property

public bool comPlay
Résultat bool

listButton public_oe property

public Button[,] listButton
Résultat ].Button[

listNum public_oe property

public List listNum
Résultat List

win public_oe property

public bool win
Résultat bool