public Form1() { gm = Graphics.FromImage(mp); bs = TileFactory.fancy(); bd = TileFactory.CreateBoard(22, bs); corners = PaintBoard.Tilate(bd, 700, 600, tileTilt.vertical); squareSize = PaintBoard.TileSize(bd, 700, 600, tileTilt.vertical); gm.CompositingMode = System.Drawing.Drawing2D.CompositingMode.SourceCopy; gm.FillRectangle(bush, 0, 0, 700, 600); InitializeComponent(); bearImg = Image.FromFile(@"..\..\..\bear.bmp", false); }