public CalculationOptionsPanelHunter() { InitializeComponent(); hunterTalents = new HunterTalentsForm(this); foreach (Enum e in Enum.GetValues(typeof(Aspect))) { comboActiveAspect.Items.Add(e); } foreach (Enum e in Enum.GetValues(typeof(ShotRotation))) { comboShotRotation.Items.Add(e); } foreach (Enum e in Enum.GetValues(typeof(PetFamily))) { comboPetFamily.Items.Add(e); } foreach (Enum e in Enum.GetValues(typeof(PetAttacks))) { comboPetPriority1.Items.Add(e); } foreach (Enum e in Enum.GetValues(typeof(PetAttacks))) { comboPetPriority2.Items.Add(e); } foreach (Enum e in Enum.GetValues(typeof(PetAttacks))) { comboPetPriority3.Items.Add(e); } }
private void btnTalents_Click(object sender, EventArgs e) { if (hunterTalents == null || hunterTalents.IsDisposed) { hunterTalents = new HunterTalentsForm(this); } hunterTalents.Show(); }
public CalculationOptionsPanelHunter() { InitializeComponent(); hunterTalents = new HunterTalentsForm(this); }