添加格子边框

This commit is contained in:
milimoe 2023-11-21 21:04:09 +08:00
parent 2fda337efb
commit cca7f4b068
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -49,7 +49,8 @@
{ {
Name = key, Name = key,
Size = new Size(gridSize, gridSize), Size = new Size(gridSize, gridSize),
Location = p Location = p,
BorderStyle = BorderStyle.Fixed3D,
}; };
if ((x + y) % 2 == 0) if ((x + y) % 2 == 0)
cell.BackColor = Color.White; cell.BackColor = Color.White;