public ActorParametersForm(Actor actor, int index)
{
this.InitializeComponent();
this.numericValue.Maximum = Project.Settings.GetMaxValue(index);
this._actor = actor;
this.numericLevel.Minimum = this._actor.initial_level;
this.numericLevel.Maximum = this._actor.final_level;
TabText = String.Format("Parameters: {0}", this._actor.name);
this.GenerateCharts();
Windows.ChartSettingsForm.SetCharts(ref this._charts);
this.tabControlParameters.SelectedIndex = index;
}