Added logic to remember the status of the TreeView
Added specific file location for ErrorLog Added logic to refresh ContentParts when Items added or deleted (Error 68)
This commit is contained in:
@@ -183,7 +183,11 @@ namespace VEPROMS.CSLA.Library
|
||||
internal void OnDeleted(object sender)
|
||||
{
|
||||
if (Deleted != null) Deleted(sender);
|
||||
if (MyParent != null) MyParent.OnChildrenDeleted(sender);
|
||||
if (MyParent != null)
|
||||
{
|
||||
MyParent.OnChildrenDeleted(sender);
|
||||
MyParent.MyContent.RefreshContentParts();
|
||||
}
|
||||
}
|
||||
public event ItemInfoEvent ChildrenDeleted;
|
||||
internal void OnChildrenDeleted(object sender)
|
||||
@@ -202,6 +206,8 @@ namespace VEPROMS.CSLA.Library
|
||||
internal void OnNewSiblingAfter(object sender, ItemInfoInsertEventArgs args)
|
||||
{
|
||||
if (NewSiblingAfter != null) NewSiblingAfter(sender,args);
|
||||
if (MyParent != null)
|
||||
MyParent.MyContent.RefreshContentParts();
|
||||
}
|
||||
internal void OnNewSiblingAfter(ItemInfoInsertEventArgs args)
|
||||
{
|
||||
@@ -219,6 +225,8 @@ namespace VEPROMS.CSLA.Library
|
||||
internal void OnNewSiblingBefore(object sender, ItemInfoInsertEventArgs args)
|
||||
{
|
||||
if (NewSiblingBefore != null) NewSiblingBefore(sender,args);
|
||||
if (MyParent != null)
|
||||
MyParent.MyContent.RefreshContentParts();
|
||||
}
|
||||
internal void OnNewSiblingBefore(ItemInfoInsertEventArgs args)
|
||||
{
|
||||
@@ -236,6 +244,7 @@ namespace VEPROMS.CSLA.Library
|
||||
internal void OnNewChild(object sender, ItemInfoInsertEventArgs args)
|
||||
{
|
||||
if (NewChild != null) NewChild(sender, args);
|
||||
MyContent.RefreshContentParts();
|
||||
}
|
||||
internal void OnNewChild(ItemInfoInsertEventArgs args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user