Esempio n. 1
0
 private int xe6b590f4a33ffa7d(IntPtr x4b1e528311f74227, int x77673e48b8a47af3, int xe8d21c371f0934ef, int x25f7ac57a1bdea71, QueryContextMenuFlags x65e70cabb0b3496f)
 {
     try
     {
         xcbf78b15dd820156 = new ShellMenu(x4b1e528311f74227, xe8d21c371f0934ef, x77673e48b8a47af3);
         GetMenuitemsEventArgs e = new GetMenuitemsEventArgs(xcbf78b15dd820156, x65e70cabb0b3496f, x77673e48b8a47af3, (x25f7ac57a1bdea71 - xe8d21c371f0934ef) + 1);
         OnGetMenuItems(e);
         if ((xcbf78b15dd820156.x1dbcf1591cc2cceb.x6f7e5ea46c16afdf + e.xa60d4d9c2d90066f) > x25f7ac57a1bdea71)
         {
             throw new InvalidOperationException("Number of menu items is greater than allowed by host(Windows Explorer)");
         }
         return((xcbf78b15dd820156.x1dbcf1591cc2cceb.x6f7e5ea46c16afdf - xcbf78b15dd820156.x1dbcf1591cc2cceb.xf79f6f55056dea4c) + e.xa60d4d9c2d90066f);
     }
     catch
     {
         return(x443cc432acaadb1d.x15f59d42384ec1d4);
     }
 }
Esempio n. 2
0
 protected virtual void OnGetMenuItems(GetMenuitemsEventArgs e)
 {
 }