DekGenius.com
[ Team LiB ] Previous Section Next Section

IMenuEditorService

System.Windows.Forms.Design (system.design.dll)interface

This interface is implemented by the design-time menu editing service. It provides methods to get the current menu (GetMenu()) and determine whether the menu IsActive(). The current menu can be changed with the SetMenu() method, and the current menu item can be set with SetSelection().

public interface IMenuEditorService {
// Public Instance Methods
   public Menu GetMenu();
   public bool IsActive();
   public bool MessageFilter(ref System.Windows.Forms.Message m);
   public void SetMenu(System.Windows.Forms.Menu menu);
   public void SetSelection(System.Windows.Forms.MenuItem item);
}
    [ Team LiB ] Previous Section Next Section