예제 #1
0
        private void LevelScalingClick(object sender, EventArgs e)
        {
            var scalingForm = new FormSpellScaling();
            var ret         = scalingForm.ShowDialog(this);

            if (ret == DialogResult.OK)
            {
                DBC.DBC.SelectedLevel = scalingForm.SelectedLevel;
                switch (tabControl1.SelectedIndex)
                {
                case 0:
                    LvSpellListSelectedIndexChanged(null, null);
                    break;

                case 1:
                    LvProcSpellListSelectedIndexChanged(null, null);
                    break;

                case 2:
                    CompareFilterSpellTextChanged(null, null);
                    break;

                case 3:
                    break;
                }
            }
        }
예제 #2
0
 private void LevelScalingClick(object sender, EventArgs e)
 {
     var scalingForm = new FormSpellScaling();
     var ret = scalingForm.ShowDialog(this);
     if (ret == DialogResult.OK)
     {
         DBC.DBC.SelectedLevel = scalingForm.SelectedLevel;
         switch (tabControl1.SelectedIndex)
         {
             case 0:
                 LvSpellListSelectedIndexChanged(null, null);
                 break;
             case 1:
                 LvProcSpellListSelectedIndexChanged(null, null);
                 break;
             case 2:
                 CompareFilterSpellTextChanged(null, null);
                 break;
             case 3:
                 break;
         }
     }
 }