private void MaskCreate() { int x = 0; int y = 0; for (int i = 0; i < 25; ++i) { if (i % 5 == 0 && i != 0) { x = 0; y += 50; } mask[i] = new Mask_Node(x, y); mask[i].Number = i; box[i] = new Box(i, x, y, MF); x += 50; } }