Ejemplo n.º 1
0
 public void CloseSubModule()
 {
     openedSubModule.Parent = null;
     openedSubModule.Dispose();
     openedSubModule        = null;
     dataLayoutControl.Dock = DockStyle.Top;
     InitializeButtonPanel();
 }
Ejemplo n.º 2
0
        private void GotoModule(ModuleType mt, object param)
        {
            var moduleLocator = GetService <IModuleLocator>();

            openedSubModule = moduleLocator.GetModule(mt) as BaseModuleControl;
            UpdateSelectedEntity(tileView1.FocusedRowHandle);
            ViewModelHelper.EnsureModuleViewModel(openedSubModule, ViewModel, param);
            openedSubModule.Dock   = DockStyle.Fill;
            openedSubModule.Parent = this;
            openedSubModule.OnTransitionCompleted();
            openedSubModule.BringToFront();
        }
Ejemplo n.º 3
0
        private void GotoModule(ModuleType mt, object param)
        {
            dataLayoutControl.Dock = DockStyle.Fill;
            var moduleLocator = GetService <IModuleLocator>();

            openedSubModule = moduleLocator.GetModule(mt) as BaseModuleControl;
            ViewModelHelper.EnsureModuleViewModel(openedSubModule, ViewModel, param);
            openedSubModule.Dock   = DockStyle.Fill;
            openedSubModule.Parent = this;
            openedSubModule.OnTransitionCompleted();
            openedSubModule.BringToFront();
        }