//private Panel m_rootElement; /// <summary> /// Create a new instance of the CoolMenu control. /// </summary> public CoolMenu() { m_generator = new CoolMenuItemContainerGenerator(); this.DefaultStyleKey = typeof(CoolMenu); this.MouseLeave += new MouseEventHandler(CoolMenu_MouseLeave); }