示例#1
0
        public WindowGetterWorker()
        {
            this.windowLock       = new System.Object();
            tempWindowsFoundSoFar = new Dictionary <string, IntPtr>(100);

            thingsToAdd    = new List <IntPtr>(100);
            thingsToRemove = new List <IntPtr>(100);

            myThingsToAdd    = new List <IntPtr>(100);
            myThingsToRemove = new List <IntPtr>(100);

            shouldKeep = new Dictionary <string, bool>(100);

            taskbarHandle = Win32Funcs.FindWindow("Shell_TrayWnd", null);

            mapToString = new Dictionary <int, string>();

            lastTimeRan = Time.time;
        }