Added option to check RTF with StepRTB

Use Temporary Folder for SearchResults
Remove override of Equals - return to default
Comment-out Debug
Remove PDFs that are older than one hour
Added a ShowLocalStack that takes a format and a list of parameters
This commit is contained in:
Rich
2010-10-12 14:59:23 +00:00
parent d3c6e41a5a
commit dc6721f54c
9 changed files with 209 additions and 175 deletions

View File

@@ -62,9 +62,9 @@ namespace VEPROMS
// multiple events because the print dialog will be displayed for each time the event was added.
_SelectedStepTabPanel.MyStepTabRibbon.PrintRequest -= new StepTabRibbonEvent(MyStepTabRibbon_PrintRequest);
_SelectedStepTabPanel.MyStepTabRibbon.PrintRequest += new StepTabRibbonEvent(MyStepTabRibbon_PrintRequest);
}
}
}
}
public DocVersionInfo SelectedDVI
{
@@ -161,7 +161,6 @@ namespace VEPROMS
toolsPanel.Expanded = false;
displayTags.Visible = false;
ribbonControl1.ExpandedChanged += new EventHandler(ribbonControl1_ExpandedChanged);
dlgFindReplace = new FindReplace();
SpellChecker = new VlnSpellCheck();
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
@@ -185,11 +184,11 @@ namespace VEPROMS
}
void displaySearch1_PrintRequest(object sender, DisplaySearchEventArgs args)
{
Volian.Print.Library.PDFReport myReport = new Volian.Print.Library.PDFReport(args.ReportTitle, args.MyItemInfoList, @"C:\temp\searchresults.pdf");
Volian.Print.Library.PDFReport myReport = new Volian.Print.Library.PDFReport(args.ReportTitle, args.MyItemInfoList,
Volian.Base.Library.VlnSettings.TemporaryFolder + @"\searchresults.pdf");
if (args.SearchString != null)
myReport.SearchString = args.SearchString;
myReport.Build();
System.Diagnostics.Process.Start(myReport.FileName);
}
bool tv_InsertItemInfo(object sender, vlnTreeItemInfoInsertEventArgs args)
{