protected override bool CanLeave()
 {
     RibbonControl.CloseApplicationMenu();
     return(base.CanLeave());
 }