Copy all fields from Library Document when converting a Library Document to a Stand-alone Document

Added code to update the Procedure Panel when a Word Section is added.
Created a method to find a ProcedureDisplayTabItem for a specific item
Added code to Reset the Tab when a Section's Number is changed.
Added code to Reset a Procedures Parts when a Panel is Reset
Added an event for a Node being added.
This commit is contained in:
Rich
2010-11-17 22:29:54 +00:00
parent c57078a7cb
commit f208c98202
6 changed files with 33 additions and 4 deletions

View File

@@ -560,6 +560,15 @@ namespace Volian.Controls.Library
}
return null;
}
public DisplayTabItem GetProcDisplayTabItem(ItemInfo myItemInfo)
{
ItemInfo proc = myItemInfo.MyProcedure; // Find procedure Item
string key = "Item - " + proc.ItemID.ToString();
DisplayTabItem pg = null;
if (_MyDisplayTabItems.ContainsKey(key)) // If procedure page open use it
return _MyDisplayTabItems[key];
return null;
}
/// <summary>
/// This opens a Step page based upon a ItemInfo.
///