Esempio n. 1
0
        public BehaviorToolButton AddToolButton(Behavior behavior)
        {
            BehaviorToolButton button   = behavior.CreateToolButton();
            string             category = BehaviorOrderer.GetCategory(behavior);

            AddToolButton(button, category);
            return(button);
        }
Esempio n. 2
0
 public TabPanel FindPanel(Behavior behavior)
 {
     foreach (var panel in Panels)
     {
         BehaviorToolButton button = panel.FindButton(behavior);
         if (button != null)
         {
             return(panel);
         }
     }
     return(null);
 }
Esempio n. 3
0
 public void ResetSelectedToolButton()
 {
     SelectedToolButton = null;
     UpdateSelectedToolButton();
 }