Ejemplo n.º 1
0
 public void Kill()
 {
     MarketInterface.Exec("DELETE FROM BitCategory WHERE ID=?", new object[] { Index });
     Index   = _parentID = -1;
     _name   = null;
     _parent = null;
 }
Ejemplo n.º 2
0
 public void Kill()
 {
     MarketInterface.Exec("DELETE FROM BitOffer WHERE ID=?", new object[] { Index });
     _stock      = _category = Index = -1;
     _pricemap   = _files = _address = _description = _title = null;
     _lastModify = DateTime.Now;
 }
Ejemplo n.º 3
0
 public void Kill()
 {
     if (Index >= 0)
     {
         MarketInterface.Exec("DELETE FROM BitFile WHERE ID=?", new object[] { Index });
         if (File.Exists(vName))
         {
             File.Delete(vName);
         }
     }
     Index = -1;
 }