Added parameter for frmPDFStatusForm

Added parameters for PromsPrinter
Changed ItemID TextBox to a multiline TextBox
Added Next and Previous button to move through IDs in TextBox
Added a print button to print all of the procedures associated with the list of IDs
Added code asociated with controls above
Added error handler for the Clipboard
This commit is contained in:
Rich
2015-05-06 14:39:04 +00:00
parent 69f77955de
commit c5fc60bfbd
4 changed files with 261 additions and 33 deletions

View File

@@ -72,7 +72,12 @@ namespace VEPROMS
this.lblItemID = new DevComponents.DotNetBar.LabelItem();
this.lblResolution = new DevComponents.DotNetBar.LabelItem();
this.lblUser = new DevComponents.DotNetBar.LabelItem();
this.txtSearch = new DevComponents.DotNetBar.TextBoxItem();
//this.txtSearch = new DevComponents.DotNetBar.TextBoxItem(); // RHM20150506 Multiline ItemID TextBox
this.txtSearch = new System.Windows.Forms.TextBox();
this.btnPrevious = new System.Windows.Forms.Button();
this.btnPrint1 = new System.Windows.Forms.Button();
this.cbScrunch = new System.Windows.Forms.CheckBox();
this.btnNext = new System.Windows.Forms.Button();
this.btnEditItem = new DevComponents.DotNetBar.ButtonItem();
this.btnFixMSWord = new DevComponents.DotNetBar.ButtonItem();
this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel();
@@ -481,6 +486,11 @@ namespace VEPROMS
//
// bottomBar
//
this.bottomBar.Controls.Add(this.txtSearch); // RHM20150506 Multiline ItemID TextBox
this.bottomBar.Controls.Add(this.btnPrevious);
this.bottomBar.Controls.Add(this.btnPrint1);
this.bottomBar.Controls.Add(this.cbScrunch);
this.bottomBar.Controls.Add(this.btnNext);
this.bottomBar.Controls.Add(this.cmbFont);
this.bottomBar.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bottomBar.Font = new System.Drawing.Font("Segoe UI", 9F);
@@ -497,7 +507,7 @@ namespace VEPROMS
this.lblResolution,
this.btnEditItem,
this.lblUser,
this.txtSearch,
//this.txtSearch, // RHM20150506 Multiline ItemID TextBox
this.btnFixMSWord});
this.bottomBar.Location = new System.Drawing.Point(5, 569);
this.bottomBar.Name = "bottomBar";
@@ -600,6 +610,42 @@ namespace VEPROMS
// txtSearch
//
this.txtSearch.Name = "txtSearch";
this.txtSearch.Font = new System.Drawing.Font(this.txtSearch.Font.FontFamily, 10); // RHM20150506 Multiline ItemID TextBox
this.txtSearch.Dock = System.Windows.Forms.DockStyle.Right;
this.txtSearch.Multiline = true;
this.txtSearch.Height = this.cmbFont.Height;
//
// btnPrevious
//
this.btnPrevious.Name = "btnPrevious";
this.btnPrevious.Dock = System.Windows.Forms.DockStyle.Right;
this.btnPrevious.Text = "<";
this.btnPrevious.Width = this.btnPrevious.Height;
this.btnPrevious.Visible = false;
//
// btnPrint
//
this.btnPrint1.Name = "btnPrint1";
this.btnPrint1.Dock = System.Windows.Forms.DockStyle.Right;
this.btnPrint1.Text = "P";
this.btnPrint1.Width = this.btnPrint1.Height;
this.btnPrint1.Visible = false;
//
// cbScrunch
//
this.cbScrunch.Name = "cbScrunch";
this.cbScrunch.Dock = System.Windows.Forms.DockStyle.Right;
this.Text = "";
this.cbScrunch.Width = this.cbScrunch.Height;
this.cbScrunch.Visible = false;
//
// btnNext
//
this.btnNext.Name = "btnNext";
this.btnNext.Dock = System.Windows.Forms.DockStyle.Right;
this.btnNext.Text = ">";
this.btnNext.Width = this.btnNext.Height;
this.btnNext.Visible = false;
//
// btnEditItem
//
@@ -1618,7 +1664,12 @@ namespace VEPROMS
private System.Windows.Forms.ComboBox cmbFont;
private DevComponents.DotNetBar.LabelItem lblResolution;
private DevComponents.DotNetBar.LabelItem lblUser;
private DevComponents.DotNetBar.TextBoxItem txtSearch;
//private DevComponents.DotNetBar.TextBoxItem txtSearch; // RHM20150506 Multiline ItemID TextBox
private System.Windows.Forms.TextBox txtSearch;
private System.Windows.Forms.Button btnPrevious;
private System.Windows.Forms.Button btnPrint1;
private System.Windows.Forms.CheckBox cbScrunch;
private System.Windows.Forms.Button btnNext;
private DevComponents.DotNetBar.ButtonItem btnEditItem;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
private DevComponents.DotNetBar.TabItem infotabHistory;