public void RemoveHintArrows() { if (m_ArrowRed1 != null) { m_ArrowRed1.Close(); m_ArrowRed1 = null; } if (m_ToTop1 != null) { m_ToTop1.Close(); m_ToTop1 = null; } if (m_ToLeft1 != null) { m_ToLeft1.Close(); m_ToLeft1 = null; } if (m_ToRight1 != null) { m_ToRight1.Close(); m_ToRight1 = null; } if (m_ToDown1 != null) { m_ToDown1.Close(); m_ToDown1 = null; } if (m_ArrowBlack1 != null) { m_ArrowBlack1.Close(); m_ArrowBlack1 = null; } if (m_ToTop2 != null) { m_ToTop2.Close(); m_ToTop2 = null; } if (m_ToLeft2 != null) { m_ToLeft2.Close(); m_ToLeft2 = null; } if (m_ToRight2 != null) { m_ToRight2.Close(); m_ToRight2 = null; } if (m_ToDown2 != null) { m_ToDown2.Close(); m_ToDown2 = null; } int nCntZero = 0; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { if (MovementDecision.g_AllocCharacters[i, j] == 0) { nCntZero++; } } } if (nCntZero >= 8 * 8 / 2) { picRet1.Image = null; picRet2.Image = null; lbStep1.Text = "Paso 1"; lbStep2.Text = "Paso 2"; } }