This commit is contained in:
2009-08-18 14:11:11 +00:00
parent b0c0a65af8
commit 6ba374729d
5 changed files with 90 additions and 43 deletions

View File

@@ -32,7 +32,7 @@ namespace Volian.Controls.Library
this.tvROFST = new System.Windows.Forms.TreeView();
this.panelValue = new System.Windows.Forms.Panel();
this.lbROId = new DevComponents.DotNetBar.LabelX();
this.labelX1 = new DevComponents.DotNetBar.LabelX();
this.lblROID = new DevComponents.DotNetBar.LabelX();
this.pnlROButtons = new System.Windows.Forms.Panel();
this.btnPreviewRO = new DevComponents.DotNetBar.ButtonX();
this.btnCancelRO = new DevComponents.DotNetBar.ButtonX();
@@ -51,9 +51,10 @@ namespace Volian.Controls.Library
//
this.tvROFST.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvROFST.HideSelection = false;
this.tvROFST.Location = new System.Drawing.Point(0, 233);
this.tvROFST.Location = new System.Drawing.Point(0, 286);
this.tvROFST.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.tvROFST.Name = "tvROFST";
this.tvROFST.Size = new System.Drawing.Size(233, 274);
this.tvROFST.Size = new System.Drawing.Size(311, 338);
this.tvROFST.TabIndex = 5;
this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand);
this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect);
@@ -61,39 +62,40 @@ namespace Volian.Controls.Library
// panelValue
//
this.panelValue.Controls.Add(this.lbROId);
this.panelValue.Controls.Add(this.labelX1);
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, 4, 4, 4);
this.panelValue.Name = "panelValue";
this.panelValue.Size = new System.Drawing.Size(233, 99);
this.panelValue.Size = new System.Drawing.Size(311, 122);
this.panelValue.TabIndex = 7;
//
// lbROId
//
this.lbROId.Dock = System.Windows.Forms.DockStyle.Left;
this.lbROId.ForeColor = System.Drawing.SystemColors.Highlight;
this.lbROId.Location = new System.Drawing.Point(46, 22);
this.lbROId.Margin = new System.Windows.Forms.Padding(2);
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(183, 23);
this.lbROId.Size = new System.Drawing.Size(244, 29);
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)));
" 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);
//
// labelX1
// lblROID
//
this.labelX1.Dock = System.Windows.Forms.DockStyle.Left;
this.labelX1.Location = new System.Drawing.Point(0, 22);
this.labelX1.Margin = new System.Windows.Forms.Padding(2);
this.labelX1.Name = "labelX1";
this.labelX1.Size = new System.Drawing.Size(46, 23);
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("RO ID", "", "The RO ID for the selected RO Value will be displayed here.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
this.labelX1.TabIndex = 10;
this.labelX1.Text = "RO ID:";
this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
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, 29);
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
//
@@ -101,9 +103,10 @@ namespace Volian.Controls.Library
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, 45);
this.pnlROButtons.Location = new System.Drawing.Point(0, 56);
this.pnlROButtons.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.pnlROButtons.Name = "pnlROButtons";
this.pnlROButtons.Size = new System.Drawing.Size(233, 54);
this.pnlROButtons.Size = new System.Drawing.Size(311, 66);
this.pnlROButtons.TabIndex = 9;
//
// btnPreviewRO
@@ -112,10 +115,10 @@ namespace Volian.Controls.Library
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, 37);
this.btnPreviewRO.Margin = new System.Windows.Forms.Padding(2);
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(233, 19);
this.btnPreviewRO.Size = new System.Drawing.Size(311, 23);
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";
@@ -127,11 +130,12 @@ namespace Volian.Controls.Library
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, 18);
this.btnCancelRO.Location = new System.Drawing.Point(0, 22);
this.btnCancelRO.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnCancelRO.Name = "btnCancelRO";
this.btnCancelRO.Size = new System.Drawing.Size(233, 19);
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)));
".\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);
@@ -143,8 +147,9 @@ namespace Volian.Controls.Library
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, 4, 4, 4);
this.btnSaveRO.Name = "btnSaveRO";
this.btnSaveRO.Size = new System.Drawing.Size(233, 18);
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";
@@ -156,8 +161,9 @@ namespace Volian.Controls.Library
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, 4, 4, 4);
this.panelRoValue.Name = "panelRoValue";
this.panelRoValue.Size = new System.Drawing.Size(233, 22);
this.panelRoValue.Size = new System.Drawing.Size(311, 27);
this.panelRoValue.TabIndex = 8;
//
// tbROValue
@@ -168,13 +174,14 @@ namespace Volian.Controls.Library
//
this.tbROValue.Border.Class = "TextBoxBorder";
this.tbROValue.Dock = System.Windows.Forms.DockStyle.Top;
this.tbROValue.Location = new System.Drawing.Point(48, 0);
this.tbROValue.Location = new System.Drawing.Point(64, 0);
this.tbROValue.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.tbROValue.Name = "tbROValue";
this.tbROValue.ReadOnly = true;
this.tbROValue.Size = new System.Drawing.Size(185, 20);
this.tbROValue.Size = new System.Drawing.Size(247, 22);
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)));
"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;
@@ -184,11 +191,12 @@ namespace Volian.Controls.Library
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, 4, 4, 4);
this.lblROValue.Name = "lblROValue";
this.lblROValue.Size = new System.Drawing.Size(48, 22);
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)));
"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;
@@ -201,22 +209,26 @@ namespace Volian.Controls.Library
//
this.lbFound.Dock = System.Windows.Forms.DockStyle.Top;
this.lbFound.FormattingEnabled = true;
this.lbFound.Location = new System.Drawing.Point(0, 99);
this.lbFound.ItemHeight = 16;
this.lbFound.Location = new System.Drawing.Point(0, 122);
this.lbFound.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lbFound.Name = "lbFound";
this.lbFound.Size = new System.Drawing.Size(233, 134);
this.lbFound.Size = new System.Drawing.Size(311, 164);
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(6F, 13F);
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, 4, 4, 4);
this.Name = "DisplayRO";
this.Size = new System.Drawing.Size(233, 507);
this.Size = new System.Drawing.Size(311, 624);
this.panelValue.ResumeLayout(false);
this.pnlROButtons.ResumeLayout(false);
this.panelRoValue.ResumeLayout(false);
@@ -235,7 +247,7 @@ namespace Volian.Controls.Library
private DevComponents.DotNetBar.ButtonX btnCancelRO;
private DevComponents.DotNetBar.ButtonX btnSaveRO;
private DevComponents.DotNetBar.ButtonX btnPreviewRO;
private DevComponents.DotNetBar.LabelX labelX1;
private DevComponents.DotNetBar.LabelX lblROID;
private DevComponents.DotNetBar.LabelX lbROId;
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
private System.Windows.Forms.ListBox lbFound;