Пример #1
0
        public override void Init(ITixMenuService pMenuService, ITixViewModel pViewModel, ITixView pView, ITixServiceRegistery pRegistery)
        {
            base.Init(pMenuService, pViewModel, pView, pRegistery);

            var tab = TixFluentMenuCreator.CreateTabItem("Test Tab Item");
            tab.AddMenuGroup("Group1").AddMenuButton("Button 1", null)
                .AddMenuButton("Button 2", null);
            pMenuService.AddMenu(tab);
        }
Пример #2
0
 public virtual void Init(ITixMenuService pMenuService, ITixViewModel pViewModel, ITixView pView, ITixServiceRegistery pRegistery)
 {
     MenuService = pMenuService;
     View = pView;
     View.SetDataContext(pViewModel);
     ServiceRegistery = pRegistery;
 }