public void Select(LadderNetworkViewModel lnvmodel) { if (this == Empty) { return; } LadderDiagramViewModel ldvmodel = lnvmodel.LDVModel; ProjectModel pmodel = ldvmodel.ProjectModel; InteractionFacade ifacade = pmodel.IFacade; ldvmodel.AcquireArea(this); ifacade.MainTabControl.ShowItem(ldvmodel); }