Fix for Insert New Step
This commit is contained in:
@@ -318,26 +318,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@@ -370,26 +382,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@@ -422,26 +446,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@@ -474,26 +510,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
|
Reference in New Issue
Block a user