private void button2_Click(object sender, EventArgs e) { if (listBox1.SelectedIndex != -1) { STATChartForm statEditor = new STATChartForm(); statEditor.Start(selectedAbility.abilityModifier); } }
private void button2_Click(object sender, EventArgs e) { if (listBox1.SelectedIndex != -1) { BaseItem bi = (BaseItem)listBox1.SelectedItem; STATChartForm scf = new STATChartForm(); scf.Start(bi.statModifier); } }
private void button5_Click(object sender, EventArgs e) { if (listBox1.SelectedIndex != -1) { Form1.MakeSureFormClosed(form); form = new STATChartForm(); if (((EnemyAIInfo)listBox1.SelectedItem).enemyStats.currentActiveStats.Count == 0) { ((EnemyAIInfo)listBox1.SelectedItem).enemyStats.DefaultStatChart(); } form.Start(((EnemyAIInfo)listBox1.SelectedItem).enemyStats); } }