private void deck2PictureBoxPaint(object sender, PaintEventArgs e) { GraphicContext.DrawShipSet(yourPlayer.ShipSet, e); GraphicContext.DrawDeckStatus(yourPlayer.RevealedCells, yourPlayer.ShipSet, e); if (yourPlayer.LastRevieledCells[0] != -1 && yourPlayer.LastRevieledCells[1] != -1) { GraphicContext.DrawOuterFrameCell(yourPlayer.LastRevieledCells[0], yourPlayer.LastRevieledCells[1], 7, e); } }
private void DeckPictureBoxPaint(object sender, PaintEventArgs e) { GraphicContext.DrawShipSet(player.ShipSet, e); }