示例#1
0
 public bool EnumWindows(WindowEnumHandler callback)
 {
     for (int i = Windows.Count - 1; i >= 0; i--)
     {
         if (!callback(Windows[i]))
         {
             return(false);
         }
     }
     return(true);
 }
示例#2
0
文件: StickyNote.cs 项目: mind0n/hive
		public bool EnumWindows(WindowEnumHandler callback)
		{
			for (int i = Windows.Count - 1; i >= 0; i--)
			{
				if (!callback(Windows[i]))
				{
					return false;
				}
			}
			return true;
		}