public FormChess() { InitializeComponent(); ChessBoard = new Class.ChessBoardManager(PictureChess, RichTextBoxTurn, RichTextBoxMove, RichTextBoxDie); ChessBoard.DrawChessBoard(); ChessBoard.CreateMapChessPosition(); ChessBoard.playerturn(); richTextBox1.Text = "30:00"; richTextBox2.Text = "30:00"; RichTextBoxDie.Text = "Player 1 Death Piece \n"; RichTextBoxDie.Text += "Pawn : 0, Rook : 0, Knight : 0, Bishop : 0 ,Queen : 0 \n"; RichTextBoxDie.Text += "Player 2 Death Piece \n"; RichTextBoxDie.Text += "Pawn : 0, Rook : 0, Knight : 0, Bishop : 0 ,Queen : 0 \n"; }
public FormChess() { InitializeComponent(); ChessBoard = new Class.ChessBoardManager(PanelChessBoard); ChessBoard.DrawChessBoard(); }