Adjusted layout to work for 96 DPI - B2010-009

Change Bar Combo - Width
Added code to adjust the location and width of the results style combobox - B2010-009
This commit is contained in:
Rich 2011-01-04 21:13:34 +00:00
parent 0a60b9139c
commit d376368c20
2 changed files with 1342 additions and 1337 deletions

View File

@ -181,7 +181,7 @@ namespace VEPROMS
// ppBtnDefaultChgBar // ppBtnDefaultChgBar
// //
this.ppBtnDefaultChgBar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultChgBar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(347, 101); this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(403, 101);
this.ppBtnDefaultChgBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultChgBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar"; this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar";
this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(59, 25); this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(59, 25);
@ -204,7 +204,7 @@ namespace VEPROMS
this.ppCmbxChangeBarType.Location = new System.Drawing.Point(119, 101); this.ppCmbxChangeBarType.Location = new System.Drawing.Point(119, 101);
this.ppCmbxChangeBarType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChangeBarType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType"; this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType";
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(223, 23); this.ppCmbxChangeBarType.Size = new System.Drawing.Size(278, 23);
this.ppCmbxChangeBarType.TabIndex = 42; this.ppCmbxChangeBarType.TabIndex = 42;
this.ppCmbxChangeBarType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxChangeBarType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppCmbxChangeBarType.WatermarkText = "select change bar setting"; this.ppCmbxChangeBarType.WatermarkText = "select change bar setting";

View File

@ -1601,6 +1601,11 @@ namespace Volian.Controls.Library
{ {
OnPrintRequest(new DisplaySearchEventArgs(ReportTitle, SearchString, lbSrchResults.DataSource as ICollection<ItemInfo>)); OnPrintRequest(new DisplaySearchEventArgs(ReportTitle, SearchString, lbSrchResults.DataSource as ICollection<ItemInfo>));
} }
private void panSearchButtons_Resize(object sender, EventArgs e)
{
cmbResultsStyle.Left = labelX1.Right + 3;
cmbResultsStyle.Width = btnClearSearchResults.Left - cmbResultsStyle.Left - 3;
}
} }
#region Annoation Search Type Class #region Annoation Search Type Class
// this class is used to generate the list of annotations to search. // this class is used to generate the list of annotations to search.