Beispiel #1
0
 public ButtonMenu(WpfTreeView treeView, List <ButtonItem> buttons)
 {
     this._buttonItems = buttons;
     foreach (ButtonItem bi in buttonItems)
     {
         bi._parent = this;
     }
     this._treeView = treeView;
 }
Beispiel #2
0
 public ButtonMenu(WpfTreeView treeView)
 {
     this._buttonItems = new List <ButtonItem>();
     this._treeView    = treeView;
 }