Example #1
0
        private void linkStopLowMa_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            using (var ff = new FormEnterInt("Мана", (int)((LinkLabel)sender).Tag, 0, 100))
            {
                if (ff.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                SetStopLowMa(ff.Val);
            }
        }
Example #2
0
        private void linkRestoreHp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            using (var ff = new FormEnterInt("Здоровье", (int)((LinkLabel)sender).Tag, 0, 100))
            {
                if (ff.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                SetRestoreHp(ff.Val);
            }
        }
Example #3
0
        private void linkMagHits_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            using (var ff = new FormEnterInt("Удар", (int)((LinkLabel)sender).Tag, 5, 1000))
            {
                if (ff.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                SetMagHits(ff.Val);
            }
        }
Example #4
0
        private void linkNewGroupLevel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            using (var ff = new FormEnterInt("Уровень", (int)((LinkLabel)sender).Tag, 0, 33))
            {
                if (ff.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                SetNewGroupLevel(ff.Val);
            }
        }