예제 #1
0
 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);
     }
 }
예제 #2
0
 private void btnTalents_Click(object sender, EventArgs e)
 {
     if (hunterTalents == null || hunterTalents.IsDisposed)
     {
         hunterTalents = new HunterTalentsForm(this);
     }
     hunterTalents.Show();
 }
예제 #3
0
 public CalculationOptionsPanelHunter()
 {
     InitializeComponent();
     hunterTalents = new HunterTalentsForm(this);
 }