예제 #1
0
        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
        }
예제 #2
0
 public void HighLightImpossibleMove()
 {
     this.BackImage = Read_Image_From_Resources.GetChessBoardBitMap(this._side, this._boardStyle, "Last");
 }
예제 #3
0
 public void UnHighlightMove()
 {
     this.BackImage = Read_Image_From_Resources.GetChessBoardBitMap(this._side, this._boardStyle);
 }