private void Remove(CTPLink ctpLink) { ctpLink.CTP.Destoy(); ctpLink.Target.Dispose(); _ctpLinks.Remove(ctpLink); }
private CTPLink AddPane(CTPTarget target, int versionId) { var ctp = WsConnectCTP.Create(target.TargetId, versionId, target.Window); var link = new CTPLink() { CTP = ctp, Target = target }; _ctpLinks.Add(link); return link; }