This commit is contained in:
Kathy Ruffing 2010-09-10 17:49:48 +00:00
parent b95fdb6239
commit 2071e3bb18
3 changed files with 2336 additions and 2246 deletions

View File

@ -327,6 +327,25 @@ namespace Volian.Controls.Library
} }
return String.Compare(value1, value2, true) > 0; return String.Compare(value1, value2, true) > 0;
} }
public void RefreshRoTree()
{
string roid = null;
if (tvROFST.SelectedNode != null)
{
if (tvROFST.SelectedNode.Tag is ROFSTLookup.rochild)
{
ROFSTLookup.rochild chld = (ROFSTLookup.rochild)tvROFST.SelectedNode.Tag;
roid = chld.roid;
}
}
_CurROFST = null;
LoadTree();
if (_SelectedRoidBeforeRoEditor != null)
{
ExpandTree(_SelectedRoidBeforeRoEditor);
_SelectedRoidBeforeRoEditor = null;
}
}
private void LoadTree() private void LoadTree()
{ {
if (_MyROFST == null) return; if (_MyROFST == null) return;
@ -468,6 +487,7 @@ namespace Volian.Controls.Library
_MyRTB.inRoAdd = true; _MyRTB.inRoAdd = true;
if (CheckROSelection(roch)) // check for RO type is valid for this type of step/substep if (CheckROSelection(roch)) // check for RO type is valid for this type of step/substep
{ {
//int ss = _MyRTB.SelectionStart;
// the roid may be 12 or 16 chars long, with the last 4 set if there is unit specific // the roid may be 12 or 16 chars long, with the last 4 set if there is unit specific
// menuing. Pad to 12 to store in the rousage table. // menuing. Pad to 12 to store in the rousage table.
string padroid = (roch.roid.Length <= 12) ? roch.roid + "0000" : roch.roid; string padroid = (roch.roid.Length <= 12) ? roch.roid + "0000" : roch.roid;
@ -475,8 +495,14 @@ namespace Volian.Controls.Library
// Resolve symbols and scientific notation in the RO return value // Resolve symbols and scientific notation in the RO return value
string valtxt = ConvertSymbolsAndStuff(selectedChld.value); string valtxt = ConvertSymbolsAndStuff(selectedChld.value);
_MyRTB.InsertRO(valtxt, linktxt); _MyRTB.InsertRO(valtxt, linktxt);
_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length + linktxt.Length, 0); //_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length + linktxt.Length, 0);
int ss = _MyRTB.SelectionStart;
_MyRTB.SaveText(); _MyRTB.SaveText();
//_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length + linktxt.Length, 0);
//_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length, 0);
//_MyRTB.Select(_MyRTB.SelectionStart + 1, 0);
_MyRTB.Select(ss + valtxt.Length + linktxt.Length+1, 0);
//_MyRTB.Select(ss, 0);
_MyRTB.Focus(); _MyRTB.Focus();
} }
_MyRTB.inRoAdd = false; _MyRTB.inRoAdd = false;
@ -649,49 +675,43 @@ namespace Volian.Controls.Library
string outstr = instr; string outstr = instr;
outstr = outstr.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days. outstr = outstr.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days.
//outstr = outstr.Replace(" ", @"\u160?"); // KBR TRY THIS
outstr = outstr.Replace("\xa0", @"\u160?"); // hardspace outstr = outstr.Replace("\xa0", @"\u160?"); // hardspace
outstr = outstr.Replace("\xb0", @"\'b0"); // degree outstr = outstr.Replace("\xb0", @"\'b0"); // degree
outstr = outstr.Replace("\x7f", @"\u916?"); // delta outstr = outstr.Replace("\x7f", @"\f1\u916?\f0"); // delta
outstr = outstr.Replace("\x2265", @"\u8805?"); // greater than or equal outstr = outstr.Replace("\x2265", @"\f1\u8805?\f0"); // greater than or equal
outstr = outstr.Replace("\x2264", @"\u8804?"); // less than or equal outstr = outstr.Replace("\x2264", @"\f1\u8804?\f0"); // less than or equal
outstr = outstr.Replace("\xB1", @"\'b1"); // plus minus outstr = outstr.Replace("\xB1", @"\'b1"); // plus minus
outstr = outstr.Replace("\x3A3", @"\u931?"); // sigma outstr = outstr.Replace("\x3A3", @"\f1\u931?\f0"); // sigma
outstr = outstr.Replace("\x3C4", @"\u947?"); // gamma outstr = outstr.Replace("\x3C4", @"\f1\u947?\f0"); // gamma
outstr = outstr.Replace("\xBD", @"\'bd"); // half outstr = outstr.Replace("\xBD", @"\'bd"); // half
outstr = outstr.Replace("\x25A0", @"\u9604?"); // accum 2584 outstr = outstr.Replace("\x25A0", @"\f1\u9604?\f0"); // accum 2584
outstr = outstr.Replace("\x7", @"\u9679?"); // bullet 25CF outstr = outstr.Replace("\x7", @"\f1\u9679?\f0"); // bullet 25CF
outstr = outstr.Replace("\x2248", @"\u8776?"); // approx eq outstr = outstr.Replace("\x2248", @"\f1\u8776?\f0"); // approx eq
outstr = outstr.Replace("\x2261", @"\u8773?"); // similar eq 2245 outstr = outstr.Replace("\x2261", @"\f1\u8773?\f0"); // similar eq 2245
outstr = outstr.Replace("\xF7", @"\'f7"); // division outstr = outstr.Replace("\xF7", @"\'f7"); // division
outstr = outstr.Replace("\x221A", @"\u8730?"); // square root outstr = outstr.Replace("\x221A", @"\f1\u8730?\f0"); // square root
outstr = outstr.Replace("\x393", @"\u961?"); // rho 3C1 outstr = outstr.Replace("\x393", @"\f1\u961?\f0"); // rho 3C1
outstr = outstr.Replace("\x3C0", @"\u960?"); // pi outstr = outstr.Replace("\x3C0", @"\f1\u960?\f0"); // pi
outstr = outstr.Replace("\xb5", @"\u956?"); // micro 3BC (try e6, if not work try 109) outstr = outstr.Replace("\xb5", @"\f1\u956?\f0"); // micro 3BC (try e6, if not work try 109)
outstr = outstr.Replace("\x3B4", @"\u948?"); // lower case delta outstr = outstr.Replace("\x3B4", @"\f1\u948?\f0"); // lower case delta
outstr = outstr.Replace("\x3C3", @"\u963?"); // lower case sigma outstr = outstr.Replace("\x3C3", @"\f1\u963?\f0"); // lower case sigma
outstr = outstr.Replace("\xBC", @"\'bc"); // quarter outstr = outstr.Replace("\xBC", @"\'bc"); // quarter
outstr = outstr.Replace("\x3C6", @"\'d8"); // dist zero, D8 outstr = outstr.Replace("\x3C6", @"\'d8"); // dist zero, D8
outstr = outstr.Replace("\xC9", @"\u274?"); // energy, 112 outstr = outstr.Replace("\xC9", @"\f1\u274?\f0"); // energy, 112
outstr = outstr.Replace("\xEC", @"\'ec"); // grave outstr = outstr.Replace("\xEC", @"\'ec"); // grave
outstr = outstr.Replace("\x2502", @"\u9474?"); // bar outstr = outstr.Replace("\x2502", @"\f1\u9474?\f0"); // bar
outstr = outstr.Replace("\x3B5", @"\u949?"); // epsilon outstr = outstr.Replace("\x3B5", @"\f1\u949?\f0"); // epsilon
outstr = outstr.Replace("\x398", @"\u952?"); // theta, 3B8 outstr = outstr.Replace("\x398", @"\f1\u952?\f0"); // theta, 3B8
outstr = outstr.Replace("\x221E", @"\u8857?"); // dot in oval, 2299 outstr = outstr.Replace("\x221E", @"\f1\u8857?\f0"); // dot in oval, 2299
outstr = outstr.Replace("\xBF", @"\u964?"); // tau, 3C4 outstr = outstr.Replace("\xBF", @"\f1\u964?\f0"); // tau, 3C4
outstr = outstr.Replace("\x2310", @"\u9830?"); // diamond, 2666 outstr = outstr.Replace("\x2310", @"\f1\u9830?\f0"); // diamond, 2666
outstr = outstr.Replace("\x2192", @"\u8594?"); outstr = outstr.Replace("\x2192", @"\f1\u8594?\f0");
outstr = outstr.Replace("\x2190", @"\u8592?"); outstr = outstr.Replace("\x2190", @"\f1\u8592?\f0");
outstr = outstr.Replace("\x2191", @"\u8593?"); outstr = outstr.Replace("\x2191", @"\f1\u8593?\f0");
outstr = outstr.Replace("\x2193", @"\u8595?"); outstr = outstr.Replace("\x2193", @"\f1\u8595?\f0");
outstr = outstr.Replace("\x2207", @"\u8711?"); outstr = outstr.Replace("\x2207", @"\f1\u8711?\f0");
// DisplayTODO: DO WE NEED TO CHECK WHETHER TO REPLACE ^ CHARACTER FOR SETPOINTS? if (MyRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta)
//if (DoCaret) s2 = s2.Replace("^", @"\u916"); outstr = outstr.Replace("^", @"\f1\u916?\f0");
outstr = outstr.Replace("^", @"\u916");
// OLD: This function is now handled in the ConvertFortranFormatToScienctificNotation
//outstr = ConvertDOSSuperAndSubScripts(outstr);
outstr = ROFSTLookup.ConvertFortranFormatToScienctificNotation(outstr); outstr = ROFSTLookup.ConvertFortranFormatToScienctificNotation(outstr);
return outstr; return outstr;
@ -729,12 +749,20 @@ namespace Volian.Controls.Library
#endregion // utils #endregion // utils
private string _SelectedRoidBeforeRoEditor = null;
private void lbROId_DoubleClick(object sender, EventArgs e) private void lbROId_DoubleClick(object sender, EventArgs e)
{ {
if (tvROFST.SelectedNode == null) return;
string roapp = Environment.GetEnvironmentVariable("roapp"); string roapp = Environment.GetEnvironmentVariable("roapp");
string args = "\"" + _MyROFST.MyRODb.FolderPath + "\" " + CurROLink.ROID.ToLower(); Object obj = tvROFST.SelectedNode.Tag;
if (obj is ROFSTLookup.rochild)
{
ROFSTLookup.rochild roch = (ROFSTLookup.rochild)obj;
_SelectedRoidBeforeRoEditor = roch.roid;
string args = "\"" + _MyROFST.MyRODb.FolderPath + "\" " + roch.roid.ToLower();
System.Diagnostics.Process.Start(roapp, args); System.Diagnostics.Process.Start(roapp, args);
} }
}
#endregion #endregion
private void lbFound_SelectedValueChanged(object sender, EventArgs e) private void lbFound_SelectedValueChanged(object sender, EventArgs e)

View File

@ -49,11 +49,6 @@ namespace Volian.Controls.Library
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.tabSearchTypes = new DevComponents.DotNetBar.TabControl(); this.tabSearchTypes = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.gpFindROs = new DevComponents.DotNetBar.Controls.GroupPanel();
this.cbxFndUnLnkROVals = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cmboTreeROs = new DevComponents.DotNetBar.Controls.ComboTree();
this.tabROSearch = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.gpSrchText = new DevComponents.DotNetBar.Controls.GroupPanel(); this.gpSrchText = new DevComponents.DotNetBar.Controls.GroupPanel();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
@ -66,6 +61,11 @@ namespace Volian.Controls.Library
this.rbtnSrchTxt = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.rbtnSrchTxt = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cbxSrchTypeUsage = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxSrchTypeUsage = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.tabStepTypeSearch = new DevComponents.DotNetBar.TabItem(this.components); this.tabStepTypeSearch = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.gpFindROs = new DevComponents.DotNetBar.Controls.GroupPanel();
this.cbxFndUnLnkROVals = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cmboTreeROs = new DevComponents.DotNetBar.Controls.ComboTree();
this.tabROSearch = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
this.gpSrchAnnoText = new DevComponents.DotNetBar.Controls.GroupPanel(); this.gpSrchAnnoText = new DevComponents.DotNetBar.Controls.GroupPanel();
this.panel4 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel();
@ -102,6 +102,7 @@ namespace Volian.Controls.Library
this.node2 = new DevComponents.AdvTree.Node(); this.node2 = new DevComponents.AdvTree.Node();
this.nodeConnector2 = new DevComponents.AdvTree.NodeConnector(); this.nodeConnector2 = new DevComponents.AdvTree.NodeConnector();
this.grpPanSearchResults = new DevComponents.DotNetBar.Controls.GroupPanel(); this.grpPanSearchResults = new DevComponents.DotNetBar.Controls.GroupPanel();
this.listViewEx1 = new DevComponents.DotNetBar.Controls.ListViewEx();
this.lbSrchResults = new System.Windows.Forms.ListBox(); this.lbSrchResults = new System.Windows.Forms.ListBox();
this.panSearchButtons = new DevComponents.DotNetBar.PanelEx(); this.panSearchButtons = new DevComponents.DotNetBar.PanelEx();
this.btnClearSearchResults = new DevComponents.DotNetBar.ButtonX(); this.btnClearSearchResults = new DevComponents.DotNetBar.ButtonX();
@ -121,12 +122,12 @@ namespace Volian.Controls.Library
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).BeginInit();
this.tabSearchTypes.SuspendLayout(); this.tabSearchTypes.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpFindROs.SuspendLayout();
this.tabControlPanel4.SuspendLayout(); this.tabControlPanel4.SuspendLayout();
this.gpSrchText.SuspendLayout(); this.gpSrchText.SuspendLayout();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpFindROs.SuspendLayout();
this.tabControlPanel3.SuspendLayout(); this.tabControlPanel3.SuspendLayout();
this.gpSrchAnnoText.SuspendLayout(); this.gpSrchAnnoText.SuspendLayout();
this.panel4.SuspendLayout(); this.panel4.SuspendLayout();
@ -150,13 +151,13 @@ namespace Volian.Controls.Library
this.tabSearchTypes.Controls.Add(this.contextMenuBar1); this.tabSearchTypes.Controls.Add(this.contextMenuBar1);
this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top; this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top;
this.tabSearchTypes.Location = new System.Drawing.Point(0, 0); this.tabSearchTypes.Location = new System.Drawing.Point(0, 0);
this.tabSearchTypes.Margin = new System.Windows.Forms.Padding(2); this.tabSearchTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabSearchTypes.Name = "tabSearchTypes"; this.tabSearchTypes.Name = "tabSearchTypes";
this.tabSearchTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; this.tabSearchTypes.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.tabSearchTypes.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tabSearchTypes.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
this.tabSearchTypes.SelectedTabIndex = 0; this.tabSearchTypes.SelectedTabIndex = 0;
this.tabSearchTypes.ShowFocusRectangle = false; this.tabSearchTypes.ShowFocusRectangle = false;
this.tabSearchTypes.Size = new System.Drawing.Size(277, 112); this.tabSearchTypes.Size = new System.Drawing.Size(369, 138);
this.tabSearchTypes.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; this.tabSearchTypes.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document;
this.tabSearchTypes.TabIndex = 0; this.tabSearchTypes.TabIndex = 0;
this.tabSearchTypes.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabSearchTypes.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -166,112 +167,6 @@ namespace Volian.Controls.Library
this.tabSearchTypes.Text = "tabControl1"; this.tabSearchTypes.Text = "tabControl1";
this.tabSearchTypes.ThemeAware = true; this.tabSearchTypes.ThemeAware = true;
// //
// tabControlPanel2
//
this.tabControlPanel2.Controls.Add(this.gpFindROs);
this.tabControlPanel2.Controls.Add(this.cmboTreeROs);
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2);
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(277, 90);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tabROSearch;
//
// gpFindROs
//
this.gpFindROs.CanvasColor = System.Drawing.SystemColors.Control;
this.gpFindROs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.gpFindROs.Controls.Add(this.cbxFndUnLnkROVals);
this.gpFindROs.Dock = System.Windows.Forms.DockStyle.Fill;
this.gpFindROs.Location = new System.Drawing.Point(1, 21);
this.gpFindROs.Margin = new System.Windows.Forms.Padding(2);
this.gpFindROs.Name = "gpFindROs";
this.gpFindROs.Size = new System.Drawing.Size(275, 68);
//
//
//
this.gpFindROs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.gpFindROs.Style.BackColorGradientAngle = 90;
this.gpFindROs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.gpFindROs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderBottomWidth = 1;
this.gpFindROs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.gpFindROs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderLeftWidth = 1;
this.gpFindROs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderRightWidth = 1;
this.gpFindROs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderTopWidth = 1;
this.gpFindROs.Style.Class = "";
this.gpFindROs.Style.CornerDiameter = 4;
this.gpFindROs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.gpFindROs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.gpFindROs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.gpFindROs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.gpFindROs.StyleMouseDown.Class = "";
//
//
//
this.gpFindROs.StyleMouseOver.Class = "";
this.gpFindROs.TabIndex = 3;
this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged);
//
// cbxFndUnLnkROVals
//
this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxFndUnLnkROVals.BackgroundStyle.Class = "";
this.cbxFndUnLnkROVals.Enabled = false;
this.cbxFndUnLnkROVals.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxFndUnLnkROVals.Location = new System.Drawing.Point(0, 3);
this.cbxFndUnLnkROVals.Margin = new System.Windows.Forms.Padding(2);
this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals";
this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(141, 19);
this.cbxFndUnLnkROVals.TabIndex = 2;
this.cbxFndUnLnkROVals.Text = "Find Unlinked Values";
//
// cmboTreeROs
//
this.cmboTreeROs.BackColor = System.Drawing.SystemColors.Window;
//
//
//
this.cmboTreeROs.BackgroundStyle.Class = "TextBoxBorder";
this.cmboTreeROs.ButtonDropDown.Visible = true;
this.cmboTreeROs.Dock = System.Windows.Forms.DockStyle.Top;
this.cmboTreeROs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cmboTreeROs.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.cmboTreeROs.Location = new System.Drawing.Point(1, 1);
this.cmboTreeROs.Margin = new System.Windows.Forms.Padding(2);
this.cmboTreeROs.Name = "cmboTreeROs";
this.cmboTreeROs.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmboTreeROs.Size = new System.Drawing.Size(275, 20);
this.superTooltip1.SetSuperTooltip(this.cmboTreeROs, new DevComponents.DotNetBar.SuperTooltipInfo("Select the RO to Search", "", "Select the Referenced Object to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cmboTreeROs.TabIndex = 1;
this.cmboTreeROs.ThemeAware = true;
this.cmboTreeROs.WatermarkText = "Select an RO to seach";
this.cmboTreeROs.SelectedIndexChanged += new System.EventHandler(this.cmboTreeROs_SelectedIndexChanged);
//
// tabROSearch
//
this.tabROSearch.AttachedControl = this.tabControlPanel2;
this.tabROSearch.Name = "tabROSearch";
this.tabROSearch.Text = "Referenced Objects";
//
// tabControlPanel4 // tabControlPanel4
// //
this.tabControlPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.tabControlPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
@ -279,11 +174,11 @@ namespace Volian.Controls.Library
this.tabControlPanel4.Controls.Add(this.rbtnSrchTxt); this.tabControlPanel4.Controls.Add(this.rbtnSrchTxt);
this.tabControlPanel4.Controls.Add(this.cbxSrchTypeUsage); this.tabControlPanel4.Controls.Add(this.cbxSrchTypeUsage);
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 22); this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(277, 90); this.tabControlPanel4.Size = new System.Drawing.Size(369, 114);
this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -303,10 +198,10 @@ namespace Volian.Controls.Library
this.gpSrchText.Controls.Add(this.panel1); this.gpSrchText.Controls.Add(this.panel1);
this.gpSrchText.Controls.Add(this.panel3); this.gpSrchText.Controls.Add(this.panel3);
this.gpSrchText.Dock = System.Windows.Forms.DockStyle.Fill; this.gpSrchText.Dock = System.Windows.Forms.DockStyle.Fill;
this.gpSrchText.Location = new System.Drawing.Point(23, 1); this.gpSrchText.Location = new System.Drawing.Point(30, 1);
this.gpSrchText.Margin = new System.Windows.Forms.Padding(2); this.gpSrchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.gpSrchText.Name = "gpSrchText"; this.gpSrchText.Name = "gpSrchText";
this.gpSrchText.Size = new System.Drawing.Size(253, 70); this.gpSrchText.Size = new System.Drawing.Size(338, 90);
// //
// //
// //
@ -332,10 +227,12 @@ namespace Volian.Controls.Library
// //
// //
this.gpSrchText.StyleMouseDown.Class = ""; this.gpSrchText.StyleMouseDown.Class = "";
this.gpSrchText.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.gpSrchText.StyleMouseOver.Class = ""; this.gpSrchText.StyleMouseOver.Class = "";
this.gpSrchText.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.gpSrchText.TabIndex = 5; this.gpSrchText.TabIndex = 5;
this.gpSrchText.EnabledChanged += new System.EventHandler(this.gpSrchText_EnabledChanged); this.gpSrchText.EnabledChanged += new System.EventHandler(this.gpSrchText_EnabledChanged);
// //
@ -345,10 +242,10 @@ namespace Volian.Controls.Library
this.panel1.Controls.Add(this.cbxTextSearchText); this.panel1.Controls.Add(this.cbxTextSearchText);
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, -2); this.panel1.Location = new System.Drawing.Point(0, 3);
this.panel1.Margin = new System.Windows.Forms.Padding(2); this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(247, 23); this.panel1.Size = new System.Drawing.Size(332, 28);
this.panel1.TabIndex = 5; this.panel1.TabIndex = 5;
// //
// cbxTextSearchText // cbxTextSearchText
@ -360,10 +257,10 @@ namespace Volian.Controls.Library
this.cbxTextSearchText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxTextSearchText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTextSearchText.FormattingEnabled = true; this.cbxTextSearchText.FormattingEnabled = true;
this.cbxTextSearchText.ItemHeight = 18; this.cbxTextSearchText.ItemHeight = 18;
this.cbxTextSearchText.Location = new System.Drawing.Point(34, 0); this.cbxTextSearchText.Location = new System.Drawing.Point(40, 0);
this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(2); this.cbxTextSearchText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxTextSearchText.Name = "cbxTextSearchText"; this.cbxTextSearchText.Name = "cbxTextSearchText";
this.cbxTextSearchText.Size = new System.Drawing.Size(213, 24); this.cbxTextSearchText.Size = new System.Drawing.Size(292, 24);
this.superTooltip1.SetSuperTooltip(this.cbxTextSearchText, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Enter the text you want to search, or select from the drop down list.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 80))); this.superTooltip1.SetSuperTooltip(this.cbxTextSearchText, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Enter the text you want to search, or select from the drop down list.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 80)));
this.cbxTextSearchText.TabIndex = 2; this.cbxTextSearchText.TabIndex = 2;
this.cbxTextSearchText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxTextSearchText.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -378,10 +275,9 @@ namespace Volian.Controls.Library
this.label1.Dock = System.Windows.Forms.DockStyle.Left; this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); this.label1.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0);
this.label1.Size = new System.Drawing.Size(34, 20); this.label1.Size = new System.Drawing.Size(40, 24);
this.label1.TabIndex = 4; this.label1.TabIndex = 4;
this.label1.Text = "Find:"; this.label1.Text = "Find:";
// //
@ -392,9 +288,10 @@ namespace Volian.Controls.Library
this.panel3.Controls.Add(this.cbxIncROTextSrch); this.panel3.Controls.Add(this.cbxIncROTextSrch);
this.panel3.Controls.Add(this.cbxCaseSensitive); this.panel3.Controls.Add(this.cbxCaseSensitive);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 21); this.panel3.Location = new System.Drawing.Point(0, 31);
this.panel3.Margin = new System.Windows.Forms.Padding(4);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(247, 43); this.panel3.Size = new System.Drawing.Size(332, 53);
this.panel3.TabIndex = 6; this.panel3.TabIndex = 6;
// //
// cbxBooleanTxtSrch // cbxBooleanTxtSrch
@ -403,9 +300,11 @@ namespace Volian.Controls.Library
// //
// //
this.cbxBooleanTxtSrch.BackgroundStyle.Class = ""; this.cbxBooleanTxtSrch.BackgroundStyle.Class = "";
this.cbxBooleanTxtSrch.Location = new System.Drawing.Point(8, 23); this.cbxBooleanTxtSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxBooleanTxtSrch.Location = new System.Drawing.Point(11, 28);
this.cbxBooleanTxtSrch.Margin = new System.Windows.Forms.Padding(4);
this.cbxBooleanTxtSrch.Name = "cbxBooleanTxtSrch"; this.cbxBooleanTxtSrch.Name = "cbxBooleanTxtSrch";
this.cbxBooleanTxtSrch.Size = new System.Drawing.Size(111, 17); this.cbxBooleanTxtSrch.Size = new System.Drawing.Size(148, 21);
this.cbxBooleanTxtSrch.TabIndex = 6; this.cbxBooleanTxtSrch.TabIndex = 6;
this.cbxBooleanTxtSrch.Text = "Boolean Search"; this.cbxBooleanTxtSrch.Text = "Boolean Search";
this.cbxBooleanTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanTxtSrch_CheckedChanged); this.cbxBooleanTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanTxtSrch_CheckedChanged);
@ -416,13 +315,15 @@ namespace Volian.Controls.Library
// //
// //
this.cbxIncROTextSrch.BackgroundStyle.Class = ""; this.cbxIncROTextSrch.BackgroundStyle.Class = "";
this.cbxIncROTextSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxIncROTextSrch.Checked = true; this.cbxIncROTextSrch.Checked = true;
this.cbxIncROTextSrch.CheckState = System.Windows.Forms.CheckState.Checked; this.cbxIncROTextSrch.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxIncROTextSrch.CheckValue = "Y"; this.cbxIncROTextSrch.CheckValue = "Y";
this.cbxIncROTextSrch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxIncROTextSrch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxIncROTextSrch.Location = new System.Drawing.Point(113, 1); this.cbxIncROTextSrch.Location = new System.Drawing.Point(151, 1);
this.cbxIncROTextSrch.Margin = new System.Windows.Forms.Padding(4);
this.cbxIncROTextSrch.Name = "cbxIncROTextSrch"; this.cbxIncROTextSrch.Name = "cbxIncROTextSrch";
this.cbxIncROTextSrch.Size = new System.Drawing.Size(112, 20); this.cbxIncROTextSrch.Size = new System.Drawing.Size(149, 25);
this.cbxIncROTextSrch.TabIndex = 5; this.cbxIncROTextSrch.TabIndex = 5;
this.cbxIncROTextSrch.Text = "Search RO Text"; this.cbxIncROTextSrch.Text = "Search RO Text";
// //
@ -433,11 +334,12 @@ namespace Volian.Controls.Library
// //
// //
this.cbxCaseSensitive.BackgroundStyle.Class = ""; this.cbxCaseSensitive.BackgroundStyle.Class = "";
this.cbxCaseSensitive.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxCaseSensitive.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxCaseSensitive.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxCaseSensitive.Location = new System.Drawing.Point(8, 1); this.cbxCaseSensitive.Location = new System.Drawing.Point(11, 1);
this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(2); this.cbxCaseSensitive.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxCaseSensitive.Name = "cbxCaseSensitive"; this.cbxCaseSensitive.Name = "cbxCaseSensitive";
this.cbxCaseSensitive.Size = new System.Drawing.Size(104, 20); this.cbxCaseSensitive.Size = new System.Drawing.Size(139, 25);
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" + this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" +
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100))); " you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxCaseSensitive.TabIndex = 3; this.cbxCaseSensitive.TabIndex = 3;
@ -450,6 +352,7 @@ namespace Volian.Controls.Library
// //
// //
this.rbtnSrchTxt.BackgroundStyle.Class = ""; this.rbtnSrchTxt.BackgroundStyle.Class = "";
this.rbtnSrchTxt.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.rbtnSrchTxt.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; this.rbtnSrchTxt.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.rbtnSrchTxt.Checked = true; this.rbtnSrchTxt.Checked = true;
this.rbtnSrchTxt.CheckState = System.Windows.Forms.CheckState.Checked; this.rbtnSrchTxt.CheckState = System.Windows.Forms.CheckState.Checked;
@ -457,9 +360,9 @@ namespace Volian.Controls.Library
this.rbtnSrchTxt.Dock = System.Windows.Forms.DockStyle.Left; this.rbtnSrchTxt.Dock = System.Windows.Forms.DockStyle.Left;
this.rbtnSrchTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rbtnSrchTxt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbtnSrchTxt.Location = new System.Drawing.Point(1, 1); this.rbtnSrchTxt.Location = new System.Drawing.Point(1, 1);
this.rbtnSrchTxt.Margin = new System.Windows.Forms.Padding(2); this.rbtnSrchTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rbtnSrchTxt.Name = "rbtnSrchTxt"; this.rbtnSrchTxt.Name = "rbtnSrchTxt";
this.rbtnSrchTxt.Size = new System.Drawing.Size(22, 70); this.rbtnSrchTxt.Size = new System.Drawing.Size(29, 90);
this.rbtnSrchTxt.TabIndex = 6; this.rbtnSrchTxt.TabIndex = 6;
this.rbtnSrchTxt.CheckedChanged += new System.EventHandler(this.rbtnSrchTxt_CheckedChanged); this.rbtnSrchTxt.CheckedChanged += new System.EventHandler(this.rbtnSrchTxt_CheckedChanged);
// //
@ -470,13 +373,14 @@ namespace Volian.Controls.Library
// //
// //
this.cbxSrchTypeUsage.BackgroundStyle.Class = ""; this.cbxSrchTypeUsage.BackgroundStyle.Class = "";
this.cbxSrchTypeUsage.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxSrchTypeUsage.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; this.cbxSrchTypeUsage.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.cbxSrchTypeUsage.Dock = System.Windows.Forms.DockStyle.Bottom; this.cbxSrchTypeUsage.Dock = System.Windows.Forms.DockStyle.Bottom;
this.cbxSrchTypeUsage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxSrchTypeUsage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxSrchTypeUsage.Location = new System.Drawing.Point(1, 71); this.cbxSrchTypeUsage.Location = new System.Drawing.Point(1, 91);
this.cbxSrchTypeUsage.Margin = new System.Windows.Forms.Padding(2); this.cbxSrchTypeUsage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxSrchTypeUsage.Name = "cbxSrchTypeUsage"; this.cbxSrchTypeUsage.Name = "cbxSrchTypeUsage";
this.cbxSrchTypeUsage.Size = new System.Drawing.Size(275, 18); this.cbxSrchTypeUsage.Size = new System.Drawing.Size(367, 22);
this.cbxSrchTypeUsage.TabIndex = 4; this.cbxSrchTypeUsage.TabIndex = 4;
this.cbxSrchTypeUsage.Text = " Find Selected Types"; this.cbxSrchTypeUsage.Text = " Find Selected Types";
this.cbxSrchTypeUsage.CheckedChanged += new System.EventHandler(this.cbxSrchTypeUsage_CheckedChanged); this.cbxSrchTypeUsage.CheckedChanged += new System.EventHandler(this.cbxSrchTypeUsage_CheckedChanged);
@ -490,16 +394,126 @@ namespace Volian.Controls.Library
this.tabStepTypeSearch.Text = "Text"; this.tabStepTypeSearch.Text = "Text";
this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click); this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click);
// //
// tabControlPanel2
//
this.tabControlPanel2.Controls.Add(this.gpFindROs);
this.tabControlPanel2.Controls.Add(this.cmboTreeROs);
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel2.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(369, 114);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tabROSearch;
//
// gpFindROs
//
this.gpFindROs.CanvasColor = System.Drawing.SystemColors.Control;
this.gpFindROs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.gpFindROs.Controls.Add(this.cbxFndUnLnkROVals);
this.gpFindROs.Dock = System.Windows.Forms.DockStyle.Fill;
this.gpFindROs.Location = new System.Drawing.Point(1, 26);
this.gpFindROs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.gpFindROs.Name = "gpFindROs";
this.gpFindROs.Size = new System.Drawing.Size(367, 87);
//
//
//
this.gpFindROs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.gpFindROs.Style.BackColorGradientAngle = 90;
this.gpFindROs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.gpFindROs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderBottomWidth = 1;
this.gpFindROs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.gpFindROs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderLeftWidth = 1;
this.gpFindROs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderRightWidth = 1;
this.gpFindROs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpFindROs.Style.BorderTopWidth = 1;
this.gpFindROs.Style.Class = "";
this.gpFindROs.Style.CornerDiameter = 4;
this.gpFindROs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.gpFindROs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.gpFindROs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.gpFindROs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.gpFindROs.StyleMouseDown.Class = "";
this.gpFindROs.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.gpFindROs.StyleMouseOver.Class = "";
this.gpFindROs.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.gpFindROs.TabIndex = 3;
this.gpFindROs.EnabledChanged += new System.EventHandler(this.gpFindROs_EnabledChanged);
//
// cbxFndUnLnkROVals
//
this.cbxFndUnLnkROVals.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.cbxFndUnLnkROVals.BackgroundStyle.Class = "";
this.cbxFndUnLnkROVals.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxFndUnLnkROVals.Enabled = false;
this.cbxFndUnLnkROVals.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxFndUnLnkROVals.Location = new System.Drawing.Point(0, 4);
this.cbxFndUnLnkROVals.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals";
this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(188, 23);
this.cbxFndUnLnkROVals.TabIndex = 2;
this.cbxFndUnLnkROVals.Text = "Find Unlinked Values";
//
// cmboTreeROs
//
this.cmboTreeROs.BackColor = System.Drawing.SystemColors.Window;
//
//
//
this.cmboTreeROs.BackgroundStyle.Class = "TextBoxBorder";
this.cmboTreeROs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cmboTreeROs.ButtonDropDown.Visible = true;
this.cmboTreeROs.Dock = System.Windows.Forms.DockStyle.Top;
this.cmboTreeROs.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cmboTreeROs.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.cmboTreeROs.Location = new System.Drawing.Point(1, 1);
this.cmboTreeROs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cmboTreeROs.Name = "cmboTreeROs";
this.cmboTreeROs.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmboTreeROs.Size = new System.Drawing.Size(367, 25);
this.superTooltip1.SetSuperTooltip(this.cmboTreeROs, new DevComponents.DotNetBar.SuperTooltipInfo("Select the RO to Search", "", "Select the Referenced Object to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cmboTreeROs.TabIndex = 1;
this.cmboTreeROs.ThemeAware = true;
this.cmboTreeROs.WatermarkText = "Select an RO to seach";
this.cmboTreeROs.SelectedIndexChanged += new System.EventHandler(this.cmboTreeROs_SelectedIndexChanged);
//
// tabROSearch
//
this.tabROSearch.AttachedControl = this.tabControlPanel2;
this.tabROSearch.Name = "tabROSearch";
this.tabROSearch.Text = "Referenced Objects";
//
// tabControlPanel3 // tabControlPanel3
// //
this.tabControlPanel3.Controls.Add(this.gpSrchAnnoText); this.tabControlPanel3.Controls.Add(this.gpSrchAnnoText);
this.tabControlPanel3.Controls.Add(this.cbxAnnoTypes); this.tabControlPanel3.Controls.Add(this.cbxAnnoTypes);
this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel3.Location = new System.Drawing.Point(0, 22); this.tabControlPanel3.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Name = "tabControlPanel3";
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel3.Size = new System.Drawing.Size(277, 90); this.tabControlPanel3.Size = new System.Drawing.Size(369, 114);
this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -519,9 +533,9 @@ namespace Volian.Controls.Library
this.gpSrchAnnoText.Dock = System.Windows.Forms.DockStyle.Fill; this.gpSrchAnnoText.Dock = System.Windows.Forms.DockStyle.Fill;
this.gpSrchAnnoText.Enabled = false; this.gpSrchAnnoText.Enabled = false;
this.gpSrchAnnoText.Location = new System.Drawing.Point(1, 25); this.gpSrchAnnoText.Location = new System.Drawing.Point(1, 25);
this.gpSrchAnnoText.Margin = new System.Windows.Forms.Padding(2); this.gpSrchAnnoText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.gpSrchAnnoText.Name = "gpSrchAnnoText"; this.gpSrchAnnoText.Name = "gpSrchAnnoText";
this.gpSrchAnnoText.Size = new System.Drawing.Size(275, 64); this.gpSrchAnnoText.Size = new System.Drawing.Size(367, 88);
// //
// //
// //
@ -547,10 +561,12 @@ namespace Volian.Controls.Library
// //
// //
this.gpSrchAnnoText.StyleMouseDown.Class = ""; this.gpSrchAnnoText.StyleMouseDown.Class = "";
this.gpSrchAnnoText.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.gpSrchAnnoText.StyleMouseOver.Class = ""; this.gpSrchAnnoText.StyleMouseOver.Class = "";
this.gpSrchAnnoText.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.gpSrchAnnoText.TabIndex = 6; this.gpSrchAnnoText.TabIndex = 6;
this.gpSrchAnnoText.EnabledChanged += new System.EventHandler(this.gpSrchAnnoText_EnabledChanged); this.gpSrchAnnoText.EnabledChanged += new System.EventHandler(this.gpSrchAnnoText_EnabledChanged);
// //
@ -563,9 +579,9 @@ namespace Volian.Controls.Library
this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.label2);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Margin = new System.Windows.Forms.Padding(2); this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel4.Name = "panel4"; this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(269, 62); this.panel4.Size = new System.Drawing.Size(361, 76);
this.panel4.TabIndex = 9; this.panel4.TabIndex = 9;
// //
// cbxBooleanAnoTxtSrch // cbxBooleanAnoTxtSrch
@ -574,9 +590,11 @@ namespace Volian.Controls.Library
// //
// //
this.cbxBooleanAnoTxtSrch.BackgroundStyle.Class = ""; this.cbxBooleanAnoTxtSrch.BackgroundStyle.Class = "";
this.cbxBooleanAnoTxtSrch.Location = new System.Drawing.Point(12, 41); this.cbxBooleanAnoTxtSrch.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxBooleanAnoTxtSrch.Location = new System.Drawing.Point(16, 50);
this.cbxBooleanAnoTxtSrch.Margin = new System.Windows.Forms.Padding(4);
this.cbxBooleanAnoTxtSrch.Name = "cbxBooleanAnoTxtSrch"; this.cbxBooleanAnoTxtSrch.Name = "cbxBooleanAnoTxtSrch";
this.cbxBooleanAnoTxtSrch.Size = new System.Drawing.Size(111, 17); this.cbxBooleanAnoTxtSrch.Size = new System.Drawing.Size(148, 21);
this.cbxBooleanAnoTxtSrch.TabIndex = 8; this.cbxBooleanAnoTxtSrch.TabIndex = 8;
this.cbxBooleanAnoTxtSrch.Text = "Boolean Search"; this.cbxBooleanAnoTxtSrch.Text = "Boolean Search";
this.cbxBooleanAnoTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanAnoTxtSrch_CheckedChanged); this.cbxBooleanAnoTxtSrch.CheckedChanged += new System.EventHandler(this.cbxBooleanAnoTxtSrch_CheckedChanged);
@ -589,12 +607,13 @@ namespace Volian.Controls.Library
// //
// //
this.cbxCaseSensitiveAnnoText.BackgroundStyle.Class = ""; this.cbxCaseSensitiveAnnoText.BackgroundStyle.Class = "";
this.cbxCaseSensitiveAnnoText.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbxCaseSensitiveAnnoText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxCaseSensitiveAnnoText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxCaseSensitiveAnnoText.Location = new System.Drawing.Point(12, 25); this.cbxCaseSensitiveAnnoText.Location = new System.Drawing.Point(16, 31);
this.cbxCaseSensitiveAnnoText.Margin = new System.Windows.Forms.Padding(2); this.cbxCaseSensitiveAnnoText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxCaseSensitiveAnnoText.Name = "cbxCaseSensitiveAnnoText"; this.cbxCaseSensitiveAnnoText.Name = "cbxCaseSensitiveAnnoText";
this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(103, 16); this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(123, 19);
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitiveAnnoText, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" + this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitiveAnnoText, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" +
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100))); " you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
this.cbxCaseSensitiveAnnoText.TabIndex = 5; this.cbxCaseSensitiveAnnoText.TabIndex = 5;
@ -609,11 +628,11 @@ namespace Volian.Controls.Library
this.cbxTextSearchAnnotation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxTextSearchAnnotation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxTextSearchAnnotation.FormattingEnabled = true; this.cbxTextSearchAnnotation.FormattingEnabled = true;
this.cbxTextSearchAnnotation.ItemHeight = 18; this.cbxTextSearchAnnotation.ItemHeight = 18;
this.cbxTextSearchAnnotation.Location = new System.Drawing.Point(34, 0); this.cbxTextSearchAnnotation.Location = new System.Drawing.Point(40, 0);
this.cbxTextSearchAnnotation.Margin = new System.Windows.Forms.Padding(2); this.cbxTextSearchAnnotation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxTextSearchAnnotation.Name = "cbxTextSearchAnnotation"; this.cbxTextSearchAnnotation.Name = "cbxTextSearchAnnotation";
this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(235, 24); this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(321, 24);
this.superTooltip1.SetSuperTooltip(this.cbxTextSearchAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Annotaion Text", "", "Enter Annotation text to search for or select from the dropdown list.\r\n\r\nLeave Bl" + this.superTooltip1.SetSuperTooltip(this.cbxTextSearchAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Annotaion Text", "", "Enter Annotation text to search for or select from the dropdown list.\r\n\r\nLeave Bl" +
"ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140))); "ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140)));
this.cbxTextSearchAnnotation.TabIndex = 6; this.cbxTextSearchAnnotation.TabIndex = 6;
@ -629,10 +648,9 @@ namespace Volian.Controls.Library
this.label2.Dock = System.Windows.Forms.DockStyle.Left; this.label2.Dock = System.Windows.Forms.DockStyle.Left;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); this.label2.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0);
this.label2.Size = new System.Drawing.Size(34, 20); this.label2.Size = new System.Drawing.Size(40, 24);
this.label2.TabIndex = 7; this.label2.TabIndex = 7;
this.label2.Text = "Find:"; this.label2.Text = "Find:";
// //
@ -646,10 +664,10 @@ namespace Volian.Controls.Library
this.cbxAnnoTypes.FormattingEnabled = true; this.cbxAnnoTypes.FormattingEnabled = true;
this.cbxAnnoTypes.ItemHeight = 18; this.cbxAnnoTypes.ItemHeight = 18;
this.cbxAnnoTypes.Location = new System.Drawing.Point(1, 1); this.cbxAnnoTypes.Location = new System.Drawing.Point(1, 1);
this.cbxAnnoTypes.Margin = new System.Windows.Forms.Padding(2); this.cbxAnnoTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbxAnnoTypes.Name = "cbxAnnoTypes"; this.cbxAnnoTypes.Name = "cbxAnnoTypes";
this.cbxAnnoTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cbxAnnoTypes.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbxAnnoTypes.Size = new System.Drawing.Size(275, 24); this.cbxAnnoTypes.Size = new System.Drawing.Size(367, 24);
this.superTooltip1.SetSuperTooltip(this.cbxAnnoTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Type", "", "Select the type of annotation to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(192, 61))); this.superTooltip1.SetSuperTooltip(this.cbxAnnoTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Type", "", "Select the type of annotation to search for.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(192, 61)));
this.cbxAnnoTypes.TabIndex = 0; this.cbxAnnoTypes.TabIndex = 0;
this.cbxAnnoTypes.WatermarkText = "Select AnnotationType to Search"; this.cbxAnnoTypes.WatermarkText = "Select AnnotationType to Search";
@ -666,10 +684,10 @@ namespace Volian.Controls.Library
this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Top;
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.btnCMIFindText}); this.btnCMIFindText});
this.contextMenuBar1.Location = new System.Drawing.Point(225, -3); this.contextMenuBar1.Location = new System.Drawing.Point(300, -4);
this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2); this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.contextMenuBar1.Name = "contextMenuBar1"; this.contextMenuBar1.Name = "contextMenuBar1";
this.contextMenuBar1.Size = new System.Drawing.Size(56, 25); this.contextMenuBar1.Size = new System.Drawing.Size(75, 29);
this.contextMenuBar1.Stretch = true; this.contextMenuBar1.Stretch = true;
this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.contextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
this.contextMenuBar1.TabIndex = 6; this.contextMenuBar1.TabIndex = 6;
@ -753,6 +771,7 @@ namespace Volian.Controls.Library
// //
// //
this.galSymbols.BackgroundStyle.Class = ""; this.galSymbols.BackgroundStyle.Class = "";
this.galSymbols.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.galSymbols.EnableGalleryPopup = false; this.galSymbols.EnableGalleryPopup = false;
this.galSymbols.MinimumSize = new System.Drawing.Size(150, 200); this.galSymbols.MinimumSize = new System.Drawing.Size(150, 200);
this.galSymbols.Name = "galSymbols"; this.galSymbols.Name = "galSymbols";
@ -822,12 +841,13 @@ namespace Volian.Controls.Library
// //
// //
this.advTreeProcSets.BackgroundStyle.Class = "TreeBorderKey"; this.advTreeProcSets.BackgroundStyle.Class = "TreeBorderKey";
this.advTreeProcSets.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.advTreeProcSets.CellStyleSelected = this.elementStyle1; this.advTreeProcSets.CellStyleSelected = this.elementStyle1;
this.advTreeProcSets.Dock = System.Windows.Forms.DockStyle.Fill; this.advTreeProcSets.Dock = System.Windows.Forms.DockStyle.Fill;
this.advTreeProcSets.DragDropEnabled = false; this.advTreeProcSets.DragDropEnabled = false;
this.advTreeProcSets.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.advTreeProcSets.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.advTreeProcSets.Location = new System.Drawing.Point(0, 21); this.advTreeProcSets.Location = new System.Drawing.Point(0, 26);
this.advTreeProcSets.Margin = new System.Windows.Forms.Padding(2); this.advTreeProcSets.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.advTreeProcSets.MultiSelect = true; this.advTreeProcSets.MultiSelect = true;
this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
this.advTreeProcSets.Name = "advTreeProcSets"; this.advTreeProcSets.Name = "advTreeProcSets";
@ -838,7 +858,7 @@ namespace Volian.Controls.Library
this.advTreeProcSets.NodeStyleSelected = this.elementStyle1; this.advTreeProcSets.NodeStyleSelected = this.elementStyle1;
this.advTreeProcSets.PathSeparator = ";"; this.advTreeProcSets.PathSeparator = ";";
this.advTreeProcSets.RightToLeft = System.Windows.Forms.RightToLeft.No; this.advTreeProcSets.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.advTreeProcSets.Size = new System.Drawing.Size(277, 137); this.advTreeProcSets.Size = new System.Drawing.Size(369, 168);
this.advTreeProcSets.Styles.Add(this.elementStyle1); this.advTreeProcSets.Styles.Add(this.elementStyle1);
this.advTreeProcSets.TabIndex = 0; this.advTreeProcSets.TabIndex = 0;
this.advTreeProcSets.Text = "advTree1"; this.advTreeProcSets.Text = "advTree1";
@ -848,6 +868,7 @@ namespace Volian.Controls.Library
// elementStyle1 // elementStyle1
// //
this.elementStyle1.Class = ""; this.elementStyle1.Class = "";
this.elementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.Name = "elementStyle1";
this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText;
// //
@ -869,12 +890,13 @@ namespace Volian.Controls.Library
// //
// //
this.advTreeStepTypes.BackgroundStyle.Class = "TreeBorderKey"; this.advTreeStepTypes.BackgroundStyle.Class = "TreeBorderKey";
this.advTreeStepTypes.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.advTreeStepTypes.CellStyleSelected = this.elementStyle2; this.advTreeStepTypes.CellStyleSelected = this.elementStyle2;
this.advTreeStepTypes.Dock = System.Windows.Forms.DockStyle.Fill; this.advTreeStepTypes.Dock = System.Windows.Forms.DockStyle.Fill;
this.advTreeStepTypes.DragDropEnabled = false; this.advTreeStepTypes.DragDropEnabled = false;
this.advTreeStepTypes.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.advTreeStepTypes.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.advTreeStepTypes.Location = new System.Drawing.Point(0, 21); this.advTreeStepTypes.Location = new System.Drawing.Point(0, 26);
this.advTreeStepTypes.Margin = new System.Windows.Forms.Padding(2); this.advTreeStepTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.advTreeStepTypes.MultiSelect = true; this.advTreeStepTypes.MultiSelect = true;
this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode; this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
this.advTreeStepTypes.Name = "advTreeStepTypes"; this.advTreeStepTypes.Name = "advTreeStepTypes";
@ -886,7 +908,7 @@ namespace Volian.Controls.Library
this.advTreeStepTypes.PathSeparator = ";"; this.advTreeStepTypes.PathSeparator = ";";
this.advTreeStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; this.advTreeStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.advTreeStepTypes.SelectionPerCell = true; this.advTreeStepTypes.SelectionPerCell = true;
this.advTreeStepTypes.Size = new System.Drawing.Size(277, 125); this.advTreeStepTypes.Size = new System.Drawing.Size(369, 154);
this.advTreeStepTypes.Styles.Add(this.elementStyle2); this.advTreeStepTypes.Styles.Add(this.elementStyle2);
this.advTreeStepTypes.TabIndex = 0; this.advTreeStepTypes.TabIndex = 0;
this.advTreeStepTypes.Text = "advTree1"; this.advTreeStepTypes.Text = "advTree1";
@ -895,6 +917,7 @@ namespace Volian.Controls.Library
// elementStyle2 // elementStyle2
// //
this.elementStyle2.Class = ""; this.elementStyle2.Class = "";
this.elementStyle2.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.elementStyle2.Name = "elementStyle2"; this.elementStyle2.Name = "elementStyle2";
this.elementStyle2.TextColor = System.Drawing.SystemColors.ControlText; this.elementStyle2.TextColor = System.Drawing.SystemColors.ControlText;
// //
@ -912,12 +935,13 @@ namespace Volian.Controls.Library
// //
this.grpPanSearchResults.CanvasColor = System.Drawing.SystemColors.Control; this.grpPanSearchResults.CanvasColor = System.Drawing.SystemColors.Control;
this.grpPanSearchResults.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.grpPanSearchResults.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.grpPanSearchResults.Controls.Add(this.listViewEx1);
this.grpPanSearchResults.Controls.Add(this.lbSrchResults); this.grpPanSearchResults.Controls.Add(this.lbSrchResults);
this.grpPanSearchResults.Dock = System.Windows.Forms.DockStyle.Fill; this.grpPanSearchResults.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpPanSearchResults.Location = new System.Drawing.Point(0, 475); this.grpPanSearchResults.Location = new System.Drawing.Point(0, 585);
this.grpPanSearchResults.Margin = new System.Windows.Forms.Padding(2); this.grpPanSearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.grpPanSearchResults.Name = "grpPanSearchResults"; this.grpPanSearchResults.Name = "grpPanSearchResults";
this.grpPanSearchResults.Size = new System.Drawing.Size(277, 201); this.grpPanSearchResults.Size = new System.Drawing.Size(369, 247);
// //
// //
// //
@ -943,23 +967,39 @@ namespace Volian.Controls.Library
// //
// //
this.grpPanSearchResults.StyleMouseDown.Class = ""; this.grpPanSearchResults.StyleMouseDown.Class = "";
this.grpPanSearchResults.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.grpPanSearchResults.StyleMouseOver.Class = ""; this.grpPanSearchResults.StyleMouseOver.Class = "";
this.grpPanSearchResults.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.grpPanSearchResults.TabIndex = 3; this.grpPanSearchResults.TabIndex = 3;
this.grpPanSearchResults.Text = "Search Results"; this.grpPanSearchResults.Text = "Search Results";
// //
// listViewEx1
//
//
//
//
this.listViewEx1.Border.Class = "ListViewBorder";
this.listViewEx1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.listViewEx1.Location = new System.Drawing.Point(288, 40);
this.listViewEx1.Name = "listViewEx1";
this.listViewEx1.Size = new System.Drawing.Size(121, 97);
this.listViewEx1.TabIndex = 1;
this.listViewEx1.UseCompatibleStateImageBehavior = false;
//
// lbSrchResults // lbSrchResults
// //
this.lbSrchResults.Dock = System.Windows.Forms.DockStyle.Fill; this.lbSrchResults.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbSrchResults.FormattingEnabled = true; this.lbSrchResults.FormattingEnabled = true;
this.lbSrchResults.HorizontalScrollbar = true; this.lbSrchResults.HorizontalScrollbar = true;
this.lbSrchResults.ItemHeight = 16;
this.lbSrchResults.Location = new System.Drawing.Point(0, 0); this.lbSrchResults.Location = new System.Drawing.Point(0, 0);
this.lbSrchResults.Margin = new System.Windows.Forms.Padding(2); this.lbSrchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.lbSrchResults.Name = "lbSrchResults"; this.lbSrchResults.Name = "lbSrchResults";
this.lbSrchResults.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lbSrchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.lbSrchResults.Size = new System.Drawing.Size(271, 173); this.lbSrchResults.Size = new System.Drawing.Size(363, 212);
this.lbSrchResults.TabIndex = 0; this.lbSrchResults.TabIndex = 0;
this.lbSrchResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbSrchResults_MouseMove); this.lbSrchResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbSrchResults_MouseMove);
this.lbSrchResults.SelectedValueChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged); this.lbSrchResults.SelectedValueChanged += new System.EventHandler(this.lbSrchResults_SelectedValueChanged);
@ -975,10 +1015,10 @@ namespace Volian.Controls.Library
this.panSearchButtons.Controls.Add(this.btnSearch); this.panSearchButtons.Controls.Add(this.btnSearch);
this.panSearchButtons.Controls.Add(this.btnPrnSrchRslts); this.panSearchButtons.Controls.Add(this.btnPrnSrchRslts);
this.panSearchButtons.Dock = System.Windows.Forms.DockStyle.Top; this.panSearchButtons.Dock = System.Windows.Forms.DockStyle.Top;
this.panSearchButtons.Location = new System.Drawing.Point(0, 416); this.panSearchButtons.Location = new System.Drawing.Point(0, 512);
this.panSearchButtons.Margin = new System.Windows.Forms.Padding(2); this.panSearchButtons.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panSearchButtons.Name = "panSearchButtons"; this.panSearchButtons.Name = "panSearchButtons";
this.panSearchButtons.Size = new System.Drawing.Size(277, 59); this.panSearchButtons.Size = new System.Drawing.Size(369, 73);
this.panSearchButtons.Style.Alignment = System.Drawing.StringAlignment.Center; this.panSearchButtons.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panSearchButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panSearchButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panSearchButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panSearchButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -993,13 +1033,14 @@ namespace Volian.Controls.Library
// btnClearSearchResults // btnClearSearchResults
// //
this.btnClearSearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnClearSearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnClearSearchResults.CallBasePaintBackground = true;
this.btnClearSearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.btnClearSearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
this.btnClearSearchResults.Enabled = false; this.btnClearSearchResults.Enabled = false;
this.btnClearSearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClearSearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnClearSearchResults.Location = new System.Drawing.Point(225, 5); this.btnClearSearchResults.Location = new System.Drawing.Point(300, 6);
this.btnClearSearchResults.Margin = new System.Windows.Forms.Padding(2); this.btnClearSearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnClearSearchResults.Name = "btnClearSearchResults"; this.btnClearSearchResults.Name = "btnClearSearchResults";
this.btnClearSearchResults.Size = new System.Drawing.Size(43, 23); this.btnClearSearchResults.Size = new System.Drawing.Size(57, 28);
this.superTooltip1.SetSuperTooltip(this.btnClearSearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); this.superTooltip1.SetSuperTooltip(this.btnClearSearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76)));
this.btnClearSearchResults.TabIndex = 11; this.btnClearSearchResults.TabIndex = 11;
this.btnClearSearchResults.Text = "Clear"; this.btnClearSearchResults.Text = "Clear";
@ -1009,13 +1050,14 @@ namespace Volian.Controls.Library
// btnCopySearchResults // btnCopySearchResults
// //
this.btnCopySearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnCopySearchResults.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnCopySearchResults.CallBasePaintBackground = true;
this.btnCopySearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.btnCopySearchResults.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
this.btnCopySearchResults.Enabled = false; this.btnCopySearchResults.Enabled = false;
this.btnCopySearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCopySearchResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCopySearchResults.Location = new System.Drawing.Point(105, 29); this.btnCopySearchResults.Location = new System.Drawing.Point(140, 36);
this.btnCopySearchResults.Margin = new System.Windows.Forms.Padding(2); this.btnCopySearchResults.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnCopySearchResults.Name = "btnCopySearchResults"; this.btnCopySearchResults.Name = "btnCopySearchResults";
this.btnCopySearchResults.Size = new System.Drawing.Size(43, 23); this.btnCopySearchResults.Size = new System.Drawing.Size(57, 28);
this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76)));
this.btnCopySearchResults.TabIndex = 10; this.btnCopySearchResults.TabIndex = 10;
this.btnCopySearchResults.Text = "Copy"; this.btnCopySearchResults.Text = "Copy";
@ -1028,12 +1070,13 @@ namespace Volian.Controls.Library
// //
// //
this.labelX1.BackgroundStyle.Class = ""; this.labelX1.BackgroundStyle.Class = "";
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelX1.Location = new System.Drawing.Point(3, 5); this.labelX1.Location = new System.Drawing.Point(4, 6);
this.labelX1.Margin = new System.Windows.Forms.Padding(2); this.labelX1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.labelX1.Name = "labelX1"; this.labelX1.Name = "labelX1";
this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.labelX1.Size = new System.Drawing.Size(81, 19); this.labelX1.Size = new System.Drawing.Size(108, 23);
this.labelX1.TabIndex = 9; this.labelX1.TabIndex = 9;
this.labelX1.Text = "Results Style:"; this.labelX1.Text = "Results Style:";
// //
@ -1049,11 +1092,11 @@ namespace Volian.Controls.Library
this.comboItem2, this.comboItem2,
this.comboItem3, this.comboItem3,
this.comboItem4}); this.comboItem4});
this.cmbResultsStyle.Location = new System.Drawing.Point(88, 5); this.cmbResultsStyle.Location = new System.Drawing.Point(117, 6);
this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(2); this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cmbResultsStyle.Name = "cmbResultsStyle"; this.cmbResultsStyle.Name = "cmbResultsStyle";
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cmbResultsStyle.Size = new System.Drawing.Size(132, 21); this.cmbResultsStyle.Size = new System.Drawing.Size(175, 21);
this.cmbResultsStyle.TabIndex = 8; this.cmbResultsStyle.TabIndex = 8;
this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged); this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged);
// //
@ -1079,12 +1122,13 @@ namespace Volian.Controls.Library
// //
// //
this.cbSorted.BackgroundStyle.Class = ""; this.cbSorted.BackgroundStyle.Class = "";
this.cbSorted.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbSorted.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbSorted.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbSorted.Location = new System.Drawing.Point(172, 30); this.cbSorted.Location = new System.Drawing.Point(229, 37);
this.cbSorted.Margin = new System.Windows.Forms.Padding(2); this.cbSorted.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbSorted.Name = "cbSorted"; this.cbSorted.Name = "cbSorted";
this.cbSorted.RightToLeft = System.Windows.Forms.RightToLeft.No; this.cbSorted.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.cbSorted.Size = new System.Drawing.Size(100, 19); this.cbSorted.Size = new System.Drawing.Size(133, 23);
this.cbSorted.TabIndex = 7; this.cbSorted.TabIndex = 7;
this.cbSorted.Text = "Sort Results"; this.cbSorted.Text = "Sort Results";
this.cbSorted.CheckedChanged += new System.EventHandler(this.cbSorted_CheckedChanged); this.cbSorted.CheckedChanged += new System.EventHandler(this.cbSorted_CheckedChanged);
@ -1093,12 +1137,13 @@ namespace Volian.Controls.Library
// //
this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSearch.BackColor = System.Drawing.SystemColors.Control; this.btnSearch.BackColor = System.Drawing.SystemColors.Control;
this.btnSearch.CallBasePaintBackground = true;
this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnSearch.Location = new System.Drawing.Point(4, 29); this.btnSearch.Location = new System.Drawing.Point(5, 36);
this.btnSearch.Margin = new System.Windows.Forms.Padding(2); this.btnSearch.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnSearch.Name = "btnSearch"; this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(50, 23); this.btnSearch.Size = new System.Drawing.Size(67, 28);
this.superTooltip1.SetSuperTooltip(this.btnSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search Button", "", "This will preform the search and place the results below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80))); this.superTooltip1.SetSuperTooltip(this.btnSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search Button", "", "This will preform the search and place the results below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
this.btnSearch.TabIndex = 4; this.btnSearch.TabIndex = 4;
this.btnSearch.Text = "Search"; this.btnSearch.Text = "Search";
@ -1108,13 +1153,14 @@ namespace Volian.Controls.Library
// btnPrnSrchRslts // btnPrnSrchRslts
// //
this.btnPrnSrchRslts.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnPrnSrchRslts.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnPrnSrchRslts.CallBasePaintBackground = true;
this.btnPrnSrchRslts.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground; this.btnPrnSrchRslts.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
this.btnPrnSrchRslts.Enabled = false; this.btnPrnSrchRslts.Enabled = false;
this.btnPrnSrchRslts.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrnSrchRslts.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPrnSrchRslts.Location = new System.Drawing.Point(58, 29); this.btnPrnSrchRslts.Location = new System.Drawing.Point(77, 36);
this.btnPrnSrchRslts.Margin = new System.Windows.Forms.Padding(2); this.btnPrnSrchRslts.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnPrnSrchRslts.Name = "btnPrnSrchRslts"; this.btnPrnSrchRslts.Name = "btnPrnSrchRslts";
this.btnPrnSrchRslts.Size = new System.Drawing.Size(43, 23); this.btnPrnSrchRslts.Size = new System.Drawing.Size(57, 28);
this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76))); this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button will print the Search Results listed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(149, 76)));
this.btnPrnSrchRslts.TabIndex = 5; this.btnPrnSrchRslts.TabIndex = 5;
this.btnPrnSrchRslts.Text = "Print"; this.btnPrnSrchRslts.Text = "Print";
@ -1128,10 +1174,10 @@ namespace Volian.Controls.Library
this.xpSetToSearch.Controls.Add(this.advTreeProcSets); this.xpSetToSearch.Controls.Add(this.advTreeProcSets);
this.xpSetToSearch.Dock = System.Windows.Forms.DockStyle.Top; this.xpSetToSearch.Dock = System.Windows.Forms.DockStyle.Top;
this.xpSetToSearch.ExpandOnTitleClick = true; this.xpSetToSearch.ExpandOnTitleClick = true;
this.xpSetToSearch.Location = new System.Drawing.Point(0, 112); this.xpSetToSearch.Location = new System.Drawing.Point(0, 138);
this.xpSetToSearch.Margin = new System.Windows.Forms.Padding(2); this.xpSetToSearch.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.xpSetToSearch.Name = "xpSetToSearch"; this.xpSetToSearch.Name = "xpSetToSearch";
this.xpSetToSearch.Size = new System.Drawing.Size(277, 158); this.xpSetToSearch.Size = new System.Drawing.Size(369, 194);
this.xpSetToSearch.Style.Alignment = System.Drawing.StringAlignment.Center; this.xpSetToSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
this.xpSetToSearch.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.xpSetToSearch.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.xpSetToSearch.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.xpSetToSearch.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -1142,7 +1188,6 @@ namespace Volian.Controls.Library
this.superTooltip1.SetSuperTooltip(this.xpSetToSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Select Procedure Sets to Search", "", "This allows you to select specific procedure sets in which to search.\r\n\r\nThe defa" + this.superTooltip1.SetSuperTooltip(this.xpSetToSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Select Procedure Sets to Search", "", "This allows you to select specific procedure sets in which to search.\r\n\r\nThe defa" +
"ult is the current procedure set only.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(228, 105))); "ult is the current procedure set only.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(228, 105)));
this.xpSetToSearch.TabIndex = 7; this.xpSetToSearch.TabIndex = 7;
this.xpSetToSearch.TitleHeight = 21;
this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
this.xpSetToSearch.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.xpSetToSearch.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.xpSetToSearch.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.xpSetToSearch.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -1160,11 +1205,11 @@ namespace Volian.Controls.Library
this.xpStepTypes.Controls.Add(this.advTreeStepTypes); this.xpStepTypes.Controls.Add(this.advTreeStepTypes);
this.xpStepTypes.Dock = System.Windows.Forms.DockStyle.Top; this.xpStepTypes.Dock = System.Windows.Forms.DockStyle.Top;
this.xpStepTypes.ExpandOnTitleClick = true; this.xpStepTypes.ExpandOnTitleClick = true;
this.xpStepTypes.Location = new System.Drawing.Point(0, 270); this.xpStepTypes.Location = new System.Drawing.Point(0, 332);
this.xpStepTypes.Margin = new System.Windows.Forms.Padding(2); this.xpStepTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.xpStepTypes.Name = "xpStepTypes"; this.xpStepTypes.Name = "xpStepTypes";
this.xpStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No; this.xpStepTypes.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.xpStepTypes.Size = new System.Drawing.Size(277, 146); this.xpStepTypes.Size = new System.Drawing.Size(369, 180);
this.xpStepTypes.Style.Alignment = System.Drawing.StringAlignment.Center; this.xpStepTypes.Style.Alignment = System.Drawing.StringAlignment.Center;
this.xpStepTypes.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.xpStepTypes.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.xpStepTypes.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.xpStepTypes.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -1177,7 +1222,6 @@ namespace Volian.Controls.Library
"s.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(252, 120))); "s.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(252, 120)));
this.xpStepTypes.TabIndex = 8; this.xpStepTypes.TabIndex = 8;
this.xpStepTypes.ThemeAware = true; this.xpStepTypes.ThemeAware = true;
this.xpStepTypes.TitleHeight = 21;
this.xpStepTypes.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; this.xpStepTypes.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
this.xpStepTypes.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.xpStepTypes.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.xpStepTypes.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.xpStepTypes.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -1194,26 +1238,26 @@ namespace Volian.Controls.Library
// //
// DisplaySearch // DisplaySearch
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.grpPanSearchResults); this.Controls.Add(this.grpPanSearchResults);
this.Controls.Add(this.panSearchButtons); this.Controls.Add(this.panSearchButtons);
this.Controls.Add(this.xpStepTypes); this.Controls.Add(this.xpStepTypes);
this.Controls.Add(this.xpSetToSearch); this.Controls.Add(this.xpSetToSearch);
this.Controls.Add(this.tabSearchTypes); this.Controls.Add(this.tabSearchTypes);
this.Margin = new System.Windows.Forms.Padding(2); this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.Name = "DisplaySearch"; this.Name = "DisplaySearch";
this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
this.Size = new System.Drawing.Size(277, 676); this.Size = new System.Drawing.Size(369, 832);
((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabSearchTypes)).EndInit();
this.tabSearchTypes.ResumeLayout(false); this.tabSearchTypes.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.gpFindROs.ResumeLayout(false);
this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel4.ResumeLayout(false);
this.gpSrchText.ResumeLayout(false); this.gpSrchText.ResumeLayout(false);
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.panel1.PerformLayout(); this.panel1.PerformLayout();
this.panel3.ResumeLayout(false); this.panel3.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.gpFindROs.ResumeLayout(false);
this.tabControlPanel3.ResumeLayout(false); this.tabControlPanel3.ResumeLayout(false);
this.tabControlPanel3.PerformLayout(); this.tabControlPanel3.PerformLayout();
this.gpSrchAnnoText.ResumeLayout(false); this.gpSrchAnnoText.ResumeLayout(false);
@ -1303,6 +1347,7 @@ namespace Volian.Controls.Library
private DevComponents.DotNetBar.ButtonX btnCopySearchResults; private DevComponents.DotNetBar.ButtonX btnCopySearchResults;
private DevComponents.DotNetBar.ButtonX btnPrnSrchRslts; private DevComponents.DotNetBar.ButtonX btnPrnSrchRslts;
private DevComponents.DotNetBar.ButtonX btnClearSearchResults; private DevComponents.DotNetBar.ButtonX btnClearSearchResults;
private DevComponents.DotNetBar.Controls.ListViewEx listViewEx1;
} }
} }

