Enhanced: rename a method name for clarification
Enhanced: convert 16-32 bit link data at procedure level Enhanced: convert 16-32 bit link data at procedure level.
This commit is contained in:
@@ -1399,11 +1399,27 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
public void CreateLinksEnhancedSteps(ItemInfo srcII, ItemInfo enhII, int enhtype)
|
||||
public void CreateLinksEnhancedSingleItem(ItemInfo srcII, ItemInfo enhII, int enhtype)
|
||||
{
|
||||
srcII.DoCreateLinksEnhancedSteps(enhII, enhtype);
|
||||
srcII.DoCreateLinksEnhancedSingleItem(enhII, enhtype);
|
||||
SetFocus();
|
||||
}
|
||||
public void CreateLinksEnhancedAllInProcedure(ItemInfo srcII, ItemInfo enhII, int enhtype)
|
||||
{
|
||||
using (ContentInfoList cil = ContentInfoList.Convert16To32EnhancedContents(srcII.ItemID, enhII.ItemID, enhtype))
|
||||
{
|
||||
foreach (ContentInfo ci in cil)
|
||||
{
|
||||
using (Content c = ci.Get())
|
||||
{
|
||||
// first refresh configs because the ContentInfo.Refresh causes events to occur that refresh screen
|
||||
// and if configs aren't done first, the screen refresh, if based on config data, will not be correct.
|
||||
foreach (ItemInfo ii in ci.ContentItems) ii.RefreshConfig();
|
||||
ContentInfo.Refresh(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UnlinkEnhanced(ItemInfo enhII)
|
||||
{
|
||||
enhII.DoUnlinkEnhanced(enhII);
|
||||
|
Reference in New Issue
Block a user