public ProcessLogic()
        {
            CachedProcesses = new SyncProcessCache();

            _winEventProc = new Native.WinEventDelegate(WinEventProc);

            GC.KeepAlive(_winEventProc);

            taskbarList = new TaskbarList.TaskbarList();
            taskbarList.HrInit();
        }
Пример #2
0
 private WindowManager()
 {
     CachedProcesses = new SyncProcessCache();
     taskbarList     = new TaskbarList.TaskbarList();
     taskbarList.HrInit();
 }