Esempio n. 1
0
 private bool CanCopyLink(Link l) {
   if (l == null) return false;
   if (!l.CanCopy()) return false;
   if (l.IsBoundToData) return true;
   Diagram diagram = this.Diagram;
   if (diagram == null) return false;
   return (diagram.Model == diagram.PartsModel);
 }