private void SetupToolbox()
        {
            var namesAndPaths = new UIToolNamesAndPaths();
            int i             = 0;

            foreach (string tool in namesAndPaths.GetNames())
            {
                if (controls.Contains(tool))
                {
                    Tools.Add(new ToolboxEntry(tool, namesAndPaths.GetImagePath(tool), toolTips[i++]));
                }
            }
        }
		private void SetupToolbox()
		{
			var namesAndPaths = new UIToolNamesAndPaths();
			int i = 0;
			foreach (string tool in namesAndPaths.GetNames())
				if (controls.Contains(tool))
					Tools.Add(new ToolboxEntry(tool, namesAndPaths.GetImagePath(tool), toolTips[i++]));
		}
 private void SetupToolbox()
 {
     var namesAndPaths = new UIToolNamesAndPaths();
     foreach (string tool in namesAndPaths.GetNames())
         if (controls.Any(c => c == tool))
             Tools.Add(new ToolboxEntry(tool, namesAndPaths.GetImagePath(tool)));
 }