public void PrepareHotkeys(HotkeyManager hotkeyManager) { if (manager == null) { manager = hotkeyManager; AddControls(); } }
public void PrepareHotkeys(HotkeyManager hotkeyManager) { if (manager == null) { manager = hotkeyManager; manager.HotkeysToggledTrigger += HandleHotkeysToggle; AddControls(); } }
public HotkeySettingsForm(HotkeyManager hotkeyManager) { InitializeComponent(); PrepareHotkeys(hotkeyManager); }
public HotkeySettingsForm(HotkeyManager hotkeyManager) { InitializeComponent(); Icon = ShareXResources.Icon; PrepareHotkeys(hotkeyManager); }