コード例 #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
ファイル: FormMain.cs プロジェクト: pauron/spellwork_cs
 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;
         }
     }
 }