This commit is contained in:
parent
b7ffdf63e0
commit
d4f0563fde
@ -125,6 +125,18 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
TabDisplay(sender, args);
|
||||
}
|
||||
// close section, if deleting word doc section
|
||||
public event StepPanelWordSectionCloseEvent WordSectionClose;
|
||||
internal void OnWordSectionClose(object sender, WordSectionEventArgs args)
|
||||
{
|
||||
WordSectionClose(sender, args);
|
||||
}
|
||||
// if section deleted, have event to flag in other UI panels
|
||||
public event StepPanelWordSectionDeletedEvent WordSectionDeleted;
|
||||
internal void OnWordSectionDeleted(object sender, WordSectionEventArgs args)
|
||||
{
|
||||
WordSectionDeleted(sender, args);
|
||||
}
|
||||
#endregion
|
||||
#region Link Events
|
||||
/// <summary>
|
||||
@ -1006,6 +1018,18 @@ namespace Volian.Controls.Library
|
||||
_PanelTabName = panelTabname;
|
||||
}
|
||||
}
|
||||
public partial class WordSectionEventArgs : EventArgs
|
||||
{
|
||||
private SectionInfo _MySectionInfo;
|
||||
public SectionInfo MySectionInfo
|
||||
{
|
||||
get { return _MySectionInfo; }
|
||||
}
|
||||
public WordSectionEventArgs(SectionInfo mySectionInfo)
|
||||
{
|
||||
_MySectionInfo = mySectionInfo;
|
||||
}
|
||||
}
|
||||
public delegate void StepPanelEvent(object sender, StepPanelEventArgs args);
|
||||
public delegate void ItemSelectedChangedEvent(object sender, ItemSelectedChangedEventArgs args);
|
||||
public delegate void StepPanelLinkEvent(object sender, StepPanelLinkEventArgs args);
|
||||
@ -1013,4 +1037,6 @@ namespace Volian.Controls.Library
|
||||
public delegate void StepRTBLinkEvent(object sender, StepPanelLinkEventArgs args);
|
||||
public delegate void StepPanelModeChangeEvent(object sender, StepRTBModeChangeEventArgs args);
|
||||
public delegate void StepPanelTabDisplayEvent(object sender, StepPanelTabDisplayEventArgs args);
|
||||
public delegate void StepPanelWordSectionCloseEvent(object sender, WordSectionEventArgs args);
|
||||
public delegate void StepPanelWordSectionDeletedEvent(object sender, WordSectionEventArgs args);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user