B2018-148 Changed dropdown type for Results Type to dropdown list so that the user cannot type text in that field.

B2018-148 Changed dropdown type for Select Procedure and Select Section to dropdown lists so that the user cannot type text in that field.
This commit is contained in:
2018-12-04 20:50:54 +00:00
parent f0a43e19f4
commit cf0a93fe4a
2 changed files with 74 additions and 78 deletions

View File

@@ -164,8 +164,8 @@ namespace Volian.Controls.Library
this.tabSearchTypes.CanReorderTabs = false;
this.tabSearchTypes.CloseButtonOnTabsAlwaysDisplayed = false;
this.tabSearchTypes.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
this.tabSearchTypes.Controls.Add(this.tabControlPanel5);
this.tabSearchTypes.Controls.Add(this.tabControlPanel4);
this.tabSearchTypes.Controls.Add(this.tabControlPanel5);
this.tabSearchTypes.Controls.Add(this.tabControlPanel2);
this.tabSearchTypes.Controls.Add(this.tabControlPanel3);
this.tabSearchTypes.Controls.Add(this.contextMenuBar1);
@@ -1253,9 +1253,10 @@ namespace Volian.Controls.Library
//
this.cmbResultsStyle.DisplayMember = "Text";
this.cmbResultsStyle.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbResultsStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbResultsStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cmbResultsStyle.FormattingEnabled = true;
this.cmbResultsStyle.ItemHeight = 16;
this.cmbResultsStyle.ItemHeight = 14;
this.cmbResultsStyle.Items.AddRange(new object[] {
this.comboItem1,
this.comboItem2,
@@ -1265,7 +1266,7 @@ namespace Volian.Controls.Library
this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(2);
this.cmbResultsStyle.Name = "cmbResultsStyle";
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmbResultsStyle.Size = new System.Drawing.Size(110, 22);
this.cmbResultsStyle.Size = new System.Drawing.Size(110, 20);
this.superTooltip1.SetSuperTooltip(this.cmbResultsStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cmbResultsStyle.TabIndex = 8;