Exemple #1
0
 protected override void PostEnabled()
 {
     if (_visible)
     {
         MenuGlobals.PushMenuOpened();
     }
 }
Exemple #2
0
 private void SetVisible(bool value)
 {
     if (_visible != value)
     {
         _visible = value;
         if (_visible)
         {
             MenuGlobals.PushMenuOpened();
         }
         else
         {
             MenuGlobals.PopMenuOpened();
         }
     }
 }