static MenuControl()
{
// Create a strip of images by loading an embedded bitmap resource
_menuImages = ResourceUtil.LoadImageListResource(Type.GetType("SidebarLibrary.Menus.MenuControl"),
"SidebarLibrary.Resources.ImagesMenu",
"MenuControlImages",
new Size(_chevronLength, _chevronBreadth),
true,
new Point(0,0));
// We need to know if the OS supports layered windows
_supportsLayered = (OSFeature.Feature.GetVersionPresent(OSFeature.LayeredWindows) != null);
}