private void RevealAllMines() { for (int hgt = 0; hgt < GameData.Height; hgt++) { for (int wth = 0; wth < GameData.Width; wth++) { if (GameData.GetIsMine(wth, hgt) && GameData.GetCellHidden(wth, hgt)) { Label btn = GameForm.Controls.Find(string.Format("mineButtonX{0}Y{1}", wth, hgt), true)[0] as Label; GameForm.Controls.Remove(btn); } } } }