private bool property_equals(cproperty a) { return(access(property.MTIME, a.MTIME) && access(property.terminal, a.terminal) && access(property.PMONEY, a.PMONEY) && access(property.MTIME, a.MTIME) && access(property.CONTACTSID, a.CONTACTSID)); }
public void add() { if (property.accord) { foreach (var temp in lproperty) { if (property_equals(temp)) { warn = "输入重复"; return; } } reminder = "添加财物"; _model.send(ecommand.addproperty, property.ToString()); property = new cproperty(); } else { warn = "输入信息有误"; } }
public void eliminate() { _item = null; property = new cproperty(); reminder = "清除"; }