Fixed code so that Deletes of Procedures and Sections would no cause steps to be resequenced.

Added code to Just Get RODb and not all of it's children.
Added code to create an RoImageFile (Temporary) to be used to view and print images
Additional DEBUG info
This commit is contained in:
Rich
2009-12-07 15:55:31 +00:00
parent 0cb99bcf5e
commit 79b0bf4c1b
4 changed files with 244 additions and 4 deletions

View File

@@ -308,7 +308,8 @@ namespace VEPROMS.CSLA.Library
}
public void UpdateTransitionText()
{
// Update Ordinals from here down
// Update Ordinals from here down for Steps
if (!IsStep) return;
ResetOrdinal();
// This returns a list of all of the transitions that may have been affected
using(TransitionInfoList trans = TransitionInfoList.GetAffected(this.ItemID))
@@ -636,7 +637,7 @@ namespace VEPROMS.CSLA.Library
// when getting myparent. This bug was found when deleting a node from the
// tree when the stepitem was not open (i.e. in the step editor window).
nextItem.RefreshItemParts();
nextItem.ResetOrdinal();
//nextItem.ResetOrdinal(); - UpdateTransitionText calls ResetOrdinal
nextItem.UpdateTransitionText();
}
else if (prevItem != null)