public override void Run()
        {
            var mainControl = new MainControl();
            mainControl.SetViewModel(
                new MainViewModel{
                    ModulesMenu = _modules,
                    TopMenu = _modules,
                    Toolbar = _toolbar
                });

            mainControl.Show();
        }
        public override void Run()
        {
            var mainControl = new MainControl();
            mainControl.SetViewModel(
                new MainViewModel{
                    ModulesMenu = CreateMenuElementGroup(),
                    TopMenu = CreateMenuElementGroup(),
                    Toolbar = CreateMenuElements()
                });

            mainControl.Show();
        }
Exemplo n.º 3
0
        public override void Run()
        {
            var mainControl = new MainControl();

            mainControl.Show();
        }