private void RefreshStates() { for (int i = 1; i < Project.Data.States.Count; i++) this.checkedListStates.SetItemIndex(i - 1, this._enemy.state_ranks[i]); }