示例#1
0
 public MENUITEMINFO(string text)
 {
     cbSize        = CbMenuItemInfo;
     dwTypeData    = text;
     cch           = text.Length;
     fMask         = 0;
     fType         = 0;
     fState        = 0;
     wID           = 0;
     hSubMenu      = IntPtr.Zero;
     hbmpChecked   = IntPtr.Zero;
     hbmpUnchecked = IntPtr.Zero;
     dwItemData    = IntPtr.Zero;
     hbmpItem      = IntPtr.Zero;
 }
示例#2
0
 public MENUITEMINFO(string text)
 {
     cbSize = cbMenuItemInfo;
     dwTypeData = text;
     cch = text.Length;
     fMask = 0;
     fType = 0;
     fState = 0;
     wID = 0;
     hSubMenu = IntPtr.Zero;
     hbmpChecked = IntPtr.Zero;
     hbmpUnchecked = IntPtr.Zero;
     dwItemData = IntPtr.Zero;
     hbmpItem = IntPtr.Zero;
 }