예제 #1
0
        public static ExitWindowsHandler HookExitWindows(ExitWindowsHandler handler)
        {
            Log.Debug("WindowsController: Setting ExitWindows to {0}.{1}", handler.Target, handler.Method);

            ExitWindowsHandler old = _exitWindows;

            _exitWindows = handler;
            return(old);
        }
예제 #2
0
        public static ExitWindowsHandler HookExitWindows(ExitWindowsHandler handler)
        {
            Log.Debug("WindowsController: Setting ExitWindows to {0}.{1}", handler.Target, handler.Method);

              ExitWindowsHandler old = _exitWindows;
              _exitWindows = handler;
              return old;
        }