public Uc_ChessCell(Point Position, eChessSide Side, eChessBoardStyle BoardStyle) { InitializeComponent(); this._position.X = Position.X; this._position.Y = Position.Y; this._side = Side; this._boardStyle = BoardStyle; this._backImage = Read_Image_From_Resources.GetChessBoardBitMap(this._side, this._boardStyle); this.BackImage = _backImage; //Update backimage }
public void HighLightImpossibleMove() { this.BackImage = Read_Image_From_Resources.GetChessBoardBitMap(this._side, this._boardStyle, "Last"); }
public void UnHighlightMove() { this.BackImage = Read_Image_From_Resources.GetChessBoardBitMap(this._side, this._boardStyle); }