This commit is contained in:
Kathy Ruffing 2009-08-18 14:11:43 +00:00
parent 6ba374729d
commit ed89a68e90
3 changed files with 33 additions and 1 deletions

View File

@ -42,6 +42,7 @@ namespace Volian.Controls.Library
this.lblNoTypeChgReason = new DevComponents.DotNetBar.LabelX();
this.cbChgAll = new System.Windows.Forms.CheckBox();
this.listBoxStepTypes = new System.Windows.Forms.ListBox();
this.superTooltipTags = new DevComponents.DotNetBar.SuperTooltip();
this.groupPanelMisc.SuspendLayout();
this.groupPanelCheckoff.SuspendLayout();
this.groupPanelApplic.SuspendLayout();
@ -51,6 +52,7 @@ namespace Volian.Controls.Library
//
// groupPanelMisc
//
this.groupPanelMisc.BackColor = System.Drawing.Color.Transparent;
this.groupPanelMisc.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanelMisc.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.groupPanelMisc.Controls.Add(this.cbCAS);
@ -87,6 +89,7 @@ namespace Volian.Controls.Library
this.cbCAS.Location = new System.Drawing.Point(0, 32);
this.cbCAS.Name = "cbCAS";
this.cbCAS.Size = new System.Drawing.Size(191, 23);
this.superTooltipTags.SetSuperTooltip(this.cbCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Continuous Action Summary", "", "Include this in the Continuous Action Summary section", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbCAS.TabIndex = 1;
this.cbCAS.Text = "Continuous Action Summary";
this.cbCAS.CheckedChanged += new System.EventHandler(this.cbCAS_CheckedChanged);
@ -96,6 +99,7 @@ namespace Volian.Controls.Library
this.cbPageBreak.Location = new System.Drawing.Point(0, 3);
this.cbPageBreak.Name = "cbPageBreak";
this.cbPageBreak.Size = new System.Drawing.Size(191, 23);
this.superTooltipTags.SetSuperTooltip(this.cbPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbPageBreak.TabIndex = 0;
this.cbPageBreak.Text = "Manual Page Break";
this.cbPageBreak.CheckedChanged += new System.EventHandler(this.cbPageBreak_CheckedChanged);
@ -195,6 +199,7 @@ namespace Volian.Controls.Library
//
// groupPanelChgBar
//
this.groupPanelChgBar.BackColor = System.Drawing.Color.Transparent;
this.groupPanelChgBar.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanelChgBar.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.groupPanelChgBar.Controls.Add(this.rbChgBarOff);
@ -232,6 +237,8 @@ namespace Volian.Controls.Library
this.rbChgBarOff.Location = new System.Drawing.Point(4, 43);
this.rbChgBarOff.Name = "rbChgBarOff";
this.rbChgBarOff.Size = new System.Drawing.Size(56, 21);
this.superTooltipTags.SetSuperTooltip(this.rbChgBarOff, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar OFF", "", "Turn change bar off. Note that \'OVERRIDE\' will turn off a change bar even though" +
" text is changed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.rbChgBarOff.TabIndex = 2;
this.rbChgBarOff.TabStop = true;
this.rbChgBarOff.Text = "OFF";
@ -244,6 +251,7 @@ namespace Volian.Controls.Library
this.rbChgBarOn.Location = new System.Drawing.Point(4, 16);
this.rbChgBarOn.Name = "rbChgBarOn";
this.rbChgBarOn.Size = new System.Drawing.Size(50, 21);
this.superTooltipTags.SetSuperTooltip(this.rbChgBarOn, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar ON", "", "Add a change bar on this step", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.rbChgBarOn.TabIndex = 1;
this.rbChgBarOn.TabStop = true;
this.rbChgBarOn.Text = "ON";
@ -252,6 +260,7 @@ namespace Volian.Controls.Library
//
// groupPanelChgStepType
//
this.groupPanelChgStepType.BackColor = System.Drawing.SystemColors.Control;
this.groupPanelChgStepType.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanelChgStepType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.groupPanelChgStepType.Controls.Add(this.lblNoTypeChgReason);
@ -286,6 +295,8 @@ namespace Volian.Controls.Library
//
// lblNoTypeChgReason
//
this.lblNoTypeChgReason.BackColor = System.Drawing.Color.Transparent;
this.lblNoTypeChgReason.ForeColor = System.Drawing.Color.Red;
this.lblNoTypeChgReason.Location = new System.Drawing.Point(3, 35);
this.lblNoTypeChgReason.Name = "lblNoTypeChgReason";
this.lblNoTypeChgReason.Size = new System.Drawing.Size(164, 118);
@ -294,12 +305,15 @@ namespace Volian.Controls.Library
// cbChgAll
//
this.cbChgAll.AutoSize = true;
this.cbChgAll.BackColor = System.Drawing.Color.Transparent;
this.cbChgAll.Location = new System.Drawing.Point(3, 8);
this.cbChgAll.Name = "cbChgAll";
this.cbChgAll.Size = new System.Drawing.Size(153, 21);
this.superTooltipTags.SetSuperTooltip(this.cbChgAll, new DevComponents.DotNetBar.SuperTooltipInfo("Change Step Type - All At Level", "", "When checked, all steps at the level of current step will have their step type ch" +
"anged to the selected type in list below...", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbChgAll.TabIndex = 4;
this.cbChgAll.Text = "Change All At Level";
this.cbChgAll.UseVisualStyleBackColor = true;
this.cbChgAll.UseVisualStyleBackColor = false;
//
// listBoxStepTypes
//
@ -308,9 +322,15 @@ namespace Volian.Controls.Library
this.listBoxStepTypes.Location = new System.Drawing.Point(3, 35);
this.listBoxStepTypes.Name = "listBoxStepTypes";
this.listBoxStepTypes.Size = new System.Drawing.Size(164, 116);
this.superTooltipTags.SetSuperTooltip(this.listBoxStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Possible Step Types", "", "This list allows change of type showing all selections of any possible step type " +
"for the current step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.listBoxStepTypes.TabIndex = 3;
this.listBoxStepTypes.SelectedIndexChanged += new System.EventHandler(this.listBoxStepTypes_SelectedIndexChanged);
//
// superTooltipTags
//
this.superTooltipTags.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// DisplayTags
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -349,5 +369,6 @@ namespace Volian.Controls.Library
private System.Windows.Forms.ListBox listBoxStepTypes;
private System.Windows.Forms.RadioButton rbChgBarOff;
private System.Windows.Forms.RadioButton rbChgBarOn;
private DevComponents.DotNetBar.SuperTooltip superTooltipTags;
}
}

View File

@ -79,6 +79,13 @@ namespace Volian.Controls.Library
private void TagsFillIn()
{
_Initalizing = true;
// do some coloring (didn't work when setting properties)
// don't like: Goldenrod, Gold
groupPanelChgBar.Style.BackColor = Color.Cornsilk;
groupPanelChgStepType.Style.BackColor = Color.Cornsilk;
groupPanelMisc.Style.BackColor = Color.Cornsilk;
groupPanelCheckoff.Style.BackColor = Color.Cornsilk;
cbPageBreak.Enabled = true; // these may have been set to false if non-step item was selected.
cbCAS.Enabled = true;
rbChgBarOff.Enabled = true;
@ -176,6 +183,7 @@ namespace Volian.Controls.Library
listBoxStepTypes.Items.Clear();
listBoxStepTypes.SelectedIndex = DoListStepTypes(fmtdata, top, fmtdata.StepDataList[formatSteptype].Type);
lblNoTypeChgReason.Visible = !(listBoxStepTypes.Items.Count>0);
cbChgAll.Enabled = (listBoxStepTypes.Items.Count > 0);
listBoxStepTypes.Visible = (listBoxStepTypes.Items.Count>0);
_Initalizing = false;
}

View File

@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="superTooltipTags.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>