private void refresh() { BoardPicture.Refresh(); for (int i = 0; i < edgeCount; i++) { for (int j = 0; j < edgeCount; j++) { board[i, j] = Horse.none; } } playbutton.Enabled = false; }
private void BoardPicture_SizeChanged(object sender, EventArgs e) { BoardPicture.Refresh(); }