Example #1
0
 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));
 }
Example #2
0
 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 = "输入信息有误";
     }
 }
Example #3
0
 public void eliminate()
 {
     _item    = null;
     property = new cproperty();
     reminder = "清除";
 }