static void OnItemExecuted(
object sender,
Autodesk.Internal.Windows
.RibbonItemExecutedEventArgs e)
{
string s = ( null == sender )
? "<nul>"
: sender.ToString();
Autodesk.Windows.RibbonItem parent = e.Parent;
Debug.Print(
"OnItemExecuted: {0} '{1}' in '{2}' cookie {3}",
s, parent.AutomationName,
e.Item.AutomationName, e.Item.Cookie );
}