 a3b9bc73ab
			
		
	
	a3b9bc73ab
	
	
	
		
			
			Set IsVisible rather than Visible for DisplayTags Only lookup ROs if MyRTB.SelectedText contains text Dock lbFound above the RO TreeView
		
			
				
	
	
		
			294 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			294 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace Volian.Controls.Library
 | |
| {
 | |
| 	partial class DisplayRO
 | |
| 	{
 | |
| 		/// <summary> 
 | |
| 		/// Required designer variable.
 | |
| 		/// </summary>
 | |
| 		private System.ComponentModel.IContainer components = null;
 | |
| 
 | |
| 		/// <summary> 
 | |
| 		/// Clean up any resources being used.
 | |
| 		/// </summary>
 | |
| 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 | |
| 		protected override void Dispose(bool disposing)
 | |
| 		{
 | |
| 			if (disposing && (components != null))
 | |
| 			{
 | |
| 				components.Dispose();
 | |
| 			}
 | |
| 			base.Dispose(disposing);
 | |
| 		}
 | |
| 
 | |
| 		#region Component Designer generated code
 | |
| 
 | |
| 		/// <summary> 
 | |
| 		/// Required method for Designer support - do not modify 
 | |
| 		/// the contents of this method with the code editor.
 | |
| 		/// </summary>
 | |
| 		private void InitializeComponent()
 | |
| 		{
 | |
| 			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayRO));
 | |
| 			this.tvROFST = new System.Windows.Forms.TreeView();
 | |
| 			this.panelValue = new System.Windows.Forms.Panel();
 | |
| 			this.lbROId = new DevComponents.DotNetBar.LabelX();
 | |
| 			this.lblROID = new DevComponents.DotNetBar.LabelX();
 | |
| 			this.pnlROButtons = new System.Windows.Forms.Panel();
 | |
| 			this.btnGoToRO = new DevComponents.DotNetBar.ButtonX();
 | |
| 			this.btnPreviewRO = new DevComponents.DotNetBar.ButtonX();
 | |
| 			this.btnCancelRO = new DevComponents.DotNetBar.ButtonX();
 | |
| 			this.btnSaveRO = new DevComponents.DotNetBar.ButtonX();
 | |
| 			this.panelRoValue = new System.Windows.Forms.Panel();
 | |
| 			this.tbROValue = new DevComponents.DotNetBar.Controls.TextBoxX();
 | |
| 			this.lblROValue = new DevComponents.DotNetBar.LabelX();
 | |
| 			this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
 | |
| 			this.lbFound = new System.Windows.Forms.ListBox();
 | |
| 			this.panelValue.SuspendLayout();
 | |
| 			this.pnlROButtons.SuspendLayout();
 | |
| 			this.panelRoValue.SuspendLayout();
 | |
| 			this.SuspendLayout();
 | |
| 			// 
 | |
| 			// tvROFST
 | |
| 			// 
 | |
| 			this.tvROFST.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
| 			this.tvROFST.HideSelection = false;
 | |
| 			this.tvROFST.Location = new System.Drawing.Point(0, 180);
 | |
| 			this.tvROFST.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.tvROFST.Name = "tvROFST";
 | |
| 			this.tvROFST.Size = new System.Drawing.Size(311, 444);
 | |
| 			this.tvROFST.TabIndex = 5;
 | |
| 			this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand);
 | |
| 			this.tvROFST.DoubleClick += new System.EventHandler(this.tvROFST_DoubleClick);
 | |
| 			this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect);
 | |
| 			// 
 | |
| 			// panelValue
 | |
| 			// 
 | |
| 			this.panelValue.Controls.Add(this.lbROId);
 | |
| 			this.panelValue.Controls.Add(this.lblROID);
 | |
| 			this.panelValue.Controls.Add(this.pnlROButtons);
 | |
| 			this.panelValue.Controls.Add(this.panelRoValue);
 | |
| 			this.panelValue.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.panelValue.Location = new System.Drawing.Point(0, 0);
 | |
| 			this.panelValue.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.panelValue.Name = "panelValue";
 | |
| 			this.panelValue.Size = new System.Drawing.Size(311, 180);
 | |
| 			this.panelValue.TabIndex = 7;
 | |
| 			// 
 | |
| 			// lbROId
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			this.lbROId.BackgroundStyle.Class = "";
 | |
