예제 #1
0
        private void GameBegin()
        {
            if (board == null)
            {
                board = new Piece[8, 8];
            }
            b.SetBoard();

            if (piecesimg == null)
            {
                piecesimg = new Bitmap(width, hieght);
            }
            graphics = Graphics.FromImage(piecesimg);
            update();
        }