public void ActivateMultiView() { MultiViewPresenter multiViewPresenter = new MultiViewPresenter(this); TreeViewPresenter treeViewPresenter = new TreeViewPresenter(this); UserControlPresenter userControlPresenter = new UserControlPresenter(UC_CategoryProperty, UC_SerieProperty, UC_FigurProperty); var category = treeViewPresenter.GetSelectedNodeDepth(); multiViewPresenter.ActivateView(category); userControlPresenter.ActivateModeOneView(treeViewPresenter.GetSelectedNodeId(), category, EMode.View); }
public void ActivateViewInCreateMode(ETabActivity tabActivity) { MultiViewPresenter multiViewPresenter = new MultiViewPresenter(this); UserControlPresenter userControlPresenter = new UserControlPresenter(UC_CategoryProperty, UC_SerieProperty, UC_FigurProperty); multiViewPresenter.ActivateView(tabActivity); userControlPresenter.ActivateModeOneView(0, tabActivity, EMode.New); }