diff --git a/PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs b/PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs index 30024db8..2ef71edd 100644 --- a/PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs @@ -42,6 +42,10 @@ namespace VEPROMS this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.tcSysOpts = new DevComponents.DotNetBar.TabControl(); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.groupPanel6 = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbTVExpand = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.groupPanel5 = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbStepTypeToolTip = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.groupPanel4 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.cbAnnotationPopup = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.groupPanel3 = new DevComponents.DotNetBar.Controls.GroupPanel(); @@ -62,6 +66,8 @@ namespace VEPROMS ((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).BeginInit(); this.tcSysOpts.SuspendLayout(); this.tabControlPanel3.SuspendLayout(); + this.groupPanel6.SuspendLayout(); + this.groupPanel5.SuspendLayout(); this.groupPanel4.SuspendLayout(); this.groupPanel3.SuspendLayout(); this.groupPanel2.SuspendLayout(); @@ -70,7 +76,6 @@ namespace VEPROMS // btnCancel // this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnCancel.CallBasePaintBackground = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(821, 606); this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -82,7 +87,6 @@ namespace VEPROMS // btnOK // this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnOK.CallBasePaintBackground = true; this.btnOK.Location = new System.Drawing.Point(723, 606); this.btnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnOK.Name = "btnOK"; @@ -213,7 +217,6 @@ namespace VEPROMS // btnIntrFaceStngs // this.btnIntrFaceStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnIntrFaceStngs.CallBasePaintBackground = true; this.btnIntrFaceStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnIntrFaceStngs.Dock = System.Windows.Forms.DockStyle.Top; this.btnIntrFaceStngs.Location = new System.Drawing.Point(0, 46); @@ -227,7 +230,6 @@ namespace VEPROMS // btnStartMsg // this.btnStartMsg.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnStartMsg.CallBasePaintBackground = true; this.btnStartMsg.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnStartMsg.Dock = System.Windows.Forms.DockStyle.Top; this.btnStartMsg.Location = new System.Drawing.Point(0, 23); @@ -242,7 +244,6 @@ namespace VEPROMS // btnGeneral // this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnGeneral.CallBasePaintBackground = true; this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; this.btnGeneral.Location = new System.Drawing.Point(0, 0); @@ -278,6 +279,8 @@ namespace VEPROMS // // tabControlPanel3 // + this.tabControlPanel3.Controls.Add(this.groupPanel6); + this.tabControlPanel3.Controls.Add(this.groupPanel5); this.tabControlPanel3.Controls.Add(this.groupPanel4); this.tabControlPanel3.Controls.Add(this.groupPanel3); this.tabControlPanel3.Controls.Add(this.groupPanel2); @@ -297,13 +300,136 @@ namespace VEPROMS this.tabControlPanel3.TabItem = this.tiIntrFaceStngs; this.tabControlPanel3.ThemeAware = true; // + // groupPanel6 + // + this.groupPanel6.BackColor = System.Drawing.Color.Transparent; + this.groupPanel6.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanel6.Controls.Add(this.cbTVExpand); + this.groupPanel6.Location = new System.Drawing.Point(416, 185); + this.groupPanel6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.groupPanel6.Name = "groupPanel6"; + this.groupPanel6.Size = new System.Drawing.Size(159, 88); + // + // + // + this.groupPanel6.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanel6.Style.BackColorGradientAngle = 90; + this.groupPanel6.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanel6.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel6.Style.BorderBottomWidth = 1; + this.groupPanel6.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanel6.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel6.Style.BorderLeftWidth = 1; + this.groupPanel6.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel6.Style.BorderRightWidth = 1; + this.groupPanel6.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel6.Style.BorderTopWidth = 1; + this.groupPanel6.Style.Class = ""; + this.groupPanel6.Style.CornerDiameter = 4; + this.groupPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanel6.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanel6.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanel6.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanel6.StyleMouseDown.Class = ""; + this.groupPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanel6.StyleMouseOver.Class = ""; + this.groupPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanel6.TabIndex = 6; + this.groupPanel6.Text = "Tree View"; + // + // cbTVExpand + // + // + // + // + this.cbTVExpand.BackgroundStyle.Class = ""; + this.cbTVExpand.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbTVExpand.Checked = true; + this.cbTVExpand.CheckState = System.Windows.Forms.CheckState.Checked; + this.cbTVExpand.CheckValue = "Y"; + this.cbTVExpand.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbTVExpand.Location = new System.Drawing.Point(11, 16); + this.cbTVExpand.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbTVExpand.Name = "cbTVExpand"; + this.cbTVExpand.Size = new System.Drawing.Size(123, 23); + this.cbTVExpand.TabIndex = 7; + this.cbTVExpand.Text = "Save Expanded"; + this.cbTVExpand.CheckedChanged += new System.EventHandler(this.cbTVExpand_CheckedChanged); + // + // groupPanel5 + // + this.groupPanel5.BackColor = System.Drawing.Color.Transparent; + this.groupPanel5.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanel5.Controls.Add(this.cbStepTypeToolTip); + this.groupPanel5.Location = new System.Drawing.Point(223, 185); + this.groupPanel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.groupPanel5.Name = "groupPanel5"; + this.groupPanel5.Size = new System.Drawing.Size(159, 88); + // + // + // + this.groupPanel5.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanel5.Style.BackColorGradientAngle = 90; + this.groupPanel5.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanel5.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel5.Style.BorderBottomWidth = 1; + this.groupPanel5.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanel5.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel5.Style.BorderLeftWidth = 1; + this.groupPanel5.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel5.Style.BorderRightWidth = 1; + this.groupPanel5.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanel5.Style.BorderTopWidth = 1; + this.groupPanel5.Style.Class = ""; + this.groupPanel5.Style.CornerDiameter = 4; + this.groupPanel5.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanel5.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanel5.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanel5.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanel5.StyleMouseDown.Class = ""; + this.groupPanel5.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanel5.StyleMouseOver.Class = ""; + this.groupPanel5.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanel5.TabIndex = 5; + this.groupPanel5.Text = "Step Type Tool Tip"; + // + // cbStepTypeToolTip + // + // + // + // + this.cbStepTypeToolTip.BackgroundStyle.Class = ""; + this.cbStepTypeToolTip.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbStepTypeToolTip.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbStepTypeToolTip.Location = new System.Drawing.Point(11, 16); + this.cbStepTypeToolTip.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbStepTypeToolTip.Name = "cbStepTypeToolTip"; + this.cbStepTypeToolTip.Size = new System.Drawing.Size(123, 23); + this.cbStepTypeToolTip.TabIndex = 7; + this.cbStepTypeToolTip.Text = "Show Tool Tip"; + this.cbStepTypeToolTip.CheckedChanged += new System.EventHandler(this.cbStepTypeToolTip_CheckedChanged); + // // groupPanel4 // this.groupPanel4.BackColor = System.Drawing.Color.Transparent; this.groupPanel4.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel4.Controls.Add(this.cbAnnotationPopup); - this.groupPanel4.Location = new System.Drawing.Point(52, 185); + this.groupPanel4.Location = new System.Drawing.Point(33, 185); this.groupPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupPanel4.Name = "groupPanel4"; this.groupPanel4.Size = new System.Drawing.Size(159, 88); @@ -408,7 +534,6 @@ namespace VEPROMS // colorPickerButton1 // this.colorPickerButton1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.colorPickerButton1.CallBasePaintBackground = true; this.colorPickerButton1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.colorPickerButton1.Image = ((System.Drawing.Image)(resources.GetObject("colorPickerButton1.Image"))); this.colorPickerButton1.Location = new System.Drawing.Point(9, 15); @@ -568,7 +693,6 @@ namespace VEPROMS // btnReset // this.btnReset.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnReset.CallBasePaintBackground = true; this.btnReset.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnReset.Location = new System.Drawing.Point(259, 606); this.btnReset.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -607,6 +731,8 @@ namespace VEPROMS ((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).EndInit(); this.tcSysOpts.ResumeLayout(false); this.tabControlPanel3.ResumeLayout(false); + this.groupPanel6.ResumeLayout(false); + this.groupPanel5.ResumeLayout(false); this.groupPanel4.ResumeLayout(false); this.groupPanel3.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); @@ -643,6 +769,10 @@ namespace VEPROMS private DevComponents.DotNetBar.ColorPickerButton colorPickerButton1; private DevComponents.DotNetBar.Controls.GroupPanel groupPanel4; private DevComponents.DotNetBar.Controls.CheckBoxX cbAnnotationPopup; + private DevComponents.DotNetBar.Controls.GroupPanel groupPanel5; + private DevComponents.DotNetBar.Controls.CheckBoxX cbStepTypeToolTip; + private DevComponents.DotNetBar.Controls.GroupPanel groupPanel6; + private DevComponents.DotNetBar.Controls.CheckBoxX cbTVExpand; diff --git a/PROMS/VEPROMS User Interface/frmSysOptions.cs b/PROMS/VEPROMS User Interface/frmSysOptions.cs index a1be3d90..125785ee 100644 --- a/PROMS/VEPROMS User Interface/frmSysOptions.cs +++ b/PROMS/VEPROMS User Interface/frmSysOptions.cs @@ -55,6 +55,8 @@ namespace VEPROMS } colorPickerButton1.SelectedColor = Settings.Default.TransitionRangeColor; cbAnnotationPopup.Checked = Settings.Default.AutoPopUpAnnotations; + cbStepTypeToolTip.Checked = Settings.Default.StepTypeToolTip; + cbTVExpand.Checked = Settings.Default.SaveTreeviewExpanded; } @@ -158,8 +160,15 @@ namespace VEPROMS btnIntrFaceStngs.Checked = true; } + private void cbStepTypeToolTip_CheckedChanged(object sender, EventArgs e) + { + Settings.Default.StepTypeToolTip = cbStepTypeToolTip.Checked; + VlnSettings.StepTypeToolType = cbStepTypeToolTip.Checked; + } - - + private void cbTVExpand_CheckedChanged(object sender, EventArgs e) + { + Settings.Default.SaveTreeviewExpanded = cbTVExpand.Checked; + } } } \ No newline at end of file