private void bVengeance_Click(object sender, EventArgs e) { VengeanceHotkeysForm hotkeyForm = FormProvider.VengeanceHotkeysForm(hotkeyList); hotkeyForm.Show(); this.Hide(); }
public static VengeanceHotkeysForm VengeanceHotkeysForm(DemonHunterHotkeys keys) { if (vengeanceHotkeysForm != null && vengeanceHotkeysForm.IsDisposed) { vengeanceHotkeysForm = null; } return(vengeanceHotkeysForm ?? (vengeanceHotkeysForm = new VengeanceHotkeysForm(keys))); }