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(); }
public override void Run() { var mainControl = new MainControl(); mainControl.Show(); }