public DataSet delete_train(int i) //delete an existing train { TrainCAD c = new TrainCAD(); DataSet ds = c.deleteTrain(this, i); return(ds); }
public void delete_Train() { TrainCAD c = new TrainCAD(); c.deleteTrain(this); }