private void RefreshSteps(Procedure curProce) { foreach(ProcedureStep curStep in newProceSteps) { curStep.BelongToProcedure = curProce; mainDataSet.InsertNewStep(curStep); } curProce.ProcedureSteps = newProceSteps; }
private void RefreshSteps(Procedure curProce) { foreach(ProcedureStep curStep in newProceSteps) { curStep.BelongToProcedure = curProce; mainDataSet.InsertNewStep(curStep); } curProce.ProcedureSteps = newProceSteps; }