Added to the User Interface
Settings for Builders Group Demo Event handler for Search Results Report and Resolution User Interface Added code to make DataLoader and PDF generation faster Added ToolTip Property to ItemInfo Added code to handle "AND Range" Transitions Changed comment Sorts ROs by value
This commit is contained in:
@@ -152,8 +152,16 @@ namespace VEPROMS
|
||||
ribbonControl1.ExpandedChanged += new EventHandler(ribbonControl1_ExpandedChanged);
|
||||
dlgFindReplace = new FindReplace();
|
||||
SpellChecker = new VlnSpellCheck();
|
||||
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
|
||||
}
|
||||
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");
|
||||
if (args.SearchString != null)
|
||||
myReport.SearchString = args.SearchString;
|
||||
myReport.Build();
|
||||
System.Diagnostics.Process.Start(myReport.FileName);
|
||||
}
|
||||
|
||||
bool tv_InsertItemInfo(object sender, vlnTreeItemInfoInsertEventArgs args)
|
||||
{
|
||||
return tc.InsertStepItem(args.MyItemInfo, args.StepText, args.InsertType, args.FromType, args.Type);
|
||||
@@ -1305,7 +1313,28 @@ namespace VEPROMS
|
||||
//}
|
||||
//string pnum = DisplayText.StaticStripRtfCommands(this._CurrentItem.MyProcedure.ProcedureConfig.Number).Replace("\\u8209?", "-");
|
||||
DlgPrintProcedure prnDlg = new DlgPrintProcedure(this._CurrentItem.MyProcedure);//dvi.DocVersionConfig,pnum);
|
||||
prnDlg.ShowDialog();
|
||||
prnDlg.Show();
|
||||
}
|
||||
|
||||
private void lblResolution_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.WindowState != FormWindowState.Normal)
|
||||
{
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
}
|
||||
else if (this.Size.Width != 1280)
|
||||
{
|
||||
this.Size = new Size(1280, 800);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Size = new Size(1024, 768);
|
||||
}
|
||||
}
|
||||
|
||||
private void frmVEPROMS_Resize(object sender, EventArgs e)
|
||||
{
|
||||
lblResolution.Text = string.Format("Resolution {0} x {1}", Size.Width, Size.Height);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user