Fix for Insert New Step
This commit is contained in:
@@ -433,21 +433,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ConnectionFolder tmp)
|
||||
@@ -482,21 +491,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(FormatFolder tmp)
|
||||
@@ -531,21 +549,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static FolderInfo Get(int folderID)
|
||||
|
Reference in New Issue
Block a user