| 			this.lbROId.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
 | |
| 			this.lbROId.Dock = System.Windows.Forms.DockStyle.Left;
 | |
| 			this.lbROId.ForeColor = System.Drawing.SystemColors.Highlight;
 | |
| 			this.lbROId.Location = new System.Drawing.Point(61, 27);
 | |
| 			this.lbROId.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
 | |
| 			this.lbROId.Name = "lbROId";
 | |
| 			this.lbROId.Size = new System.Drawing.Size(244, 64);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.lbROId, new DevComponents.DotNetBar.SuperTooltipInfo("RO ID", "", "The RO ID for the selected RO Value will be displayed here.  Double-Click to open" +
 | |
| 						" the RO Editor.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
 | |
| 			this.lbROId.TabIndex = 11;
 | |
| 			this.lbROId.DoubleClick += new System.EventHandler(this.lbROId_DoubleClick);
 | |
| 			// 
 | |
| 			// lblROID
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			this.lblROID.BackgroundStyle.Class = "";
 | |
| 			this.lblROID.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
 | |
| 			this.lblROID.Dock = System.Windows.Forms.DockStyle.Left;
 | |
| 			this.lblROID.Location = new System.Drawing.Point(0, 27);
 | |
| 			this.lblROID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
 | |
| 			this.lblROID.Name = "lblROID";
 | |
| 			this.lblROID.Size = new System.Drawing.Size(61, 64);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.lblROID, new DevComponents.DotNetBar.SuperTooltipInfo("RO ID", "", "The RO ID for the selected RO Value will be displayed here.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
 | |
| 			this.lblROID.TabIndex = 10;
 | |
| 			this.lblROID.Text = "RO ID:";
 | |
| 			this.lblROID.TextAlignment = System.Drawing.StringAlignment.Center;
 | |
| 			// 
 | |
| 			// pnlROButtons
 | |
| 			// 
 | |
| 			this.pnlROButtons.Controls.Add(this.btnGoToRO);
 | |
| 			this.pnlROButtons.Controls.Add(this.btnPreviewRO);
 | |
| 			this.pnlROButtons.Controls.Add(this.btnCancelRO);
 | |
| 			this.pnlROButtons.Controls.Add(this.btnSaveRO);
 | |
| 			this.pnlROButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
 | |
| 			this.pnlROButtons.Location = new System.Drawing.Point(0, 91);
 | |
| 			this.pnlROButtons.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.pnlROButtons.Name = "pnlROButtons";
 | |
| 			this.pnlROButtons.Size = new System.Drawing.Size(311, 89);
 | |
| 			this.pnlROButtons.TabIndex = 9;
 | |
| 			// 
 | |
| 			// btnGoToRO
 | |
| 			// 
 | |
| 			this.btnGoToRO.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
 | |
| 			this.btnGoToRO.CallBasePaintBackground = true;
 | |
| 			this.btnGoToRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
 | |
| 			this.btnGoToRO.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.btnGoToRO.Enabled = false;
 | |
| 			this.btnGoToRO.Location = new System.Drawing.Point(0, 67);
 | |
| 			this.btnGoToRO.Name = "btnGoToRO";
 | |
| 			this.btnGoToRO.Size = new System.Drawing.Size(311, 22);
 | |
| 			this.btnGoToRO.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
 | |
| 			this.btnGoToRO.TabIndex = 11;
 | |
| 			this.btnGoToRO.Text = "Go To";
 | |
| 			this.btnGoToRO.Click += new System.EventHandler(this.btnGoToRO_Click);
 | |
| 			// 
 | |
| 			// btnPreviewRO
 | |
| 			// 
 | |
| 			this.btnPreviewRO.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
 | |
| 			this.btnPreviewRO.CallBasePaintBackground = true;
 | |
| 			this.btnPreviewRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
 | |
| 			this.btnPreviewRO.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.btnPreviewRO.Enabled = false;
 | |
| 			this.btnPreviewRO.Location = new System.Drawing.Point(0, 45);
 | |
| 			this.btnPreviewRO.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
 | |
| 			this.btnPreviewRO.Name = "btnPreviewRO";
 | |
| 			this.btnPreviewRO.Size = new System.Drawing.Size(311, 22);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.btnPreviewRO, new DevComponents.DotNetBar.SuperTooltipInfo("Preview", "", "This will Preview the selected RO Table, X/Y Plot, or Image.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
 | |
| 			this.btnPreviewRO.TabIndex = 10;
 | |
| 			this.btnPreviewRO.Text = "Preview";
 | |
| 			this.btnPreviewRO.Click += new System.EventHandler(this.btnPreviewRO_Click);
 | |
| 			// 
 | |
| 			// btnCancelRO
 | |
| 			// 
 | |
| 			this.btnCancelRO.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
 | |
| 			this.btnCancelRO.CallBasePaintBackground = true;
 | |
| 			this.btnCancelRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
 | |
| 			this.btnCancelRO.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.btnCancelRO.Enabled = false;
 | |
| 			this.btnCancelRO.Location = new System.Drawing.Point(0, 22);
 | |
| 			this.btnCancelRO.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.btnCancelRO.Name = "btnCancelRO";
 | |
| 			this.btnCancelRO.Size = new System.Drawing.Size(311, 23);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.btnCancelRO, new DevComponents.DotNetBar.SuperTooltipInfo("Cancel", "", "This become active when you about to replace an existing RO link in you procedure" +
 | |
| 						".\r\n\r\nNOTE: This willL NOT un-do after you select the Save RO button.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(195, 145)));
 | |
| 			this.btnCancelRO.TabIndex = 9;
 | |
| 			this.btnCancelRO.Text = "Cancel";
 | |
| 			this.btnCancelRO.Click += new System.EventHandler(this.btnCancelRO_Click);
 | |
| 			// 
 | |
| 			// btnSaveRO
 | |
| 			// 
 | |
| 			this.btnSaveRO.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
 | |
| 			this.btnSaveRO.CallBasePaintBackground = true;
 | |
| 			this.btnSaveRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
 | |
| 			this.btnSaveRO.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.btnSaveRO.Enabled = false;
 | |
| 			this.btnSaveRO.Location = new System.Drawing.Point(0, 0);
 | |
| 			this.btnSaveRO.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.btnSaveRO.Name = "btnSaveRO";
 | |
| 			this.btnSaveRO.Size = new System.Drawing.Size(311, 22);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.btnSaveRO, new DevComponents.DotNetBar.SuperTooltipInfo("Save RO", "", resources.GetString("btnSaveRO.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(340, 125)));
 | |
| 			this.btnSaveRO.TabIndex = 8;
 | |
| 			this.btnSaveRO.Text = "Save RO";
 | |
| 			this.btnSaveRO.Click += new System.EventHandler(this.btnSaveRO_Click);
 | |
| 			// 
 | |
| 			// panelRoValue
 | |
| 			// 
 | |
| 			this.panelRoValue.Controls.Add(this.tbROValue);
 | |
| 			this.panelRoValue.Controls.Add(this.lblROValue);
 | |
| 			this.panelRoValue.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.panelRoValue.Location = new System.Drawing.Point(0, 0);
 | |
| 			this.panelRoValue.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.panelRoValue.Name = "panelRoValue";
 | |
| 			this.panelRoValue.Size = new System.Drawing.Size(311, 27);
 | |
| 			this.panelRoValue.TabIndex = 8;
 | |
| 			// 
 | |
| 			// tbROValue
 | |
| 			// 
 | |
| 			this.tbROValue.BackColor = System.Drawing.SystemColors.ControlLightLight;
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			this.tbROValue.Border.Class = "TextBoxBorder";
 | |
| 			this.tbROValue.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
 | |
| 			this.tbROValue.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.tbROValue.Location = new System.Drawing.Point(64, 0);
 | |
| 			this.tbROValue.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.tbROValue.Name = "tbROValue";
 | |
| 			this.tbROValue.ReadOnly = true;
 | |
| 			this.tbROValue.Size = new System.Drawing.Size(247, 26);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.tbROValue, new DevComponents.DotNetBar.SuperTooltipInfo("RO Value", "", "The value of selected RO will be displayed here.\r\n\r\nExceptions:\r\n- Tables, X/Y Pl" +
 | |
| 						"ots, and Images will state what they are. The Preview button will display the va" +
 | |
| 						"lue.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 135)));
 | |
| 			this.tbROValue.TabIndex = 7;
 | |
| 			this.tbROValue.WatermarkText = "Select RO Below";
 | |
| 			this.tbROValue.WordWrap = false;
 | |
| 			// 
 | |
| 			// lblROValue
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			// 
 | |
| 			this.lblROValue.BackgroundStyle.Class = "";
 | |
| 			this.lblROValue.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
 | |
| 			this.lblROValue.Dock = System.Windows.Forms.DockStyle.Left;
 | |
| 			this.lblROValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 | |
| 			this.lblROValue.Location = new System.Drawing.Point(0, 0);
 | |
| 			this.lblROValue.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.lblROValue.Name = "lblROValue";
 | |
| 			this.lblROValue.Size = new System.Drawing.Size(64, 27);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.lblROValue, new DevComponents.DotNetBar.SuperTooltipInfo("RO Value", "", "The value of selected RO will be displayed here.\r\n\r\nExceptions:\r\n- Tables, X/Y Pl" +
 | |
| 						"ots, and Images will state what they are. The Preview button will display the va" +
 | |
| 						"lue.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 135)));
 | |
| 			this.lblROValue.TabIndex = 6;
 | |
| 			this.lblROValue.Text = "RO Value:";
 | |
| 			this.lblROValue.TextLineAlignment = System.Drawing.StringAlignment.Near;
 | |
| 			// 
 | |
| 			// superTooltip1
 | |
| 			// 
 | |
| 			this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
 | |
| 			// 
 | |
| 			// lbFound
 | |
| 			// 
 | |
| 			this.lbFound.Dock = System.Windows.Forms.DockStyle.Top;
 | |
| 			this.lbFound.FormattingEnabled = true;
 | |
| 			this.lbFound.ItemHeight = 16;
 | |
| 			this.lbFound.Location = new System.Drawing.Point(0, 218);
 | |
| 			this.lbFound.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.lbFound.Name = "lbFound";
 | |
| 			this.lbFound.Size = new System.Drawing.Size(311, 68);
 | |
| 			this.superTooltip1.SetSuperTooltip(this.lbFound, new DevComponents.DotNetBar.SuperTooltipInfo("Available ROs", "", "ROs that are available are displayed in a tree view. ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
 | |
| 			this.lbFound.TabIndex = 8;
 | |
| 			this.lbFound.Visible = false;
 | |
| 			this.lbFound.SelectedValueChanged += new System.EventHandler(this.lbFound_SelectedValueChanged);
 | |
| 			// 
 | |
| 			// DisplayRO
 | |
| 			// 
 | |
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
 | |
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | |
| 			this.Controls.Add(this.tvROFST);
 | |
| 			this.Controls.Add(this.lbFound);
 | |
| 			this.Controls.Add(this.panelValue);
 | |
| 			this.Margin = new System.Windows.Forms.Padding(4);
 | |
| 			this.Name = "DisplayRO";
 | |
| 			this.Size = new System.Drawing.Size(311, 624);
 | |
| 			this.panelValue.ResumeLayout(false);
 | |
| 			this.pnlROButtons.ResumeLayout(false);
 | |
| 			this.panelRoValue.ResumeLayout(false);
 | |
| 			this.ResumeLayout(false);
 | |
| 
 | |
| 		}
 | |
| 
 | |
| 		#endregion
 | |
| 
 | |
| 		private System.Windows.Forms.TreeView tvROFST;
 | |
| 		private System.Windows.Forms.Panel panelValue;
 | |
| 		private System.Windows.Forms.Panel panelRoValue;
 | |
| 		private DevComponents.DotNetBar.Controls.TextBoxX tbROValue;
 | |
| 		private DevComponents.DotNetBar.LabelX lblROValue;
 | |
| 		private System.Windows.Forms.Panel pnlROButtons;
 | |
| 		private DevComponents.DotNetBar.ButtonX btnCancelRO;
 | |
| 		private DevComponents.DotNetBar.ButtonX btnSaveRO;
 | |
| 		private DevComponents.DotNetBar.ButtonX btnPreviewRO;
 | |
| 		private DevComponents.DotNetBar.LabelX lblROID;
 | |
| 		private DevComponents.DotNetBar.LabelX lbROId;
 | |
| 		private DevComponents.DotNetBar.SuperTooltip superTooltip1;
 | |
| 		private System.Windows.Forms.ListBox lbFound;
 | |
| 		private DevComponents.DotNetBar.ButtonX btnGoToRO;
 | |
| 	}
 | |
| }
 |