hooks for Library Document Usage reports
This commit is contained in:
parent
da3d1beb1b
commit
dd98679139
@ -184,6 +184,7 @@ namespace VEPROMS
|
|||||||
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
|
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
|
||||||
this.Activated += new EventHandler(frmVEPROMS_Activated);
|
this.Activated += new EventHandler(frmVEPROMS_Activated);
|
||||||
VlnSettings.StepTypeToolType = Settings.Default.StepTypeToolTip;
|
VlnSettings.StepTypeToolType = Settings.Default.StepTypeToolTip;
|
||||||
|
displayLibDocs.PrintRequest += new DisplayLibDocEvent(displayLibDocs_PrintRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogResult tv_NodePSI(object sender, vlnTreeEventArgs args)
|
DialogResult tv_NodePSI(object sender, vlnTreeEventArgs args)
|
||||||
@ -228,6 +229,13 @@ namespace VEPROMS
|
|||||||
myReport.SearchString = args.SearchString;
|
myReport.SearchString = args.SearchString;
|
||||||
myReport.Build();
|
myReport.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void displayLibDocs_PrintRequest(object sender, DisplayLibDocEventArgs args)
|
||||||
|
{
|
||||||
|
Volian.Print.Library.PDFReport myReport = new Volian.Print.Library.PDFReport(args.ReportTitle, args.LibDocList, Volian.Base.Library.VlnSettings.TemporaryFolder + @"\LibDocUsage.pdf");
|
||||||
|
myReport.Build();
|
||||||
|
}
|
||||||
|
|
||||||
bool tv_InsertItemInfo(object sender, vlnTreeItemInfoInsertEventArgs args)
|
bool tv_InsertItemInfo(object sender, vlnTreeItemInfoInsertEventArgs args)
|
||||||
{
|
{
|
||||||
// Don't select the newly created Step. This will be handled by tmrTreeView
|
// Don't select the newly created Step. This will be handled by tmrTreeView
|
||||||
|
Loading…
x
Reference in New Issue
Block a user