示例#1
0
 private int xedfc3e36e083cd18(ref x4c5aeec2d27988ea x56d3397f0a52724d)
 {
     try
     {
         ShellMenuItem menuItem = null;
         if (x443cc432acaadb1d.xefc704ff04352756(x56d3397f0a52724d.xe5cf2142b5b1d595) != 0)
         {
             string caption = Marshal.PtrToStringAnsi(x56d3397f0a52724d.xe5cf2142b5b1d595);
             menuItem = new ShellMenuItem(null, caption, caption, caption, -1);
         }
         else
         {
             int num = x56d3397f0a52724d.xe5cf2142b5b1d595.ToInt32();
             menuItem = xcbf78b15dd820156.x1dbcf1591cc2cceb.x24fe407f6d871e28(num);
         }
         if (menuItem != null)
         {
             x0bdae4f1006d9d27.x9d748d087524e2b4(this, 3);
             ExecuteItemEventArgs e = new ExecuteItemEventArgs(menuItem, (ExecuteMenuItemFlags)x56d3397f0a52724d.x8240369a843c7611, x56d3397f0a52724d.x7cc24662a4086c94);
             if (!OnExecuteMenuItem(e))
             {
                 return(x443cc432acaadb1d.x15f59d42384ec1d4);
             }
         }
         else
         {
             return(x443cc432acaadb1d.x15f59d42384ec1d4);
         }
     }
     catch
     {
         return(1);
     }
     return(0);
 }
示例#2
0
 protected virtual bool OnExecuteMenuItem(ExecuteItemEventArgs e)
 {
     return(false);
 }