Export (0) Print
Expand All

MainMenu Methods

The MainMenu type exposes the following members.

  NameDescription
Public method CloneMenu Overloaded. Creates a new MainMenu that is a duplicate of the current MainMenu.
Protected method CreateMenuHandle Creates a new handle to the Menu. (Overrides Menu.CreateMenuHandle().)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Disposes of the resources, other than memory, used by the MainMenu.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method FindMenuItem Gets the MenuItem that contains the value specified. (Inherited from Menu.)
Protected method FindMergePosition Returns the position at which a menu item should be inserted into the menu. (Inherited from Menu.)
Public method GetContextMenu Gets the ContextMenu that contains this menu. (Inherited from Menu.)
Public method GetForm Gets the Form that contains this control.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetMainMenu Gets the MainMenu that contains this menu. (Inherited from Menu.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method MergeMenu Merges the MenuItem objects of one menu with the current menu. (Inherited from Menu.)
Protected method OnCollapse Raises the Collapse event.
Protected method ProcessCmdKey Processes a command key. (Inherited from Menu.)
Public method Supported by the .NET Compact Framework ToString Infrastructure. Returns a string that represents the MainMenu. (Overrides Menu.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

Community Additions

ADD
Show:
© 2014 Microsoft