private void bVengeance_Click(object sender, EventArgs e)
        {
            VengeanceHotkeysForm hotkeyForm = FormProvider.VengeanceHotkeysForm(hotkeyList);

            hotkeyForm.Show();
            this.Hide();
        }
Пример #2
0
        public static VengeanceHotkeysForm VengeanceHotkeysForm(DemonHunterHotkeys keys)
        {
            if (vengeanceHotkeysForm != null && vengeanceHotkeysForm.IsDisposed)
            {
                vengeanceHotkeysForm = null;
            }

            return(vengeanceHotkeysForm ?? (vengeanceHotkeysForm = new VengeanceHotkeysForm(keys)));
        }