示例#1
0
 private void Remove(CTPLink ctpLink)
 {
     ctpLink.CTP.Destoy();
     ctpLink.Target.Dispose();
     _ctpLinks.Remove(ctpLink);
 }
示例#2
0
 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;
 }