private void RefreshParameters()
{
foreach (Control ctrl in this.flowPanel.Controls)
{
if (ctrl is ParamBox)
{
var param = ctrl as ParamBox;
var property = typeof(Armor).GetProperty(param.RpgAttribute);
if (property != null)
param.Value = (int)property.GetValue(this._armor, null);
}
}
}