Ejemplo n.º 1
0
        public WindowsHotkeyService()
        {
            _sponge           = new SpongeWindow();
            _hotkeyHandlerDic = new Dictionary <int, HotkeyHandler>();

            _sponge.WndProcFired += ProcessMessage;
        }
 static WinApiServiceBase()
 {
     Sponge       = new SpongeWindow();
     SpongeHandle = Sponge.Handle;
 }