public void PrepareHotkeys(HotkeyManager hotkeyManager)
 {
     if (manager == null)
     {
         manager = hotkeyManager;
         AddControls();
     }
 }
Example #2
0
        public void PrepareHotkeys(HotkeyManager hotkeyManager)
        {
            if (manager == null)
            {
                manager = hotkeyManager;
                manager.HotkeysToggledTrigger += HandleHotkeysToggle;

                AddControls();
            }
        }
Example #3
0
 public HotkeySettingsForm(HotkeyManager hotkeyManager)
 {
     InitializeComponent();
     PrepareHotkeys(hotkeyManager);
 }
Example #4
0
 public HotkeySettingsForm(HotkeyManager hotkeyManager)
 {
     InitializeComponent();
     Icon = ShareXResources.Icon;
     PrepareHotkeys(hotkeyManager);
 }
Example #5
0
 public HotkeySettingsForm(HotkeyManager hotkeyManager)
 {
     InitializeComponent();
     Icon = ShareXResources.Icon;
     PrepareHotkeys(hotkeyManager);
 }