public OverlayerLauncher() { InitializeComponent(); _overlayerLauncher = this; var OverlayerContainer = new OverlayerContainer(); OverlayerContainer.Show(); SetWindowUnfocusable(Handle); _overlayerContainer.dockIt(Handle); // Modifier keys codes: Alt = 1, Ctrl = 2, Shift = 4, Win = 8 // Compute the addition of each combination of the keys you want to be pressed // ALT+CTRL = 1 + 2 = 3 , CTRL+SHIFT = 2 + 4 = 6... // Keys.Oem3 = ` RegisterHotKey(this.Handle, MYACTION_HOTKEY_ID, 2, (int)Keys.Oem3); }
public OverlayerContainer() { InitializeComponent(); _overlayerContainer = this; }