-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.ComponentModel.IComponent.Ref is access;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.EventHandler.Ref is access;
with type MSSyst.Windows.Forms.DrawItemEventHandler.Ref is access;
with type MSSyst.Windows.Forms.MeasureItemEventHandler.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.ComponentModel.IContainer.Ref is access;
with type MSSyst.Windows.Forms.Menu.MenuItemCollection.Ref is access;
with MSSyst.Windows.Forms.MenuMerge;
with type MSSyst.Windows.Forms.Menu.Ref is access;
with MSSyst.Windows.Forms.Shortcut;
with type MSSyst.ComponentModel.ISite.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Windows.Forms.ContextMenu.Ref is access;
with type MSSyst.Windows.Forms.MainMenu.Ref is access;
with type MSSyst.Windows.Forms.MenuItem.Ref_array is access;
with MSSyst.Windows.Forms.Menu;
package MSSyst.Windows.Forms.MenuItem is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IComponent : MSSyst.ComponentModel.IComponent.Ref;
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.Windows.Forms.Menu.Typ(
         I_IComponent => I_IComponent,
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_MenuItem(
      This : Ref := null) return Ref;
   function new_MenuItem(
      This : Ref := null;
      text : MSSyst.String.Ref) return Ref;
   function new_MenuItem(
      This : Ref := null;
      text : MSSyst.String.Ref;
      onClick : MSSyst.EventHandler.Ref) return Ref;
   function new_MenuItem(
      This : Ref := null;
      text : MSSyst.String.Ref;
      onClick : MSSyst.EventHandler.Ref;
      shortcut : MSSyst.Windows.Forms.Shortcut.Valuetype) return Ref;
   function new_MenuItem(
      This : Ref := null;
      text : MSSyst.String.Ref;
      items : MSSyst.Windows.Forms.MenuItem.Ref_array) return Ref;
   function new_MenuItem(
      This : Ref := null;
      mergeType : MSSyst.Windows.Forms.MenuMerge.Valuetype;
      mergeOrder : Integer;
      shortcut : MSSyst.Windows.Forms.Shortcut.Valuetype;
      text : MSSyst.String.Ref;
      onClick : MSSyst.EventHandler.Ref;
      onPopup : MSSyst.EventHandler.Ref;
      onSelect : MSSyst.EventHandler.Ref;
      items : MSSyst.Windows.Forms.MenuItem.Ref_array) return Ref;
   procedure add_Click(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   procedure add_DrawItem(
      This : access Typ;
      value : MSSyst.Windows.Forms.DrawItemEventHandler.Ref);
   procedure add_MeasureItem(
      This : access Typ;
      value : MSSyst.Windows.Forms.MeasureItemEventHandler.Ref);
   procedure add_Popup(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   procedure add_Select(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   function CloneMenu(
      This : access Typ) return MSSyst.Windows.Forms.MenuItem.Ref;
   function get_BarBreak(
      This : access Typ) return Standard.Boolean;
   function get_Break(
      This : access Typ) return Standard.Boolean;
   function get_Checked(
      This : access Typ) return Standard.Boolean;
   function get_DefaultItem(
      This : access Typ) return Standard.Boolean;
   function get_Enabled(
      This : access Typ) return Standard.Boolean;
   function get_Index(
      This : access Typ) return Integer;
   function get_IsParent(
      This : access Typ) return Standard.Boolean;
   function get_MdiList(
      This : access Typ) return Standard.Boolean;
   function get_MergeOrder(
      This : access Typ) return Integer;
   function get_MergeType(
      This : access Typ) return MSSyst.Windows.Forms.MenuMerge.Valuetype;
   function get_Mnemonic(
      This : access Typ) return Wide_Character;
   function get_OwnerDraw(
      This : access Typ) return Standard.Boolean;
   function get_Parent(
      This : access Typ) return MSSyst.Windows.Forms.Menu.Ref;
   function get_RadioCheck(
      This : access Typ) return Standard.Boolean;
   function get_Shortcut(
      This : access Typ) return MSSyst.Windows.Forms.Shortcut.Valuetype;
   function get_ShowShortcut(
      This : access Typ) return Standard.Boolean;
   function get_Text(
      This : access Typ) return MSSyst.String.Ref;
   function get_Visible(
      This : access Typ) return Standard.Boolean;
   function MergeMenu(
      This : access Typ) return MSSyst.Windows.Forms.MenuItem.Ref;
   procedure MergeMenu(
      This : access Typ;
      itemSrc : MSSyst.Windows.Forms.MenuItem.Ref);
   procedure PerformClick(
      This : access Typ);
   procedure PerformSelect(
      This : access Typ);
   procedure remove_Click(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   procedure remove_DrawItem(
      This : access Typ;
      value : MSSyst.Windows.Forms.DrawItemEventHandler.Ref);
   procedure remove_MeasureItem(
      This : access Typ;
      value : MSSyst.Windows.Forms.MeasureItemEventHandler.Ref);
   procedure remove_Popup(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   procedure remove_Select(
      This : access Typ;
      value : MSSyst.EventHandler.Ref);
   procedure set_BarBreak(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Break(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Checked(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_DefaultItem(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Enabled(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Index(
      This : access Typ;
      value : Integer);
   procedure set_MdiList(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_MergeOrder(
      This : access Typ;
      value : Integer);
   procedure set_MergeType(
      This : access Typ;
      value : MSSyst.Windows.Forms.MenuMerge.Valuetype);
   procedure set_OwnerDraw(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_RadioCheck(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Shortcut(
      This : access Typ;
      value : MSSyst.Windows.Forms.Shortcut.Valuetype);
   procedure set_ShowShortcut(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Text(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Visible(
      This : access Typ;
      value : Standard.Boolean);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_MenuItem);
   pragma Import(MSIL,add_Click,"add_Click");
   pragma Import(MSIL,add_DrawItem,"add_DrawItem");
   pragma Import(MSIL,add_MeasureItem,"add_MeasureItem");
   pragma Import(MSIL,add_Popup,"add_Popup");
   pragma Import(MSIL,add_Select,"add_Select");
   pragma Import(MSIL,CloneMenu,"CloneMenu");
   pragma Import(MSIL,get_BarBreak,"get_BarBreak");
   pragma Import(MSIL,get_Break,"get_Break");
   pragma Import(MSIL,get_Checked,"get_Checked");
   pragma Import(MSIL,get_DefaultItem,"get_DefaultItem");
   pragma Import(MSIL,get_Enabled,"get_Enabled");
   pragma Import(MSIL,get_Index,"get_Index");
   pragma Import(MSIL,get_IsParent,"get_IsParent");
   pragma Import(MSIL,get_MdiList,"get_MdiList");
   pragma Import(MSIL,get_MergeOrder,"get_MergeOrder");
   pragma Import(MSIL,get_MergeType,"get_MergeType");
   pragma Import(MSIL,get_Mnemonic,"get_Mnemonic");
   pragma Import(MSIL,get_OwnerDraw,"get_OwnerDraw");
   pragma Import(MSIL,get_Parent,"get_Parent");
   pragma Import(MSIL,get_RadioCheck,"get_RadioCheck");
   pragma Import(MSIL,get_Shortcut,"get_Shortcut");
   pragma Import(MSIL,get_ShowShortcut,"get_ShowShortcut");
   pragma Import(MSIL,get_Text,"get_Text");
   pragma Import(MSIL,get_Visible,"get_Visible");
   pragma Import(MSIL,MergeMenu,"MergeMenu");
   pragma Import(MSIL,PerformClick,"PerformClick");
   pragma Import(MSIL,PerformSelect,"PerformSelect");
   pragma Import(MSIL,remove_Click,"remove_Click");
   pragma Import(MSIL,remove_DrawItem,"remove_DrawItem");
   pragma Import(MSIL,remove_MeasureItem,"remove_MeasureItem");
   pragma Import(MSIL,remove_Popup,"remove_Popup");
   pragma Import(MSIL,remove_Select,"remove_Select");
   pragma Import(MSIL,set_BarBreak,"set_BarBreak");
   pragma Import(MSIL,set_Break,"set_Break");
   pragma Import(MSIL,set_Checked,"set_Checked");
   pragma Import(MSIL,set_DefaultItem,"set_DefaultItem");
   pragma Import(MSIL,set_Enabled,"set_Enabled");
   pragma Import(MSIL,set_Index,"set_Index");
   pragma Import(MSIL,set_MdiList,"set_MdiList");
   pragma Import(MSIL,set_MergeOrder,"set_MergeOrder");
   pragma Import(MSIL,set_MergeType,"set_MergeType");
   pragma Import(MSIL,set_OwnerDraw,"set_OwnerDraw");
   pragma Import(MSIL,set_RadioCheck,"set_RadioCheck");
   pragma Import(MSIL,set_Shortcut,"set_Shortcut");
   pragma Import(MSIL,set_ShowShortcut,"set_ShowShortcut");
   pragma Import(MSIL,set_Text,"set_Text");
   pragma Import(MSIL,set_Visible,"set_Visible");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Windows.Forms.MenuItem;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.MenuItem,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.MenuItem");