View File

@ -73,7 +73,8 @@ namespace Volian.Controls.Library
public DocVersionInfo Mydocversion public DocVersionInfo Mydocversion
{ {
get { return _MyDocVersion; } get { return _MyDocVersion; }
set { set
{
_MyDocVersion = value; _MyDocVersion = value;
if (_MyDocVersion != null) if (_MyDocVersion != null)
{ {
@ -373,7 +374,7 @@ namespace Volian.Controls.Library
private Node LookInTree(NodeCollection monkeys, string bananna) private Node LookInTree(NodeCollection monkeys, string bananna)
{ {
Node foundit = null; Node foundit = null;
foreach(Node chimp in monkeys) foreach (Node chimp in monkeys)
{ {
if (chimp.Text.Equals(bananna)) if (chimp.Text.Equals(bananna))
{ {
@ -414,7 +415,7 @@ namespace Volian.Controls.Library
NodeCollection monkeys = advTreeProcSets.Nodes; NodeCollection monkeys = advTreeProcSets.Nodes;
while (keeplooking) while (keeplooking)
{ {
Node climber = LookInTree(monkeys,crumbs.Pop()); Node climber = LookInTree(monkeys, crumbs.Pop());
keeplooking = (climber != null && crumbs.Count > 0); keeplooking = (climber != null && crumbs.Count > 0);
if (keeplooking) if (keeplooking)
monkeys = climber.Nodes; monkeys = climber.Nodes;
@ -549,7 +550,7 @@ namespace Volian.Controls.Library
tmp.Text = chld[i].title; tmp.Text = chld[i].title;
tmp.Tag = chld[i]; tmp.Tag = chld[i];
int index = FindIndex(tn.Nodes, tmp.Text); int index = FindIndex(tn.Nodes, tmp.Text);
tn.Nodes.Insert(index,tmp); tn.Nodes.Insert(index, tmp);
//tn.Nodes.Add(tmp); //tn.Nodes.Add(tmp);
} }
} }
@ -578,7 +579,7 @@ namespace Volian.Controls.Library
double dbl2 = double.Parse(match2.ToString()); double dbl2 = double.Parse(match2.ToString());
return dbl1 > dbl2; return dbl1 > dbl2;
} }
return String.Compare( value1,value2,true) > 0; return String.Compare(value1, value2, true) > 0;
} }
private void cmboTreeROs_SelectedIndexChanged(object sender, EventArgs e) private void cmboTreeROs_SelectedIndexChanged(object sender, EventArgs e)
@ -610,7 +611,7 @@ namespace Volian.Controls.Library
{ {
_AnnotationDetails = annotationDetails; _AnnotationDetails = annotationDetails;
List<AnnotationTypeSearch> annoTypes = new List<AnnotationTypeSearch>(); List<AnnotationTypeSearch> annoTypes = new List<AnnotationTypeSearch>();
annoTypes.Add(new AnnotationTypeSearch("All Annotations","")); annoTypes.Add(new AnnotationTypeSearch("All Annotations", ""));
AnnotationTypeInfoList annoList = AnnotationTypeInfoList.Get(); AnnotationTypeInfoList annoList = AnnotationTypeInfoList.Get();
foreach (AnnotationTypeInfo ati in annoList) foreach (AnnotationTypeInfo ati in annoList)
annoTypes.Add(new AnnotationTypeSearch(ati.Name, ati.TypeID.ToString())); annoTypes.Add(new AnnotationTypeSearch(ati.Name, ati.TypeID.ToString()));
@ -693,6 +694,7 @@ namespace Volian.Controls.Library
lbSrchResults.DataSource = sortedResults; lbSrchResults.DataSource = sortedResults;
} }
else else
//PopulatelbSrcResults(_SearchResults);
lbSrchResults.DataSource = _SearchResults; lbSrchResults.DataSource = _SearchResults;
grpPanSearchResults.Text = string.Format("Search Results Found: {0}", _SearchResults.Count); grpPanSearchResults.Text = string.Format("Search Results Found: {0}", _SearchResults.Count);
grpPanSearchResults.Style.BackColor = Color.LightGreen;// Color.YellowGreen; Color.DarkSeaGreen; grpPanSearchResults.Style.BackColor = Color.LightGreen;// Color.YellowGreen; Color.DarkSeaGreen;
@ -723,6 +725,15 @@ namespace Volian.Controls.Library
_LoadingList = false; _LoadingList = false;
} }
//private void PopulatelbSrcResults(ICollection<ItemInfo> _SearchResults)
//{
// foreach (ItemInfo ii in _SearchResults)
// {
// lbSrchResults.Items.Add(ii);
// }
// Console.WriteLine("{0} Populate", DateTime.Now);
//}
//public void UpdateAnnotationSearchResults() //public void UpdateAnnotationSearchResults()
//{ //{
// //AnnotationTypeInfo ati = cbxAnnoTypes.SelectedValue as AnnotationTypeInfo; // //AnnotationTypeInfo ati = cbxAnnoTypes.SelectedValue as AnnotationTypeInfo;
@ -806,7 +817,12 @@ namespace Volian.Controls.Library
private void cbSorted_CheckedChanged(object sender, EventArgs e) private void cbSorted_CheckedChanged(object sender, EventArgs e)
{ {
Cursor savcursor = Cursor;
Application.DoEvents();
Cursor = Cursors.WaitCursor;
Console.WriteLine(string.Format("Checked = {0}", cbSorted.Checked));
DisplayResults(); DisplayResults();
Cursor = savcursor;
} }
#endregion #endregion
@ -920,7 +936,7 @@ namespace Volian.Controls.Library
{ {
foreach (Symbol sym in sl) foreach (Symbol sym in sl)
{ {
string rplace = string.Format(sym.Unicode < 256?@"\'{0:X2}" : @"\u{0}", sym.Unicode); string rplace = string.Format(sym.Unicode < 256 ? @"\'{0:X2}" : @"\u{0}", sym.Unicode);
rtnVal = rtnVal.Replace(((char)sym.Unicode).ToString(), rplace); rtnVal = rtnVal.Replace(((char)sym.Unicode).ToString(), rplace);
} }
} }
@ -929,7 +945,7 @@ namespace Volian.Controls.Library
private string GetROsToSearch(ROFSTLookup.rochild[] chld) private string GetROsToSearch(ROFSTLookup.rochild[] chld)
{ {
string rtnstr =""; string rtnstr = "";
if (chld == null) // get a single ROID if (chld == null) // get a single ROID
{ {
ROFSTLookup.rochild ro = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag; ROFSTLookup.rochild ro = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag;
@ -990,7 +1006,7 @@ namespace Volian.Controls.Library
//} //}
//else //else
//{ //{
ReportTitle = string.Format("PROMS2010 - {0} Search for '{1}'",cbxBooleanTxtSrch.Checked ? "Boolean" : "Text", TextSearchString); ReportTitle = string.Format("PROMS2010 - {0} Search for '{1}'", cbxBooleanTxtSrch.Checked ? "Boolean" : "Text", TextSearchString);
SearchString = TextSearchString; SearchString = TextSearchString;
SearchResults = ItemInfoList.GetListFromTextSearch(DVISearchList, TypeSearchList, TextSearchString, cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, cbxIncROTextSrch.Checked ? ItemSearchIncludeLinks.Value : ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars); SearchResults = ItemInfoList.GetListFromTextSearch(DVISearchList, TypeSearchList, TextSearchString, cbxBooleanTxtSrch.Checked ? 2 : cbxCaseSensitive.Checked ? 1 : 0, cbxIncROTextSrch.Checked ? ItemSearchIncludeLinks.Value : ItemSearchIncludeLinks.Nothing, includeRTFformat, includeSpecialChars);
cmbResultsStyle.SelectedIndex = 3; // display step text in results cmbResultsStyle.SelectedIndex = 3; // display step text in results
@ -1039,8 +1055,9 @@ namespace Volian.Controls.Library
{ {
Cursor = savcursor; Cursor = savcursor;
} }
if (VlnSettings.DebugMode) Console.WriteLine("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds);
MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds)); //if (VlnSettings.DebugMode)
// MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
} }
private void cbxTextSearchText_Leave(object sender, EventArgs e) private void cbxTextSearchText_Leave(object sender, EventArgs e)
@ -1092,7 +1109,7 @@ namespace Volian.Controls.Library
private void gpSrchText_EnabledChanged(object sender, EventArgs e) private void gpSrchText_EnabledChanged(object sender, EventArgs e)
{ {
if (gpSrchText.Enabled) if (gpSrchText.Enabled)
gpSrchText.Style.BackColor = cbxBooleanTxtSrch.Checked?Color.Orange: Color.Yellow; gpSrchText.Style.BackColor = cbxBooleanTxtSrch.Checked ? Color.Orange : Color.Yellow;
else else
gpSrchText.Style.BackColor = saveGpSrchTextColor; gpSrchText.Style.BackColor = saveGpSrchTextColor;
} }
@ -1118,7 +1135,7 @@ namespace Volian.Controls.Library
InsertAnnotationSearchCriteria(); InsertAnnotationSearchCriteria();
} }
} }
#endregion #endregion
#region ProcSetSelection #region ProcSetSelection
private int _MyRODbID; private int _MyRODbID;
@ -1128,7 +1145,7 @@ namespace Volian.Controls.Library
if (n.Checked) if (n.Checked)
{ {
n.Style = DevComponents.AdvTree.NodeStyles.Apple; n.Style = DevComponents.AdvTree.NodeStyles.Apple;
lstCheckedDocVersions.Add((DocVersionInfo) n.Tag); lstCheckedDocVersions.Add((DocVersionInfo)n.Tag);
if (lstCheckedDocVersions.Count == 1)//Mydocversion == null) if (lstCheckedDocVersions.Count == 1)//Mydocversion == null)
{ {
Mydocversion = (DocVersionInfo)n.Tag; Mydocversion = (DocVersionInfo)n.Tag;
@ -1321,7 +1338,7 @@ namespace Volian.Controls.Library
private void cmFndTxtCut_Click(object sender, EventArgs e) private void cmFndTxtCut_Click(object sender, EventArgs e)
{ {
Clipboard.Clear(); Clipboard.Clear();
DataObject myDO = new DataObject(DataFormats.Text, cbxTextSearchAnnotation.Focused? cbxTextSearchAnnotation.SelectedText : cbxTextSearchText.SelectedText); DataObject myDO = new DataObject(DataFormats.Text, cbxTextSearchAnnotation.Focused ? cbxTextSearchAnnotation.SelectedText : cbxTextSearchText.SelectedText);
Clipboard.SetDataObject(myDO); Clipboard.SetDataObject(myDO);
// Need to check which combo box activated the context menu so that we know where to take/put selected text // Need to check which combo box activated the context menu so that we know where to take/put selected text
if (cbxTextSearchAnnotation.Focused) if (cbxTextSearchAnnotation.Focused)
@ -1334,7 +1351,7 @@ namespace Volian.Controls.Library
private void cmFndTxtCopy_Click(object sender, EventArgs e) private void cmFndTxtCopy_Click(object sender, EventArgs e)
{ {
// Need to check which combo box activated the context menu so that we know where to take/put selected text // Need to check which combo box activated the context menu so that we know where to take/put selected text
DataObject myDO = new DataObject(DataFormats.Text, cbxTextSearchAnnotation.Focused? cbxTextSearchAnnotation.SelectedText : cbxTextSearchText.SelectedText); DataObject myDO = new DataObject(DataFormats.Text, cbxTextSearchAnnotation.Focused ? cbxTextSearchAnnotation.SelectedText : cbxTextSearchText.SelectedText);
if (cbxTextSearchText.Focused || cbxTextSearchAnnotation.Focused) if (cbxTextSearchText.Focused || cbxTextSearchAnnotation.Focused)
{ {
Clipboard.Clear(); Clipboard.Clear();
@ -1484,13 +1501,13 @@ namespace Volian.Controls.Library
{ {
sb.Append(string.Format("\r\n\"{0}\"\t\"{1}\"\t\"{2}\"\t\"{3}\"", myItem.ShortPath, myItem.ToolTip, sb.Append(string.Format("\r\n\"{0}\"\t\"{1}\"\t\"{2}\"\t\"{3}\"", myItem.ShortPath, myItem.ToolTip,
myItem.DisplayText, !myItem.IsSection && !myItem.IsHigh ? myItem.MyHLS.DisplayText : "")); myItem.DisplayText, !myItem.IsSection && !myItem.IsHigh ? myItem.MyHLS.DisplayText : ""));
if(myItem.ItemAnnotationCount > 0) if (myItem.ItemAnnotationCount > 0)
foreach(AnnotationInfo myAnnotation in myItem.ItemAnnotations) foreach (AnnotationInfo myAnnotation in myItem.ItemAnnotations)
sb.Append(string.Format("\t\"{0}\"",myAnnotation.SearchText)); sb.Append(string.Format("\t\"{0}\"", myAnnotation.SearchText));
} }
Clipboard.Clear(); Clipboard.Clear();
Clipboard.SetText(sb.ToString()); Clipboard.SetText(sb.ToString());
MessageBox.Show("Results Copied to Clipboard","Copy Results", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("Results Copied to Clipboard", "Copy Results", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
private string _ReportTitle; private string _ReportTitle;
public string ReportTitle public string ReportTitle
@ -1498,7 +1515,7 @@ namespace Volian.Controls.Library
get { return _ReportTitle; } get { return _ReportTitle; }
set { _ReportTitle = value; } set { _ReportTitle = value; }
} }
private string _SearchString=null; private string _SearchString = null;
public string SearchString public string SearchString
{ {
get { return _SearchString; } get { return _SearchString; }
@ -1506,7 +1523,7 @@ namespace Volian.Controls.Library
} }
private void btnPrnSrchRslts_Click(object sender, EventArgs e) private void btnPrnSrchRslts_Click(object sender, EventArgs e)
{ {
OnPrintRequest(new DisplaySearchEventArgs(ReportTitle,SearchString,lbSrchResults.DataSource as ICollection<ItemInfo>)); OnPrintRequest(new DisplaySearchEventArgs(ReportTitle, SearchString, lbSrchResults.DataSource as ICollection<ItemInfo>));
} }
} }
#region Annoation Search Type Class #region Annoation Search Type Class