public virtual bool CanCopy() { if (SelectedObjects.Length != 0) { return(SelectedObjects.All(obj => obj is Component)); } return(false); }
public virtual bool CanCut() { if (SelectedObjects.Length != 0) { return(SelectedObjects.All(obj => obj is Component && ((Component)obj).Parent != null)); } return(false); }