ARCed.Database.Armors.ArmorMainForm.RefreshCurrentObject C# (CSharp) Method

RefreshCurrentObject() public method

Refreshes the form to display data for the currently selected RPG.Armor.
public RefreshCurrentObject ( ) : void
return void
        public override void RefreshCurrentObject()
        {
            SuppressEvents = true;
            this.textBoxName.Text = this._armor.name;
            this.textBoxDescription.Text = this._armor.description;
            this.comboBoxKind.SelectedIndex = this._armor.kind;
            this.comboBoxAutoState.SelectedIndex = this._armor.auto_state_id;
            this.RefreshIcon();
            this.RefreshParameters();
            this.RefreshElements();
            this.RefreshStates();
            SuppressEvents = false;
        }