ARCed.Database.Weapons.WeaponMainForm.RefreshCurrentObject C# (CSharp) Method

RefreshCurrentObject() public method

Refreshes the form to display data for the currently selected RPG.Weapon.
public RefreshCurrentObject ( ) : void
return void
        public override void RefreshCurrentObject()
        {
            SuppressEvents = true;
            this.textBoxName.Text = this._weapon.name;
            this.textBoxDescription.Text = this._weapon.description;
            this.comboBoxUserAnimation.SelectedIndex = this._weapon.animation1_id;
            this.comboBoxTargetAnimation.SelectedIndex = this._weapon.animation2_id;
            this.RefreshIcon();
            this.RefreshParameters();
            this.RefreshElements();
            this.RefreshStates();
            SuppressEvents = false;
        }