This commit is contained in:
parent
2904c675d8
commit
055dae5906
@ -168,6 +168,18 @@ namespace Volian.Controls.Library
|
||||
if (PanelTabDisplay != null) PanelTabDisplay(sender, args);
|
||||
else MessageBox.Show("Cannot display information");
|
||||
}
|
||||
public event StepPanelWordSectionCloseEvent WordSectionClose;
|
||||
internal void OnWordSectionClose(object sender, WordSectionEventArgs args)
|
||||
{
|
||||
if (WordSectionClose != null) WordSectionClose(sender, args);
|
||||
else MessageBox.Show("Cannot close associated Word section");
|
||||
}
|
||||
public event StepPanelWordSectionDeletedEvent WordSectionDeleted;
|
||||
internal void OnWordSectionDeleted(object sender, WordSectionEventArgs args)
|
||||
{
|
||||
if (WordSectionDeleted != null) WordSectionDeleted(sender, args);
|
||||
else MessageBox.Show("Cannot delete associated Word section");
|
||||
}
|
||||
#endregion
|
||||
#region Contructor & Setup
|
||||
public DisplayTabControl()
|
||||
@ -288,6 +300,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
public void CloseWordItem(ItemInfo myItemInfo)
|
||||
{
|
||||
CleanUpClosedItems();
|
||||
string key = "Doc - " + myItemInfo.MyContent.MyEntry.MyDocument.DocID.ToString();
|
||||
DisplayTabItem myTabItem = null;
|
||||
if (_MyDisplayTabItems.ContainsKey(key)) // If page open, close it
|
||||
|
Loading…
x
Reference in New Issue
Block a user