private void runeDial_RuneClick(object sender, RuneClickEventArgs e) { if (e.Rune == null) { runeBox.Hide(); } else { runeBox.Show(); runeBox.SetRune(e.Rune); } }
private void runeDial_RuneClick(object sender, RuneClickEventArgs e) { Build.RunesUseEquipped = Program.Settings.UseEquipped; Build.RunesUseLocked = false; Build.RunesDropHalfSetStat = Program.GoFast; Build.RunesOnlyFillEmpty = Program.FillRunes; // good idea, generate right now whenever the user clicks a... whatever Build.GenRunes(Program.Data); using (RuneSelect rs = new RuneSelect()) { rs.ReturnedRune = Build.Mon.Current.Runes[e.Slot - 1]; rs.Build = Build; rs.Slot = (SlotIndex)e.Slot; rs.Runes = Build.Runes[e.Slot - 1]; rs.ShowDialog(); } }
private void runeDial_RuneClick(object sender, RuneClickEventArgs e) { runeBox.SetRune(e.Rune); runeBox.Show(); }