Merge pull request 'C2024-031 Option to Disable reopen closed tabs on PROMS reentry' (#445) from C2024-031 into Development
good for testing phase
This commit is contained in:
commit
fb890ded1f
@ -24039,6 +24039,66 @@ GO
|
||||
==========================================================================================================
|
||||
*/
|
||||
|
||||
---The following RememberOpenTabs/AlwaysOpenTabs columns were added for Remeber Open Tabs.
|
||||
--- RememberOpenTabs = Do not prompt User when PROMS opens
|
||||
--- AutoOpenTabs = OpenTabs when PROMS opens - Default to On
|
||||
IF NOT EXISTS(SELECT *
|
||||
FROM INFORMATION_SCHEMA.COLUMNS
|
||||
WHERE TABLE_NAME = 'Users'
|
||||
AND COLUMN_NAME = 'RememberOpenTabs')
|
||||
ALTER TABLE Users ADD RememberOpenTabs bit NOT NULL DEFAULT(0);
|
||||
go
|
||||
-- Display the status
|
||||
IF (@@Error = 0) PRINT 'Altered table [Users] Succeeded for RememberOpenTabs'
|
||||
ELSE PRINT 'Altered table [Users] Error on Alter for RememberOpenTabs'
|
||||
go
|
||||
|
||||
IF NOT EXISTS(SELECT *
|
||||
FROM INFORMATION_SCHEMA.COLUMNS
|
||||
WHERE TABLE_NAME = 'Users'
|
||||
AND COLUMN_NAME = 'AutoOpenTabs')
|
||||
ALTER TABLE Users ADD AutoOpenTabs bit NOT NULL DEFAULT(1);
|
||||
go
|
||||
-- Display the status
|
||||
IF (@@Error = 0) PRINT 'Altered table [Users] Succeeded for AutoOpenTabs'
|
||||
ELSE PRINT 'Altered table [Users] Error on Alter for AutoOpenTabs'
|
||||
go
|
||||
|
||||
/****** Object: StoredProcedure [dbo].[vesp_UpdateUserSettings] Script Date: 10/24/2024 11:29:44 AM ******/
|
||||
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[vesp_UpdateUserSettings]') AND OBJECTPROPERTY(id,N'IsProcedure') = 1)
|
||||
DROP PROCEDURE [vesp_UpdateUserSettings];
|
||||
GO
|
||||
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
SET QUOTED_IDENTIFIER ON
|
||||
GO
|
||||
-- =============================================
|
||||
-- Author: Matthew Schill
|
||||
-- Create date: 10/24/2024
|
||||
-- Description: Update User Settings
|
||||
-- =============================================
|
||||
CREATE PROCEDURE [dbo].[vesp_UpdateUserSettings]
|
||||
|
||||
(
|
||||
@UID varchar(100),
|
||||
@Remember bit = null,
|
||||
@AutoOpen bit = null
|
||||
)
|
||||
WITH EXECUTE AS OWNER
|
||||
AS
|
||||
UPDATE Users SET
|
||||
RememberOpenTabs = ISNULL(@Remember,RememberOpenTabs),
|
||||
AutoOpenTabs = ISNULL(@AutoOpen,AutoOpenTabs)
|
||||
WHERE UserID =@UID
|
||||
|
||||
RETURN
|
||||
GO
|
||||
|
||||
IF (@@Error = 0) PRINT 'Running vesp_UpdateUserSettings Succeeded'
|
||||
ELSE PRINT 'Running vesp_UpdateUserSettings Failed to Execute'
|
||||
GO
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------------------
|
||||
| ADD New Code Before this Block |
|
||||
@ -24072,7 +24132,7 @@ BEGIN TRY -- Try Block
|
||||
DECLARE @RevDate varchar(255)
|
||||
DECLARE @RevDescription varchar(255)
|
||||
|
||||
set @RevDate = '10/03/2024 11:24'
|
||||
set @RevDate = '10/28/2024 11:24'
|
||||
set @RevDescription = 'Add the ability for PROMS to remember the procedure tabs that were open when you closed PROMS'
|
||||
|
||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||
|
@ -163,6 +163,12 @@
|
||||
<Compile Include="dlgCheckedOutProcedure.designer.cs">
|
||||
<DependentUpon>dlgCheckedOutProcedure.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckOpenTabs.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckOpenTabs.Designer.cs">
|
||||
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DlgCloseTabsOrExit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -324,6 +330,9 @@
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgCheckOpenTabs.resx">
|
||||
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DlgCloseTabsOrExit.resx">
|
||||
<DependentUpon>DlgCloseTabsOrExit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
116
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.Designer.cs
generated
Normal file
116
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.Designer.cs
generated
Normal file
@ -0,0 +1,116 @@
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class dlgCheckOpenTabs
|
||||
{
|
||||
/// <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 Windows Form 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()
|
||||
{
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.cbRemember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.btnOpenTabs = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnNoTabs = new DevComponents.DotNetBar.ButtonX();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(23, 2);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(363, 78);
|
||||
this.labelX1.TabIndex = 0;
|
||||
this.labelX1.Text = "Would you like for PROMS to reopen the tabs that you had open during your last se" +
|
||||
"ssion?";
|
||||
this.labelX1.WordWrap = true;
|
||||
//
|
||||
// cbRemember
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.cbRemember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbRemember.Location = new System.Drawing.Point(23, 75);
|
||||
this.cbRemember.Name = "cbRemember";
|
||||
this.cbRemember.Size = new System.Drawing.Size(376, 47);
|
||||
this.cbRemember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cbRemember.TabIndex = 1;
|
||||
this.cbRemember.Text = "Check this box to not be prompted in the future when opening PROMS. \nNote that th" +
|
||||
"ese settings can be adjusted at any time from the \nOPTIONS menu for PROMS.";
|
||||
//
|
||||
// btnOpenTabs
|
||||
//
|
||||
this.btnOpenTabs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOpenTabs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOpenTabs.DialogResult = System.Windows.Forms.DialogResult.Yes;
|
||||
this.btnOpenTabs.Location = new System.Drawing.Point(23, 139);
|
||||
this.btnOpenTabs.Name = "btnOpenTabs";
|
||||
this.btnOpenTabs.Size = new System.Drawing.Size(150, 42);
|
||||
this.btnOpenTabs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOpenTabs.TabIndex = 2;
|
||||
this.btnOpenTabs.Text = "Yes, Open Tabs from Last Session";
|
||||
this.btnOpenTabs.Click += new System.EventHandler(this.btnTabs_Click);
|
||||
//
|
||||
// btnNoTabs
|
||||
//
|
||||
this.btnNoTabs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnNoTabs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnNoTabs.DialogResult = System.Windows.Forms.DialogResult.No;
|
||||
this.btnNoTabs.Location = new System.Drawing.Point(216, 139);
|
||||
this.btnNoTabs.Name = "btnNoTabs";
|
||||
this.btnNoTabs.Size = new System.Drawing.Size(150, 42);
|
||||
this.btnNoTabs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnNoTabs.TabIndex = 3;
|
||||
this.btnNoTabs.Text = "No, Do Not Open Tabs from Previous Session";
|
||||
this.btnNoTabs.Click += new System.EventHandler(this.btnTabs_Click);
|
||||
//
|
||||
// dlgCheckOpenTabs
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(411, 193);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.btnNoTabs);
|
||||
this.Controls.Add(this.btnOpenTabs);
|
||||
this.Controls.Add(this.cbRemember);
|
||||
this.Controls.Add(this.labelX1);
|
||||
this.Name = "dlgCheckOpenTabs";
|
||||
this.Text = "Open Tabs from Previous Session";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbRemember;
|
||||
private DevComponents.DotNetBar.ButtonX btnOpenTabs;
|
||||
private DevComponents.DotNetBar.ButtonX btnNoTabs;
|
||||
}
|
||||
}
|
28
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.cs
Normal file
28
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class dlgCheckOpenTabs : Form
|
||||
{
|
||||
public dlgCheckOpenTabs()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public bool Remember { get; set; } = false;
|
||||
|
||||
private void btnTabs_Click(object sender, EventArgs e)
|
||||
{
|
||||
Remember = this.cbRemember.Checked;
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
120
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.resx
Normal file
120
PROMS/VEPROMS User Interface/dlgCheckOpenTabs.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
333
PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs
generated
333
PROMS/VEPROMS User Interface/frmSysOptions.Designer.cs
generated
@ -76,6 +76,9 @@ namespace VEPROMS
|
||||
this.tiStUpMsg = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.btnReset = new DevComponents.DotNetBar.ButtonX();
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.cbOTRemember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbOTAutoOpen = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.gpOpenTabs = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.gpSystemColor.SuspendLayout();
|
||||
this.panButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).BeginInit();
|
||||
@ -91,16 +94,17 @@ namespace VEPROMS
|
||||
this.gpAnnotationSettings.SuspendLayout();
|
||||
this.gpTransRangeColor.SuspendLayout();
|
||||
this.gpPropPageStyle.SuspendLayout();
|
||||
this.gpOpenTabs.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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);
|
||||
this.btnCancel.Location = new System.Drawing.Point(616, 492);
|
||||
this.btnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.Size = new System.Drawing.Size(56, 19);
|
||||
this.btnCancel.TabIndex = 0;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
@ -108,10 +112,10 @@ namespace VEPROMS
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOK.Location = new System.Drawing.Point(723, 606);
|
||||
this.btnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.btnOK.Location = new System.Drawing.Point(542, 492);
|
||||
this.btnOK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.Size = new System.Drawing.Size(56, 19);
|
||||
this.btnOK.TabIndex = 1;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
@ -125,10 +129,10 @@ namespace VEPROMS
|
||||
this.gpSystemColor.Controls.Add(this.cbRibonSilver);
|
||||
this.gpSystemColor.Controls.Add(this.cbRibonBlue);
|
||||
this.gpSystemColor.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpSystemColor.Location = new System.Drawing.Point(52, 16);
|
||||
this.gpSystemColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpSystemColor.Location = new System.Drawing.Point(39, 13);
|
||||
this.gpSystemColor.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpSystemColor.Name = "gpSystemColor";
|
||||
this.gpSystemColor.Size = new System.Drawing.Size(109, 119);
|
||||
this.gpSystemColor.Size = new System.Drawing.Size(82, 97);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -168,10 +172,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbRibonBlack.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbRibonBlack.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonBlack.Location = new System.Drawing.Point(9, 66);
|
||||
this.cbRibonBlack.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbRibonBlack.Location = new System.Drawing.Point(7, 54);
|
||||
this.cbRibonBlack.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbRibonBlack.Name = "cbRibonBlack";
|
||||
this.cbRibonBlack.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonBlack.Size = new System.Drawing.Size(67, 19);
|
||||
this.cbRibonBlack.TabIndex = 2;
|
||||
this.cbRibonBlack.Text = "Black";
|
||||
this.cbRibonBlack.CheckedChanged += new System.EventHandler(this.cbRibonBlack_CheckedChanged);
|
||||
@ -184,10 +188,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbRibonSilver.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbRibonSilver.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonSilver.Location = new System.Drawing.Point(9, 37);
|
||||
this.cbRibonSilver.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbRibonSilver.Location = new System.Drawing.Point(7, 30);
|
||||
this.cbRibonSilver.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbRibonSilver.Name = "cbRibonSilver";
|
||||
this.cbRibonSilver.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonSilver.Size = new System.Drawing.Size(67, 19);
|
||||
this.cbRibonSilver.TabIndex = 1;
|
||||
this.cbRibonSilver.Text = "Silver";
|
||||
this.cbRibonSilver.CheckedChanged += new System.EventHandler(this.cbRibonSilver_CheckedChanged);
|
||||
@ -200,10 +204,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbRibonBlue.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbRibonBlue.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbRibonBlue.Location = new System.Drawing.Point(9, 7);
|
||||
this.cbRibonBlue.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbRibonBlue.Location = new System.Drawing.Point(7, 6);
|
||||
this.cbRibonBlue.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbRibonBlue.Name = "cbRibonBlue";
|
||||
this.cbRibonBlue.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbRibonBlue.Size = new System.Drawing.Size(67, 19);
|
||||
this.cbRibonBlue.TabIndex = 0;
|
||||
this.cbRibonBlue.Text = "Blue";
|
||||
this.cbRibonBlue.CheckedChanged += new System.EventHandler(this.cbRibonBlue_CheckedChanged);
|
||||
@ -215,10 +219,10 @@ namespace VEPROMS
|
||||
this.panButtons.Controls.Add(this.btnStartMsg);
|
||||
this.panButtons.Controls.Add(this.btnGeneral);
|
||||
this.panButtons.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panButtons.Location = new System.Drawing.Point(19, 17);
|
||||
this.panButtons.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.panButtons.Location = new System.Drawing.Point(14, 14);
|
||||
this.panButtons.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panButtons.Name = "panButtons";
|
||||
this.panButtons.Size = new System.Drawing.Size(224, 566);
|
||||
this.panButtons.Size = new System.Drawing.Size(168, 460);
|
||||
this.panButtons.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panButtons.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panButtons.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@ -236,10 +240,10 @@ namespace VEPROMS
|
||||
this.btnIntrFaceStngs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnIntrFaceStngs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnIntrFaceStngs.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnIntrFaceStngs.Location = new System.Drawing.Point(0, 46);
|
||||
this.btnIntrFaceStngs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.btnIntrFaceStngs.Location = new System.Drawing.Point(0, 38);
|
||||
this.btnIntrFaceStngs.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnIntrFaceStngs.Name = "btnIntrFaceStngs";
|
||||
this.btnIntrFaceStngs.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnIntrFaceStngs.Size = new System.Drawing.Size(168, 19);
|
||||
this.btnIntrFaceStngs.TabIndex = 2;
|
||||
this.btnIntrFaceStngs.Text = "My Interface Settings";
|
||||
this.btnIntrFaceStngs.Click += new System.EventHandler(this.btnIntrFaceStngs_Click);
|
||||
@ -249,10 +253,10 @@ namespace VEPROMS
|
||||
this.btnStartMsg.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnStartMsg.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnStartMsg.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnStartMsg.Location = new System.Drawing.Point(0, 23);
|
||||
this.btnStartMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.btnStartMsg.Location = new System.Drawing.Point(0, 19);
|
||||
this.btnStartMsg.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnStartMsg.Name = "btnStartMsg";
|
||||
this.btnStartMsg.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnStartMsg.Size = new System.Drawing.Size(168, 19);
|
||||
this.btnStartMsg.TabIndex = 1;
|
||||
this.btnStartMsg.Text = "Startup Message";
|
||||
this.btnStartMsg.Visible = false;
|
||||
@ -264,9 +268,9 @@ namespace VEPROMS
|
||||
this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.btnGeneral.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.btnGeneral.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnGeneral.Name = "btnGeneral";
|
||||
this.btnGeneral.Size = new System.Drawing.Size(224, 23);
|
||||
this.btnGeneral.Size = new System.Drawing.Size(168, 19);
|
||||
this.btnGeneral.TabIndex = 0;
|
||||
this.btnGeneral.Text = "General";
|
||||
this.btnGeneral.Visible = false;
|
||||
@ -279,12 +283,12 @@ namespace VEPROMS
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel3);
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel1);
|
||||
this.tcSysOpts.Controls.Add(this.tabControlPanel2);
|
||||
this.tcSysOpts.Location = new System.Drawing.Point(36, 21);
|
||||
this.tcSysOpts.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tcSysOpts.Location = new System.Drawing.Point(27, 17);
|
||||
this.tcSysOpts.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.tcSysOpts.Name = "tcSysOpts";
|
||||
this.tcSysOpts.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
|
||||
this.tcSysOpts.SelectedTabIndex = 2;
|
||||
this.tcSysOpts.Size = new System.Drawing.Size(860, 562);
|
||||
this.tcSysOpts.Size = new System.Drawing.Size(645, 457);
|
||||
this.tcSysOpts.TabIndex = 3;
|
||||
this.tcSysOpts.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
|
||||
this.tcSysOpts.Tabs.Add(this.tiGeneral);
|
||||
@ -296,6 +300,7 @@ namespace VEPROMS
|
||||
//
|
||||
// tabControlPanel3
|
||||
//
|
||||
this.tabControlPanel3.Controls.Add(this.gpOpenTabs);
|
||||
this.tabControlPanel3.Controls.Add(this.grPanUCFImpOpt);
|
||||
this.tabControlPanel3.Controls.Add(this.gpVisioPath);
|
||||
this.tabControlPanel3.Controls.Add(this.gpSeparateWindows);
|
||||
@ -310,10 +315,10 @@ namespace VEPROMS
|
||||
this.tabControlPanel3.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel3.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.tabControlPanel3.Name = "tabControlPanel3";
|
||||
this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel3.Size = new System.Drawing.Size(860, 535);
|
||||
this.tabControlPanel3.Size = new System.Drawing.Size(645, 430);
|
||||
this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
@ -333,9 +338,10 @@ namespace VEPROMS
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLNotUsed);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFIgnore);
|
||||
this.grPanUCFImpOpt.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.grPanUCFImpOpt.Location = new System.Drawing.Point(417, 15);
|
||||
this.grPanUCFImpOpt.Location = new System.Drawing.Point(313, 12);
|
||||
this.grPanUCFImpOpt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.grPanUCFImpOpt.Name = "grPanUCFImpOpt";
|
||||
this.grPanUCFImpOpt.Size = new System.Drawing.Size(195, 170);
|
||||
this.grPanUCFImpOpt.Size = new System.Drawing.Size(146, 138);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -375,10 +381,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbUCFLForSetOnly.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbUCFLForSetOnly.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbUCFLForSetOnly.Location = new System.Drawing.Point(3, 110);
|
||||
this.cbUCFLForSetOnly.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbUCFLForSetOnly.Location = new System.Drawing.Point(2, 89);
|
||||
this.cbUCFLForSetOnly.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbUCFLForSetOnly.Name = "cbUCFLForSetOnly";
|
||||
this.cbUCFLForSetOnly.Size = new System.Drawing.Size(140, 23);
|
||||
this.cbUCFLForSetOnly.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLForSetOnly.TabIndex = 5;
|
||||
this.cbUCFLForSetOnly.Text = "Load For Set Only";
|
||||
this.cbUCFLForSetOnly.CheckedChanged += new System.EventHandler(this.cbUCFLForSetOnly_CheckedChanged);
|
||||
@ -391,10 +397,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbUCFLUseAll.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbUCFLUseAll.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbUCFLUseAll.Location = new System.Drawing.Point(3, 83);
|
||||
this.cbUCFLUseAll.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbUCFLUseAll.Location = new System.Drawing.Point(2, 67);
|
||||
this.cbUCFLUseAll.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbUCFLUseAll.Name = "cbUCFLUseAll";
|
||||
this.cbUCFLUseAll.Size = new System.Drawing.Size(140, 23);
|
||||
this.cbUCFLUseAll.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLUseAll.TabIndex = 4;
|
||||
this.cbUCFLUseAll.Text = "Load Use All";
|
||||
this.cbUCFLUseAll.CheckedChanged += new System.EventHandler(this.cbUCFLUseAll_CheckedChanged);
|
||||
@ -407,10 +413,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbUCFLOnlyImport.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbUCFLOnlyImport.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbUCFLOnlyImport.Location = new System.Drawing.Point(3, 56);
|
||||
this.cbUCFLOnlyImport.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbUCFLOnlyImport.Location = new System.Drawing.Point(2, 46);
|
||||
this.cbUCFLOnlyImport.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbUCFLOnlyImport.Name = "cbUCFLOnlyImport";
|
||||
this.cbUCFLOnlyImport.Size = new System.Drawing.Size(140, 23);
|
||||
this.cbUCFLOnlyImport.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLOnlyImport.TabIndex = 3;
|
||||
this.cbUCFLOnlyImport.Text = "Load Only Imported";
|
||||
this.cbUCFLOnlyImport.CheckedChanged += new System.EventHandler(this.cbUCFLOnlyImport_CheckedChanged);
|
||||
@ -423,10 +429,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbUCFLNotUsed.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbUCFLNotUsed.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbUCFLNotUsed.Location = new System.Drawing.Point(3, 29);
|
||||
this.cbUCFLNotUsed.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbUCFLNotUsed.Location = new System.Drawing.Point(2, 24);
|
||||
this.cbUCFLNotUsed.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbUCFLNotUsed.Name = "cbUCFLNotUsed";
|
||||
this.cbUCFLNotUsed.Size = new System.Drawing.Size(118, 23);
|
||||
this.cbUCFLNotUsed.Size = new System.Drawing.Size(88, 19);
|
||||
this.cbUCFLNotUsed.TabIndex = 2;
|
||||
this.cbUCFLNotUsed.Text = "Load Not Used";
|
||||
this.cbUCFLNotUsed.CheckedChanged += new System.EventHandler(this.cbUCFLNotUsed_CheckedChanged);
|
||||
@ -439,10 +445,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbUCFIgnore.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbUCFIgnore.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbUCFIgnore.Location = new System.Drawing.Point(3, 2);
|
||||
this.cbUCFIgnore.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbUCFIgnore.Location = new System.Drawing.Point(2, 2);
|
||||
this.cbUCFIgnore.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbUCFIgnore.Name = "cbUCFIgnore";
|
||||
this.cbUCFIgnore.Size = new System.Drawing.Size(89, 23);
|
||||
this.cbUCFIgnore.Size = new System.Drawing.Size(67, 19);
|
||||
this.cbUCFIgnore.TabIndex = 1;
|
||||
this.cbUCFIgnore.Text = "Ignore";
|
||||
this.cbUCFIgnore.CheckedChanged += new System.EventHandler(this.cbUCFIgnore_CheckedChanged);
|
||||
@ -454,10 +460,10 @@ namespace VEPROMS
|
||||
this.gpVisioPath.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpVisioPath.Controls.Add(this.txbxVisioPath);
|
||||
this.gpVisioPath.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpVisioPath.Location = new System.Drawing.Point(33, 427);
|
||||
this.gpVisioPath.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpVisioPath.Location = new System.Drawing.Point(25, 347);
|
||||
this.gpVisioPath.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpVisioPath.Name = "gpVisioPath";
|
||||
this.gpVisioPath.Size = new System.Drawing.Size(380, 85);
|
||||
this.gpVisioPath.Size = new System.Drawing.Size(285, 69);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -496,13 +502,12 @@ namespace VEPROMS
|
||||
//
|
||||
this.txbxVisioPath.Border.Class = "TextBoxBorder";
|
||||
this.txbxVisioPath.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txbxVisioPath.Location = new System.Drawing.Point(11, 16);
|
||||
this.txbxVisioPath.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.txbxVisioPath.Location = new System.Drawing.Point(8, 13);
|
||||
this.txbxVisioPath.Name = "txbxVisioPath";
|
||||
this.txbxVisioPath.PreventEnterBeep = true;
|
||||
this.txbxVisioPath.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal;
|
||||
this.txbxVisioPath.ShortcutsEnabled = false;
|
||||
this.txbxVisioPath.Size = new System.Drawing.Size(351, 22);
|
||||
this.txbxVisioPath.Size = new System.Drawing.Size(263, 20);
|
||||
this.superTooltip1.SetSuperTooltip(this.txbxVisioPath, new DevComponents.DotNetBar.SuperTooltipInfo("Visio Path", "", "PROMS wil use this specified path to open Visio for use with inserting the Equati" +
|
||||
"on sub step type.\r\n\r\nIf this is blank, then PROMS will look in the registry for " +
|
||||
"the path to Visio.\r\n\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(300, 115)));
|
||||
@ -517,10 +522,10 @@ namespace VEPROMS
|
||||
this.gpSeparateWindows.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpSeparateWindows.Controls.Add(this.cbSeparateWindows);
|
||||
this.gpSeparateWindows.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpSeparateWindows.Location = new System.Drawing.Point(417, 310);
|
||||
this.gpSeparateWindows.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpSeparateWindows.Location = new System.Drawing.Point(313, 252);
|
||||
this.gpSeparateWindows.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpSeparateWindows.Name = "gpSeparateWindows";
|
||||
this.gpSeparateWindows.Size = new System.Drawing.Size(169, 100);
|
||||
this.gpSeparateWindows.Size = new System.Drawing.Size(127, 81);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -559,10 +564,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbSeparateWindows.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbSeparateWindows.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbSeparateWindows.Location = new System.Drawing.Point(11, 10);
|
||||
this.cbSeparateWindows.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbSeparateWindows.Location = new System.Drawing.Point(8, 8);
|
||||
this.cbSeparateWindows.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbSeparateWindows.Name = "cbSeparateWindows";
|
||||
this.cbSeparateWindows.Size = new System.Drawing.Size(143, 23);
|
||||
this.cbSeparateWindows.Size = new System.Drawing.Size(107, 19);
|
||||
this.cbSeparateWindows.TabIndex = 9;
|
||||
this.cbSeparateWindows.Text = "By Procedure Set";
|
||||
this.cbSeparateWindows.CheckedChanged += new System.EventHandler(this.cbSeparateWindows_CheckedChanged);
|
||||
@ -574,10 +579,10 @@ namespace VEPROMS
|
||||
this.gpEnhancedDocs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpEnhancedDocs.Controls.Add(this.cbEnhancedDocumentSync);
|
||||
this.gpEnhancedDocs.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpEnhancedDocs.Location = new System.Drawing.Point(223, 310);
|
||||
this.gpEnhancedDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpEnhancedDocs.Location = new System.Drawing.Point(167, 252);
|
||||
this.gpEnhancedDocs.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpEnhancedDocs.Name = "gpEnhancedDocs";
|
||||
this.gpEnhancedDocs.Size = new System.Drawing.Size(169, 100);
|
||||
this.gpEnhancedDocs.Size = new System.Drawing.Size(127, 81);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -619,10 +624,10 @@ namespace VEPROMS
|
||||
this.cbEnhancedDocumentSync.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbEnhancedDocumentSync.CheckValue = "Y";
|
||||
this.cbEnhancedDocumentSync.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbEnhancedDocumentSync.Location = new System.Drawing.Point(11, 10);
|
||||
this.cbEnhancedDocumentSync.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbEnhancedDocumentSync.Location = new System.Drawing.Point(8, 8);
|
||||
this.cbEnhancedDocumentSync.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbEnhancedDocumentSync.Name = "cbEnhancedDocumentSync";
|
||||
this.cbEnhancedDocumentSync.Size = new System.Drawing.Size(132, 23);
|
||||
this.cbEnhancedDocumentSync.Size = new System.Drawing.Size(99, 19);
|
||||
this.cbEnhancedDocumentSync.TabIndex = 9;
|
||||
this.cbEnhancedDocumentSync.Text = "Sync Navigation";
|
||||
//
|
||||
@ -634,10 +639,10 @@ namespace VEPROMS
|
||||
this.gpPasteSettings.Controls.Add(this.cbPastePlainText);
|
||||
this.gpPasteSettings.Controls.Add(this.cbPasteNoReturns);
|
||||
this.gpPasteSettings.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpPasteSettings.Location = new System.Drawing.Point(33, 310);
|
||||
this.gpPasteSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpPasteSettings.Location = new System.Drawing.Point(25, 252);
|
||||
this.gpPasteSettings.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpPasteSettings.Name = "gpPasteSettings";
|
||||
this.gpPasteSettings.Size = new System.Drawing.Size(159, 100);
|
||||
this.gpPasteSettings.Size = new System.Drawing.Size(119, 81);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -679,10 +684,10 @@ namespace VEPROMS
|
||||
this.cbPastePlainText.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbPastePlainText.CheckValue = "Y";
|
||||
this.cbPastePlainText.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbPastePlainText.Location = new System.Drawing.Point(11, 10);
|
||||
this.cbPastePlainText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbPastePlainText.Location = new System.Drawing.Point(8, 8);
|
||||
this.cbPastePlainText.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbPastePlainText.Name = "cbPastePlainText";
|
||||
this.cbPastePlainText.Size = new System.Drawing.Size(123, 23);
|
||||
this.cbPastePlainText.Size = new System.Drawing.Size(92, 19);
|
||||
this.cbPastePlainText.TabIndex = 9;
|
||||
this.cbPastePlainText.Text = "Plain Text";
|
||||
this.cbPastePlainText.CheckedChanged += new System.EventHandler(this.cbPastePlainText_CheckedChanged);
|
||||
@ -697,10 +702,10 @@ namespace VEPROMS
|
||||
this.cbPasteNoReturns.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbPasteNoReturns.CheckValue = "Y";
|
||||
this.cbPasteNoReturns.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbPasteNoReturns.Location = new System.Drawing.Point(11, 34);
|
||||
this.cbPasteNoReturns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbPasteNoReturns.Location = new System.Drawing.Point(8, 28);
|
||||
this.cbPasteNoReturns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbPasteNoReturns.Name = "cbPasteNoReturns";
|
||||
this.cbPasteNoReturns.Size = new System.Drawing.Size(123, 23);
|
||||
this.cbPasteNoReturns.Size = new System.Drawing.Size(92, 19);
|
||||
this.cbPasteNoReturns.TabIndex = 10;
|
||||
this.cbPasteNoReturns.Text = "No Returns";
|
||||
this.cbPasteNoReturns.CheckedChanged += new System.EventHandler(this.cbPasteNoReturns_CheckedChanged);
|
||||
@ -712,10 +717,10 @@ namespace VEPROMS
|
||||
this.gpTreeView.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpTreeView.Controls.Add(this.cbTVExpand);
|
||||
this.gpTreeView.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpTreeView.Location = new System.Drawing.Point(416, 203);
|
||||
this.gpTreeView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpTreeView.Location = new System.Drawing.Point(312, 165);
|
||||
this.gpTreeView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpTreeView.Name = "gpTreeView";
|
||||
this.gpTreeView.Size = new System.Drawing.Size(159, 89);
|
||||
this.gpTreeView.Size = new System.Drawing.Size(119, 72);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -757,10 +762,10 @@ namespace VEPROMS
|
||||
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.Location = new System.Drawing.Point(8, 13);
|
||||
this.cbTVExpand.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbTVExpand.Name = "cbTVExpand";
|
||||
this.cbTVExpand.Size = new System.Drawing.Size(123, 23);
|
||||
this.cbTVExpand.Size = new System.Drawing.Size(92, 19);
|
||||
this.superTooltip1.SetSuperTooltip(this.cbTVExpand, new DevComponents.DotNetBar.SuperTooltipInfo("Remember Last", "", "When checked, PROMS will remember the last procedure you had seleced from the tre" +
|
||||
"e and expand the tree to that location the next time PROMS is started.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 130)));
|
||||
this.cbTVExpand.TabIndex = 7;
|
||||
@ -774,10 +779,10 @@ namespace VEPROMS
|
||||
this.gpStepTypeToolTip.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpStepTypeToolTip.Controls.Add(this.cbStepTypeToolTip);
|
||||
this.gpStepTypeToolTip.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpStepTypeToolTip.Location = new System.Drawing.Point(223, 203);
|
||||
this.gpStepTypeToolTip.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpStepTypeToolTip.Location = new System.Drawing.Point(167, 165);
|
||||
this.gpStepTypeToolTip.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpStepTypeToolTip.Name = "gpStepTypeToolTip";
|
||||
this.gpStepTypeToolTip.Size = new System.Drawing.Size(159, 89);
|
||||
this.gpStepTypeToolTip.Size = new System.Drawing.Size(119, 72);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -816,10 +821,10 @@ namespace VEPROMS
|
||||
//
|
||||
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.Location = new System.Drawing.Point(8, 13);
|
||||
this.cbStepTypeToolTip.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbStepTypeToolTip.Name = "cbStepTypeToolTip";
|
||||
this.cbStepTypeToolTip.Size = new System.Drawing.Size(123, 23);
|
||||
this.cbStepTypeToolTip.Size = new System.Drawing.Size(92, 19);
|
||||
this.cbStepTypeToolTip.TabIndex = 7;
|
||||
this.cbStepTypeToolTip.Text = "Show Tool Tip";
|
||||
this.cbStepTypeToolTip.CheckedChanged += new System.EventHandler(this.cbStepTypeToolTip_CheckedChanged);
|
||||
@ -831,10 +836,10 @@ namespace VEPROMS
|
||||
this.gpAnnotationSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpAnnotationSettings.Controls.Add(this.cbAnnotationPopup);
|
||||
this.gpAnnotationSettings.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpAnnotationSettings.Location = new System.Drawing.Point(33, 203);
|
||||
this.gpAnnotationSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpAnnotationSettings.Location = new System.Drawing.Point(25, 165);
|
||||
this.gpAnnotationSettings.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpAnnotationSettings.Name = "gpAnnotationSettings";
|
||||
this.gpAnnotationSettings.Size = new System.Drawing.Size(159, 89);
|
||||
this.gpAnnotationSettings.Size = new System.Drawing.Size(119, 72);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -876,10 +881,10 @@ namespace VEPROMS
|
||||
this.cbAnnotationPopup.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbAnnotationPopup.CheckValue = "Y";
|
||||
this.cbAnnotationPopup.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbAnnotationPopup.Location = new System.Drawing.Point(11, 16);
|
||||
this.cbAnnotationPopup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbAnnotationPopup.Location = new System.Drawing.Point(8, 13);
|
||||
this.cbAnnotationPopup.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbAnnotationPopup.Name = "cbAnnotationPopup";
|
||||
this.cbAnnotationPopup.Size = new System.Drawing.Size(123, 23);
|
||||
this.cbAnnotationPopup.Size = new System.Drawing.Size(92, 19);
|
||||
this.cbAnnotationPopup.TabIndex = 7;
|
||||
this.cbAnnotationPopup.Text = "Auto Popup";
|
||||
this.cbAnnotationPopup.CheckedChanged += new System.EventHandler(this.cbAnnotationPopup_CheckedChanged);
|
||||
@ -891,10 +896,9 @@ namespace VEPROMS
|
||||
this.gpTransRangeColor.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpTransRangeColor.Controls.Add(this.colorPickerButton1);
|
||||
this.gpTransRangeColor.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpTransRangeColor.Location = new System.Drawing.Point(650, 16);
|
||||
this.gpTransRangeColor.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.gpTransRangeColor.Location = new System.Drawing.Point(488, 13);
|
||||
this.gpTransRangeColor.Name = "gpTransRangeColor";
|
||||
this.gpTransRangeColor.Size = new System.Drawing.Size(195, 76);
|
||||
this.gpTransRangeColor.Size = new System.Drawing.Size(146, 62);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -932,11 +936,10 @@ namespace VEPROMS
|
||||
this.colorPickerButton1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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);
|
||||
this.colorPickerButton1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.colorPickerButton1.Location = new System.Drawing.Point(7, 12);
|
||||
this.colorPickerButton1.Name = "colorPickerButton1";
|
||||
this.colorPickerButton1.SelectedColorImageRectangle = new System.Drawing.Rectangle(2, 2, 12, 12);
|
||||
this.colorPickerButton1.Size = new System.Drawing.Size(137, 28);
|
||||
this.colorPickerButton1.Size = new System.Drawing.Size(103, 23);
|
||||
this.colorPickerButton1.TabIndex = 0;
|
||||
this.colorPickerButton1.SelectedColorChanged += new System.EventHandler(this.colorPickerButton1_SelectedColorChanged);
|
||||
//
|
||||
@ -949,10 +952,10 @@ namespace VEPROMS
|
||||
this.gpPropPageStyle.Controls.Add(this.cbTabbedIntrFace);
|
||||
this.gpPropPageStyle.Controls.Add(this.cbButtonIntrFace);
|
||||
this.gpPropPageStyle.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpPropPageStyle.Location = new System.Drawing.Point(207, 15);
|
||||
this.gpPropPageStyle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.gpPropPageStyle.Location = new System.Drawing.Point(155, 12);
|
||||
this.gpPropPageStyle.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.gpPropPageStyle.Name = "gpPropPageStyle";
|
||||
this.gpPropPageStyle.Size = new System.Drawing.Size(169, 132);
|
||||
this.gpPropPageStyle.Size = new System.Drawing.Size(127, 107);
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -991,10 +994,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbPropGrid.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbPropGrid.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbPropGrid.Location = new System.Drawing.Point(11, 73);
|
||||
this.cbPropGrid.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbPropGrid.Location = new System.Drawing.Point(8, 59);
|
||||
this.cbPropGrid.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbPropGrid.Name = "cbPropGrid";
|
||||
this.cbPropGrid.Size = new System.Drawing.Size(129, 25);
|
||||
this.cbPropGrid.Size = new System.Drawing.Size(97, 20);
|
||||
this.cbPropGrid.TabIndex = 2;
|
||||
this.cbPropGrid.Text = "Property Grid";
|
||||
this.cbPropGrid.Visible = false;
|
||||
@ -1006,10 +1009,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbTabbedIntrFace.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbTabbedIntrFace.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbTabbedIntrFace.Location = new System.Drawing.Point(11, 42);
|
||||
this.cbTabbedIntrFace.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbTabbedIntrFace.Location = new System.Drawing.Point(8, 34);
|
||||
this.cbTabbedIntrFace.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbTabbedIntrFace.Name = "cbTabbedIntrFace";
|
||||
this.cbTabbedIntrFace.Size = new System.Drawing.Size(148, 25);
|
||||
this.cbTabbedIntrFace.Size = new System.Drawing.Size(111, 20);
|
||||
this.cbTabbedIntrFace.TabIndex = 1;
|
||||
this.cbTabbedIntrFace.Text = "Tabbed Interface";
|
||||
//
|
||||
@ -1020,10 +1023,10 @@ namespace VEPROMS
|
||||
//
|
||||
this.cbButtonIntrFace.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbButtonIntrFace.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
|
||||
this.cbButtonIntrFace.Location = new System.Drawing.Point(11, 12);
|
||||
this.cbButtonIntrFace.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.cbButtonIntrFace.Location = new System.Drawing.Point(8, 10);
|
||||
this.cbButtonIntrFace.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.cbButtonIntrFace.Name = "cbButtonIntrFace";
|
||||
this.cbButtonIntrFace.Size = new System.Drawing.Size(129, 25);
|
||||
this.cbButtonIntrFace.Size = new System.Drawing.Size(97, 20);
|
||||
this.cbButtonIntrFace.TabIndex = 0;
|
||||
this.cbButtonIntrFace.Text = "Button Interface";
|
||||
//
|
||||
@ -1038,10 +1041,10 @@ namespace VEPROMS
|
||||
this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel1.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.tabControlPanel1.Name = "tabControlPanel1";
|
||||
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel1.Size = new System.Drawing.Size(860, 535);
|
||||
this.tabControlPanel1.Size = new System.Drawing.Size(645, 430);
|
||||
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
@ -1063,10 +1066,10 @@ namespace VEPROMS
|
||||
this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel2.Location = new System.Drawing.Point(0, 27);
|
||||
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.tabControlPanel2.Name = "tabControlPanel2";
|
||||
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel2.Size = new System.Drawing.Size(860, 535);
|
||||
this.tabControlPanel2.Size = new System.Drawing.Size(645, 430);
|
||||
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
@ -1087,11 +1090,11 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnReset.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
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);
|
||||
this.btnReset.Location = new System.Drawing.Point(194, 492);
|
||||
this.btnReset.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnReset.Name = "btnReset";
|
||||
this.btnReset.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.btnReset.Size = new System.Drawing.Size(105, 23);
|
||||
this.btnReset.Size = new System.Drawing.Size(79, 19);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnReset, new DevComponents.DotNetBar.SuperTooltipInfo("Default Settings", "", "This will reset saved user settings back to the Proms system default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(140, 95)));
|
||||
this.btnReset.TabIndex = 3;
|
||||
this.btnReset.Text = "Default Settings";
|
||||
@ -1102,13 +1105,87 @@ namespace VEPROMS
|
||||
this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
|
||||
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
//
|
||||
// cbOTRemember
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.cbOTRemember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbOTRemember.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbOTRemember.Location = new System.Drawing.Point(8, 5);
|
||||
this.cbOTRemember.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbOTRemember.Name = "cbOTRemember";
|
||||
this.cbOTRemember.Size = new System.Drawing.Size(119, 19);
|
||||
this.cbOTRemember.TabIndex = 9;
|
||||
this.cbOTRemember.Text = "Remember Setting";
|
||||
this.cbOTRemember.CheckedChanged += new System.EventHandler(this.cbOTRemember_CheckedChanged);
|
||||
//
|
||||
// cbOTAutoOpen
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.cbOTAutoOpen.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbOTAutoOpen.Enabled = false;
|
||||
this.cbOTAutoOpen.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbOTAutoOpen.Location = new System.Drawing.Point(8, 28);
|
||||
this.cbOTAutoOpen.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbOTAutoOpen.Name = "cbOTAutoOpen";
|
||||
this.cbOTAutoOpen.Size = new System.Drawing.Size(92, 19);
|
||||
this.cbOTAutoOpen.TabIndex = 10;
|
||||
this.cbOTAutoOpen.Text = "Auto Open";
|
||||
this.cbOTAutoOpen.Visible = false;
|
||||
//
|
||||
// gpOpenTabs
|
||||
//
|
||||
this.gpOpenTabs.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gpOpenTabs.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.gpOpenTabs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpOpenTabs.Controls.Add(this.cbOTRemember);
|
||||
this.gpOpenTabs.Controls.Add(this.cbOTAutoOpen);
|
||||
this.gpOpenTabs.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpOpenTabs.Location = new System.Drawing.Point(462, 252);
|
||||
this.gpOpenTabs.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpOpenTabs.Name = "gpOpenTabs";
|
||||
this.gpOpenTabs.Size = new System.Drawing.Size(139, 81);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpOpenTabs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.gpOpenTabs.Style.BackColorGradientAngle = 90;
|
||||
this.gpOpenTabs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.gpOpenTabs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpOpenTabs.Style.BorderBottomWidth = 1;
|
||||
this.gpOpenTabs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.gpOpenTabs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpOpenTabs.Style.BorderLeftWidth = 1;
|
||||
this.gpOpenTabs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpOpenTabs.Style.BorderRightWidth = 1;
|
||||
this.gpOpenTabs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpOpenTabs.Style.BorderTopWidth = 1;
|
||||
this.gpOpenTabs.Style.CornerDiameter = 4;
|
||||
this.gpOpenTabs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.gpOpenTabs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.gpOpenTabs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.gpOpenTabs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpOpenTabs.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpOpenTabs.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.gpOpenTabs.TabIndex = 13;
|
||||
this.gpOpenTabs.Text = "Open Tabs";
|
||||
//
|
||||
// frmSysOptions
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(932, 640);
|
||||
this.ClientSize = new System.Drawing.Size(699, 520);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.btnReset);
|
||||
this.Controls.Add(this.tcSysOpts);
|
||||
@ -1117,7 +1194,7 @@ namespace VEPROMS
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.DoubleBuffered = true;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "frmSysOptions";
|
||||
this.Text = "Proms System Options";
|
||||
this.Load += new System.EventHandler(this.frmSysOptions_Load);
|
||||
@ -1136,6 +1213,7 @@ namespace VEPROMS
|
||||
this.gpAnnotationSettings.ResumeLayout(false);
|
||||
this.gpTransRangeColor.ResumeLayout(false);
|
||||
this.gpPropPageStyle.ResumeLayout(false);
|
||||
this.gpOpenTabs.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -1189,9 +1267,8 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLOnlyImport;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLNotUsed;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFIgnore;
|
||||
|
||||
|
||||
|
||||
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel gpOpenTabs;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbOTRemember;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbOTAutoOpen;
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ using DevComponents.DotNetBar;
|
||||
using VEPROMS.Properties;
|
||||
using Volian.Base.Library;
|
||||
using DescriptiveEnum;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
@ -24,6 +25,9 @@ namespace VEPROMS
|
||||
get { return _CanChangeSeparateWindowsSetting; }
|
||||
set { _CanChangeSeparateWindowsSetting = value; }
|
||||
}
|
||||
|
||||
private UserSettings _usersettings;
|
||||
|
||||
public frmSysOptions()
|
||||
{
|
||||
_initializing = true;
|
||||
@ -89,6 +93,13 @@ namespace VEPROMS
|
||||
break;
|
||||
}
|
||||
|
||||
//CSM - C2024-031 - Getting User Settings
|
||||
//and set checkboxes based on what they are set to
|
||||
_usersettings = new UserSettings(VlnSettings.UserID);
|
||||
cbOTRemember.Checked = _usersettings.UserSetting_OpenTabs_Remember;
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbOTRemember.Checked;
|
||||
cbOTAutoOpen.Checked = _usersettings.UserSetting_OpenTabs_AutoOpen || !cbOTRemember.Checked;
|
||||
|
||||
}
|
||||
private void cbEnhancedDocumentSync_CheckedChanged(object sender, System.EventArgs e)
|
||||
{
|
||||
@ -151,6 +162,15 @@ namespace VEPROMS
|
||||
Settings.Default.PropPageStyle = 3;
|
||||
|
||||
Settings.Default.Save();
|
||||
//CSM - C2024-031 - Save User Settings
|
||||
//based on what checkboxes are set to
|
||||
bool? OTAuto = null;
|
||||
if (cbOTRemember.Checked)
|
||||
{
|
||||
OTAuto = cbOTAutoOpen.Checked;
|
||||
}
|
||||
_usersettings.SetUserSettings(cbOTRemember.Checked, OTAuto);
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
@ -324,5 +344,10 @@ namespace VEPROMS
|
||||
Settings.Default.UCFImportOpt = 4;
|
||||
}
|
||||
}
|
||||
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbOTRemember.Checked;
|
||||
}
|
||||
}
|
||||
}
|
@ -112,21 +112,20 @@
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="colorPickerButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScQAA
|
||||
EnEB89x6jgAAACpJREFUOE9j+P//P0UYQgApcjCKASCaFDxqwKgBIDwcDSAHww0gH/9nAACxLJWH1IMf
|
||||
ngAAAABJRU5ErkJggg==
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABJxAAAScQHz3HqOAAAAKklE
|
||||
QVQ4T2P4//8/RRhCAClyMIoBIJoUPGrAqAEgPBwNIAfDDSAf/2cAALEslYfUgx+eAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -2356,7 +2356,26 @@ namespace VEPROMS
|
||||
// Retrieve edit tab state from database.
|
||||
DataTable DisPlayTabState = VEPROMS.CSLA.Library.Item.GetDisplayTabs(VlnSettings.UserID);
|
||||
|
||||
if (DisPlayTabState.Rows.Count > 0)
|
||||
//CSM - C2024-031 - Getting User Settings
|
||||
//and set checkboxes based on what they are set to
|
||||
UserSettings usersettings = new UserSettings(VlnSettings.UserID);
|
||||
|
||||
if (DisPlayTabState.Rows.Count > 0 && (usersettings.UserSetting_OpenTabs_AutoOpen || !usersettings.UserSetting_OpenTabs_Remember))
|
||||
{
|
||||
//will open tabs by default / ask by default
|
||||
DialogResult result = DialogResult.Yes;
|
||||
if (!usersettings.UserSetting_OpenTabs_Remember)
|
||||
{
|
||||
dlgCheckOpenTabs checkOpenTabs = new dlgCheckOpenTabs();
|
||||
result = checkOpenTabs.ShowDialog();
|
||||
|
||||
//if checkbox was checked in form, then update User Settings in database
|
||||
if (checkOpenTabs.Remember)
|
||||
usersettings.SetUserSettings(true, result == DialogResult.Yes);
|
||||
}
|
||||
|
||||
|
||||
if (result == DialogResult.Yes)
|
||||
{
|
||||
foreach (DataRow TabState in DisPlayTabState.Rows)
|
||||
{
|
||||
@ -2369,6 +2388,7 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void tc_RefreshEnhancedDocument(object sender, ItemSelectedChangedEventArgs args)
|
||||
{
|
||||
|
91
PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs
Normal file
91
PROMS/VEPROMS.CSLA.Library/Minimal/UserSettings.cs
Normal file
@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using Csla.Data;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
//CSM - C2024-031 - Minimal Class for Saving / Getting User Settings
|
||||
//For Use with getting / saving if a User wishes to have tabs kept open
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
public class UserSettings
|
||||
{
|
||||
#region Private Properties
|
||||
private readonly string _userid;
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
public bool UserSetting_OpenTabs_Remember { get; protected set; } = false;
|
||||
public bool UserSetting_OpenTabs_AutoOpen { get; protected set; } = true;
|
||||
#endregion
|
||||
|
||||
|
||||
#region Constructor
|
||||
public UserSettings(string UserID)
|
||||
{
|
||||
_userid = UserID;
|
||||
|
||||
try
|
||||
{
|
||||
using (SqlConnection cn = Database.VEPROMS_SqlConnection)
|
||||
{
|
||||
using (SqlCommand cm = cn.CreateCommand())
|
||||
{
|
||||
cm.CommandType = CommandType.Text;
|
||||
cm.CommandText = "Select RememberOpenTabs, AutoOpenTabs FROM Users where UserID = @UID";
|
||||
cm.Parameters.AddWithValue("@UID", _userid);
|
||||
cm.CommandTimeout = Database.DefaultTimeout;
|
||||
using (SafeDataReader dr = new SafeDataReader(cm.ExecuteReader()))
|
||||
{
|
||||
if (dr.Read())
|
||||
{
|
||||
UserSetting_OpenTabs_Remember = (bool) dr.GetValue("RememberOpenTabs");
|
||||
UserSetting_OpenTabs_AutoOpen = (bool) dr.GetValue("AutoOpenTabs");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Database.LogException("UserSettings_GetData", ex);
|
||||
throw new DbCslaException("UserSettings_GetData", ex);
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Save Properties
|
||||
public void SetUserSettings(bool OpenTabs_Remember, bool? OpenTabs_AutoOpen = null)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (SqlConnection cn = Database.VEPROMS_SqlConnection)
|
||||
{
|
||||
using (SqlCommand cm = cn.CreateCommand())
|
||||
{
|
||||
cm.CommandType = CommandType.StoredProcedure;
|
||||
cm.CommandText = "vesp_UpdateUserSettings";
|
||||
cm.Parameters.AddWithValue("@UID", _userid);
|
||||
UserSetting_OpenTabs_Remember = OpenTabs_Remember;
|
||||
cm.Parameters.AddWithValue("@Remember", OpenTabs_Remember);
|
||||
if (OpenTabs_AutoOpen != null)
|
||||
{
|
||||
UserSetting_OpenTabs_AutoOpen = (bool) OpenTabs_AutoOpen;
|
||||
cm.Parameters.AddWithValue("@AutoOpen", OpenTabs_AutoOpen);
|
||||
}
|
||||
cm.CommandTimeout = Database.DefaultTimeout;
|
||||
|
||||
cm.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Database.LogException("UserSettings_SetUserSettings", ex);
|
||||
throw new DbCslaException("UserSettings_SetUserSettings", ex);
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -380,6 +380,7 @@
|
||||
<Compile Include="Generated\ZContentInfo.cs" />
|
||||
<Compile Include="Generated\ZTransition.cs" />
|
||||
<Compile Include="Generated\ZTransitionInfo.cs" />
|
||||
<Compile Include="Minimal\UserSettings.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="VEObjects\VEDrillDown.cs" />
|
||||
<Compile Include="VEObjects\VETreeNode.cs" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user