public void F() { if (B1 != "") { int x, y; x = Convert.ToInt32(B1.Split(' ')[0]); y = Convert.ToInt32(B1.Split(' ')[1]); Picture[x, y].Image = null; } if (B2 != "") { int x, y; x = Convert.ToInt32(B2.Split(' ')[0]); y = Convert.ToInt32(B2.Split(' ')[1]); Picture[x, y].Image = null; } }