예제 #1
0
 private void runeDial_RuneClick(object sender, RuneClickEventArgs e)
 {
     if (e.Rune == null)
     {
         runeBox.Hide();
     }
     else
     {
         runeBox.Show();
         runeBox.SetRune(e.Rune);
     }
 }
예제 #2
0
파일: Create.cs 프로젝트: cooye/RuneManager
        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();
            }
        }
예제 #3
0
 private void runeDial_RuneClick(object sender, RuneClickEventArgs e)
 {
     runeBox.SetRune(e.Rune);
     runeBox.Show();
 }