private void ChangeSelect() { if (RemoveAnimInfo != null) { int index = RemoveAnimInfo.IndexID - 1; if (Player.Anims.Count > index) { Player.Anims.RemoveAt(index); RemoveAnimInfo.Dispose(); } RemoveAnimInfo = null; } }