Exemple #1
0
 /// <summary>
 /// Set reference to externally created ChessForm
 /// </summary>
 /// <param name="TehChessForm">Reference to chess form object</param>
 public void SetChessInterface(ChessForm TehChessForm)
 {
     _ChessInterface = TehChessForm;
 }
Exemple #2
0
 /// <summary>
 /// Creates a chessform
 /// </summary>
 /// <param name="TheChessGame">Pointer to the Chessgame</param>
 public void CreateChessForm(ChessGame TheChessGame)
 {
     ChessForm TheChessForm = new ChessForm(TheChessGame);
     TheChessForm.Show();
     TheChessGame.SetChessInterface(TheChessForm);
 }
Exemple #3
0
 /// <summary>
 /// Create a ChessForm
 /// </summary>
 public void CreateChessInterface()
 {
     _ChessInterface = new ChessForm(this);
     _ChessInterface.Show();
 }