Click or drag to resize

BackgroundContextMenu Methods

The BackgroundContextMenu type exposes the following members.

Public methodStatic memberCheckFileName
Check if given filename already exists in given path. If true, tries adding a (1), (2), (3) or (4). If they exist too, it returns an empty string.
Protected methodDispose
Releases the unmanaged resources used by the ContextMenuStrip and optionally releases the managed resources.
(Overrides ContextMenuStripDispose(Boolean).)
Protected methodOnOpening
Raises the Opening event.
(Overrides ToolStripDropDownOnOpening(CancelEventArgs).)
Protected methodSetupMenuItems
Sets up the menu items.
Public methodStatic memberStartProcess
Run a command with the given arguments
Extension Methods
Public Extension MethodHandleNeeded
A Control extension method that ensures that the handle for a control is created.
(Defined by ExtensionMethods.)
Public Extension MethodScaledPixels
An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.
(Defined by ExtensionMethods.)
Public Extension MethodScaleFont
A Control extension method that scales font according to the passed factor.
(Defined by ExtensionMethods.)
See Also