Added code to lookup selected text in the value field of the RO Database

This commit is contained in:
Rich
2009-08-05 21:12:59 +00:00
parent 52b74f47ed
commit 55d639d373
2 changed files with 61 additions and 12 deletions

View File

@@ -41,6 +41,7 @@ namespace Volian.Controls.Library
this.tbROValue = new DevComponents.DotNetBar.Controls.TextBoxX();
this.lblROValue = new DevComponents.DotNetBar.LabelX();
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
this.lbFound = new System.Windows.Forms.ListBox();
this.panelValue.SuspendLayout();
this.pnlROButtons.SuspendLayout();
this.panelRoValue.SuspendLayout();
@@ -50,9 +51,9 @@ namespace Volian.Controls.Library
//
this.tvROFST.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvROFST.HideSelection = false;
this.tvROFST.Location = new System.Drawing.Point(0, 99);
this.tvROFST.Location = new System.Drawing.Point(0, 233);
this.tvROFST.Name = "tvROFST";
this.tvROFST.Size = new System.Drawing.Size(233, 408);
this.tvROFST.Size = new System.Drawing.Size(233, 274);
this.tvROFST.TabIndex = 5;
this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand);
this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect);
@@ -74,7 +75,7 @@ namespace Volian.Controls.Library
this.lbROId.Dock = System.Windows.Forms.DockStyle.Left;
this.lbROId.ForeColor = System.Drawing.SystemColors.Highlight;
this.lbROId.Location = new System.Drawing.Point(46, 22);
this.lbROId.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lbROId.Margin = new System.Windows.Forms.Padding(2);
this.lbROId.Name = "lbROId";
this.lbROId.Size = new System.Drawing.Size(183, 23);
this.superTooltip1.SetSuperTooltip(this.lbROId, new DevComponents.DotNetBar.SuperTooltipInfo("RO ID", "", "The RO ID for the selected RO Value will be displayed here. Double-Click to open" +
@@ -86,7 +87,7 @@ namespace Volian.Controls.Library
//
this.labelX1.Dock = System.Windows.Forms.DockStyle.Left;
this.labelX1.Location = new System.Drawing.Point(0, 22);
this.labelX1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.labelX1.Margin = new System.Windows.Forms.Padding(2);
this.labelX1.Name = "labelX1";
this.labelX1.Size = new System.Drawing.Size(46, 23);
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("RO ID", "", "The RO ID for the selected RO Value will be displayed here.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
@@ -112,7 +113,7 @@ namespace Volian.Controls.Library
this.btnPreviewRO.Dock = System.Windows.Forms.DockStyle.Top;
this.btnPreviewRO.Enabled = false;
this.btnPreviewRO.Location = new System.Drawing.Point(0, 37);
this.btnPreviewRO.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnPreviewRO.Margin = new System.Windows.Forms.Padding(2);
this.btnPreviewRO.Name = "btnPreviewRO";
this.btnPreviewRO.Size = new System.Drawing.Size(233, 19);
this.superTooltip1.SetSuperTooltip(this.btnPreviewRO, new DevComponents.DotNetBar.SuperTooltipInfo("Preview", "", "This will Preview the selected RO Table, X/Y Plot, or Image.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
@@ -196,11 +197,23 @@ namespace Volian.Controls.Library
//
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// lbFound
//
this.lbFound.Dock = System.Windows.Forms.DockStyle.Top;
this.lbFound.FormattingEnabled = true;
this.lbFound.Location = new System.Drawing.Point(0, 99);
this.lbFound.Name = "lbFound";
this.lbFound.Size = new System.Drawing.Size(233, 134);
this.lbFound.TabIndex = 8;
this.lbFound.Visible = false;
this.lbFound.SelectedValueChanged += new System.EventHandler(this.lbFound_SelectedValueChanged);
//
// DisplayRO
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tvROFST);
this.Controls.Add(this.lbFound);
this.Controls.Add(this.panelValue);
this.Name = "DisplayRO";
this.Size = new System.Drawing.Size(233, 507);
@@ -225,5 +238,6 @@ namespace Volian.Controls.Library
private DevComponents.DotNetBar.LabelX labelX1;
private DevComponents.DotNetBar.LabelX lbROId;
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
private System.Windows.Forms.ListBox lbFound;
}
}