Remove Old comments

Remove unnecessary Disposes
This commit is contained in:
Rich
2012-06-01 17:08:16 +00:00
parent af5f3056d9
commit 869663b79c
71 changed files with 105 additions and 1482 deletions

View File

@@ -355,7 +355,7 @@ namespace VEPROMS
stg.IsApproved = found.IsApproved;
stg.UserID = Volian.Base.Library.VlnSettings.UserID;
stg.DTS = DateTime.Now;
stg.Save().Dispose();
stg.Save();
}
}
myLocalStageInfoList.Remove(found);
@@ -365,7 +365,7 @@ namespace VEPROMS
using (Stage stg = si.Get())
{
stg.Delete();
stg.Save().Dispose();
stg.Save();
}
}
}
@@ -373,7 +373,7 @@ namespace VEPROMS
foreach (LocalStageInfo lsi in myLocalStageInfoList)
{
using (Stage stg = Stage.MakeStage(lsi.Name, "", lsi.IsApproved, DateTime.Now, Volian.Base.Library.VlnSettings.UserID))
stg.Save().Dispose();
stg.Save();
}
StageInfoList.Refresh();
}
@@ -396,7 +396,7 @@ namespace VEPROMS
at.Name = found.Name;
at.UserID = Volian.Base.Library.VlnSettings.UserID;
at.DTS = DateTime.Now;
at.Save().Dispose();
at.Save();
}
}
myLocalAnnotationTypeInfoList.Remove(found);
@@ -406,7 +406,7 @@ namespace VEPROMS
using (AnnotationType at = ai.Get())
{
at.Delete();
at.Save().Dispose();
at.Save();
}
}
@@ -414,7 +414,7 @@ namespace VEPROMS
foreach (LocalAnnotationTypeInfo lai in myLocalAnnotationTypeInfoList)
{
using (AnnotationType at = AnnotationType.New(lai.Name, "", DateTime.Now, Volian.Base.Library.VlnSettings.UserID))
at.Save().Dispose();
at.Save();
}
AnnotationTypeInfoList.Refresh();
}