protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); m_Customiser = new ContextMenuCustomiser(this); RebuildContextMenu(); }
/// <summary> /// Creates a new context menu item with the given text. Inserted at the end. /// </summary> public ContextMenuItem(string text) { m_Text = text; m_Id = ContextMenuCustomiser.GetNextId(); }