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); }
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); }