private void ListBoxClassesSelectedIndexChanged(object sender, EventArgs e) { int index = this.dataObjectList.SelectedIndex; if (index >= 0) { this._class = this.Data[index + 1]; this.RefreshCurrentObject(); } }
private void SetLearning(Class.Learning learning) { this.comboBoxSkill.SelectedIndex = learning.skill_id - 1; this.numericLevel.Value = learning.level; }