Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large.
2 using System.Collections.Generic;
4 using System.ComponentModel.Design;
8 public class StringCollectionEditor : CollectionEditor
10 public StringCollectionEditor(Type type): base(type)
14 protected override Type CreateCollectionItemType()
16 return typeof(string);
19 protected override object CreateInstance(Type itemType)