This commit is contained in:
parent
752eb4aa89
commit
6a47db9b8d
@ -128,6 +128,8 @@ namespace VEPROMS
|
||||
tv.OpenItem += new vlnTreeViewItemInfoEvent(tv_OpenItem);
|
||||
tv.DeleteItemInfo += new vlnTreeViewItemInfoDeleteEvent(tv_DeleteItemInfo);
|
||||
tv.InsertItemInfo += new vlnTreeViewItemInfoInsertEvent(tv_InsertItemInfo);
|
||||
tv.PasteItemInfo += new vlnTreeViewItemInfoPasteEvent(tv_PasteItemInfo);
|
||||
tc.ItemPaste += new StepPanelItemPastedEvent(tc_ItemPasted);
|
||||
_CommentTitleBckColor = epAnnotations.TitleStyle.BackColor1.Color;
|
||||
if (!btnAnnoDetailsPushPin.Checked)
|
||||
epAnnotations.Expanded = false;
|
||||
@ -149,7 +151,10 @@ namespace VEPROMS
|
||||
//si.RemoveItem();
|
||||
//return true;
|
||||
}
|
||||
|
||||
private bool tv_PasteItemInfo(object sender, vlnTreeItemInfoPasteEventArgs args)
|
||||
{
|
||||
return tc.PasteStepItem(args.MyItemInfo, args.CopyStartID, args.PasteType, (int)args.Type);
|
||||
}
|
||||
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
// Save the location and size of the VE-PROMS appication for this user
|
||||
@ -795,7 +800,17 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tc_ItemPasted(object sender, vlnTreeItemInfoPasteEventArgs args)
|
||||
{
|
||||
// all this needs to do is refresh the libdoc display - if it is visible
|
||||
// and the current item is word section, i.e. it may be a lib doc & would
|
||||
// require refresh of the lib doc panel.
|
||||
if (toolsTabs.SelectedTab == tabItemLibDocs && args.MyItemInfo.IsSection)
|
||||
{
|
||||
SectionInfo si = args.MyItemInfo as SectionInfo;
|
||||
if (si != null && (si.MyContent.MyEntry.MyDocument.LibTitle ?? "") != "") displayLibDocs.RefreshLibDocPanel(tc);
|
||||
}
|
||||
}
|
||||
private void tc_PanelTabDisplay(object sender, StepPanelTabDisplayEventArgs args)
|
||||
{
|
||||
if (args.PanelTabName == "Bookmarks")
|
||||
|
Loading…
x
Reference in New Issue
Block a user