Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -276,22 +276,6 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_VersionInfoExtension.Refresh(this);
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyRevision != null)
|
||||
// {
|
||||
// _MyRevision.Dispose();// Dispose related value
|
||||
// _MyRevision = null;// Reset related value
|
||||
// }
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyStage != null)
|
||||
// {
|
||||
// _MyStage.Dispose();// Dispose related value
|
||||
// _MyStage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(RevisionVersion tmp)
|
||||
@@ -316,22 +300,6 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_VersionInfoExtension.Refresh(this);
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyRevision != null)
|
||||
// {
|
||||
// _MyRevision.Dispose();// Dispose related value
|
||||
// _MyRevision = null;// Reset related value
|
||||
// }
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyStage != null)
|
||||
// {
|
||||
// _MyStage.Dispose();// Dispose related value
|
||||
// _MyStage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(StageVersion tmp)
|
||||
@@ -356,22 +324,6 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_VersionInfoExtension.Refresh(this);
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyRevision != null)
|
||||
// {
|
||||
// _MyRevision.Dispose();// Dispose related value
|
||||
// _MyRevision = null;// Reset related value
|
||||
// }
|
||||
//RHM Removed 20090724 - Duplicates function of code above.
|
||||
// - Dispose caused error when a new step was added.
|
||||
// - Resequence of transitions did not work properly.
|
||||
// if(_MyStage != null)
|
||||
// {
|
||||
// _MyStage.Dispose();// Dispose related value
|
||||
// _MyStage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static VersionInfo Get(int versionID)
|
||||
|
Reference in New Issue
Block a user