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

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