Added button btnAnnoTypeApply to annotations section of folder properties.

Added button btnRevisionStageApply to revision stage section of folder properties.
This commit is contained in:
Rich 2013-06-21 03:21:42 +00:00
parent cce7f6cd8f
commit 3c479b08ba
3 changed files with 2470 additions and 2394 deletions

View File

@ -155,13 +155,8 @@ namespace VEPROMS
this.btnRefObjs = new DevComponents.DotNetBar.ButtonX();
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcFolder = new DevComponents.DotNetBar.TabControl();
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpRefObjs = new DevComponents.DotNetBar.TabControlPanel();
this.tiRefObj = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.btnRevisionStageApply = new DevComponents.DotNetBar.ButtonX();
this.gpApprvStageTypes = new DevComponents.DotNetBar.Controls.GroupPanel();
this.btnRevisoinStageUndo = new DevComponents.DotNetBar.ButtonX();
this.btnRevisionStageRemove = new DevComponents.DotNetBar.ButtonX();
@ -169,6 +164,12 @@ namespace VEPROMS
this.tbRevisionStage = new System.Windows.Forms.TextBox();
this.lbRevisionStages = new System.Windows.Forms.ListBox();
this.tiRevisionStages = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpRefObjs = new DevComponents.DotNetBar.TabControlPanel();
this.tiRefObj = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.txbxRemoveMsg = new DevComponents.DotNetBar.Controls.TextBoxX();
this.btnAnnoTypeUndo = new DevComponents.DotNetBar.ButtonX();
@ -186,6 +187,7 @@ namespace VEPROMS
this.tiStMsg = new DevComponents.DotNetBar.TabItem(this.components);
this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.annotationTypesBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnAnnoTypeApply = new DevComponents.DotNetBar.ButtonX();
((System.ComponentModel.ISupportInitialize)(this.folderConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).BeginInit();
@ -203,11 +205,11 @@ namespace VEPROMS
this.panButtons.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).BeginInit();
this.tcFolder.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpApprvStageTypes.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.tcpRefObjs.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpApprvStageTypes.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.tcpEdSettings.SuspendLayout();
this.tcpFmtSettings.SuspendLayout();
@ -219,7 +221,7 @@ namespace VEPROMS
// ppBtnOK
//
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnOK.Location = new System.Drawing.Point(507, 264);
this.ppBtnOK.Location = new System.Drawing.Point(489, 249);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(56, 21);
@ -232,7 +234,7 @@ namespace VEPROMS
//
this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ppBtnCancel.Location = new System.Drawing.Point(578, 264);
this.ppBtnCancel.Location = new System.Drawing.Point(560, 249);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(56, 21);
@ -1754,7 +1756,7 @@ namespace VEPROMS
this.panButtons.Location = new System.Drawing.Point(4, 6);
this.panButtons.Margin = new System.Windows.Forms.Padding(2);
this.panButtons.Name = "panButtons";
this.panButtons.Size = new System.Drawing.Size(122, 255);
this.panButtons.Size = new System.Drawing.Size(122, 235);
this.panButtons.TabIndex = 26;
//
// btnRevisionStages
@ -1866,11 +1868,11 @@ namespace VEPROMS
this.tcFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.tcFolder.BackColor = System.Drawing.Color.Transparent;
this.tcFolder.CanReorderTabs = true;
this.tcFolder.Controls.Add(this.tabControlPanel1);
this.tcFolder.Controls.Add(this.tcpGeneral);
this.tcFolder.Controls.Add(this.tabControlPanel2);
this.tcFolder.Controls.Add(this.tcpOutputSettings);
this.tcFolder.Controls.Add(this.tcpRefObjs);
this.tcFolder.Controls.Add(this.tabControlPanel2);
this.tcFolder.Controls.Add(this.tabControlPanel1);
this.tcFolder.Controls.Add(this.tcpEdSettings);
this.tcFolder.Controls.Add(this.tcpFmtSettings);
this.tcFolder.Controls.Add(this.tcpStMsg);
@ -1879,7 +1881,7 @@ namespace VEPROMS
this.tcFolder.Name = "tcFolder";
this.tcFolder.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
this.tcFolder.SelectedTabIndex = 0;
this.tcFolder.Size = new System.Drawing.Size(506, 254);
this.tcFolder.Size = new System.Drawing.Size(484, 234);
this.tcFolder.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
this.tcFolder.TabIndex = 27;
this.tcFolder.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -1894,105 +1896,9 @@ namespace VEPROMS
this.tcFolder.TabsVisible = false;
this.tcFolder.Text = "tabControl2";
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtHeading);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.lblHeading);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(506, 232);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpOutputSettings
//
this.tcpOutputSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpOutputSettings.Controls.Add(this.groupPanel2);
this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark);
this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex);
this.tcpOutputSettings.Controls.Add(this.label29);
this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark);
this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault);
this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpOutputSettings.Location = new System.Drawing.Point(0, 22);
this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(2);
this.tcpOutputSettings.Name = "tcpOutputSettings";
this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpOutputSettings.Size = new System.Drawing.Size(506, 232);
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpOutputSettings.Style.GradientAngle = 90;
this.tcpOutputSettings.TabIndex = 3;
this.tcpOutputSettings.TabItem = this.tiOutputSettings;
this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiOutputSettings
//
this.tiOutputSettings.AttachedControl = this.tcpOutputSettings;
this.tiOutputSettings.Name = "tiOutputSettings";
this.tiOutputSettings.Text = "Output Settings";
//
// tcpRefObjs
//
this.tcpRefObjs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpRefObjs.Controls.Add(this.ppBtnDefaultGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppCmbxGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppLblGrphFileExtDefault);
this.tcpRefObjs.Controls.Add(this.lblGrphFileExt);
this.tcpRefObjs.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefObjs.Location = new System.Drawing.Point(0, 22);
this.tcpRefObjs.Margin = new System.Windows.Forms.Padding(2);
this.tcpRefObjs.Name = "tcpRefObjs";
this.tcpRefObjs.Padding = new System.Windows.Forms.Padding(1);
this.tcpRefObjs.Size = new System.Drawing.Size(506, 232);
this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefObjs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefObjs.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefObjs.Style.GradientAngle = 90;
this.tcpRefObjs.TabIndex = 2;
this.tcpRefObjs.TabItem = this.tiRefObj;
this.tcpRefObjs.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiRefObj
//
this.tiRefObj.AttachedControl = this.tcpRefObjs;
this.tiRefObj.Name = "tiRefObj";
this.tiRefObj.Text = "Referenced Objects";
//
// tabControlPanel2
//
this.tabControlPanel2.Controls.Add(this.btnRevisionStageApply);
this.tabControlPanel2.Controls.Add(this.gpApprvStageTypes);
this.tabControlPanel2.Controls.Add(this.btnRevisoinStageUndo);
this.tabControlPanel2.Controls.Add(this.btnRevisionStageRemove);
@ -2004,7 +1910,7 @@ namespace VEPROMS
this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2);
this.tabControlPanel2.Name = "tabControlPanel2";
this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel2.Size = new System.Drawing.Size(506, 232);
this.tabControlPanel2.Size = new System.Drawing.Size(484, 212);
this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -2015,6 +1921,20 @@ namespace VEPROMS
this.tabControlPanel2.TabIndex = 8;
this.tabControlPanel2.TabItem = this.tiRevisionStages;
//
// btnRevisionStageApply
//
this.btnRevisionStageApply.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRevisionStageApply.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRevisionStageApply.Enabled = false;
this.btnRevisionStageApply.Location = new System.Drawing.Point(331, 140);
this.btnRevisionStageApply.Margin = new System.Windows.Forms.Padding(2);
this.btnRevisionStageApply.Name = "btnRevisionStageApply";
this.btnRevisionStageApply.Size = new System.Drawing.Size(56, 19);
this.btnRevisionStageApply.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRevisionStageApply.TabIndex = 9;
this.btnRevisionStageApply.Text = "Apply";
this.btnRevisionStageApply.Click += new System.EventHandler(this.btnRevisionStageApply_Click);
//
// gpApprvStageTypes
//
this.gpApprvStageTypes.BackColor = System.Drawing.Color.Transparent;
@ -2061,7 +1981,7 @@ namespace VEPROMS
this.btnRevisoinStageUndo.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRevisoinStageUndo.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRevisoinStageUndo.Enabled = false;
this.btnRevisoinStageUndo.Location = new System.Drawing.Point(373, 141);
this.btnRevisoinStageUndo.Location = new System.Drawing.Point(390, 140);
this.btnRevisoinStageUndo.Margin = new System.Windows.Forms.Padding(2);
this.btnRevisoinStageUndo.Name = "btnRevisoinStageUndo";
this.btnRevisoinStageUndo.Size = new System.Drawing.Size(56, 19);
@ -2074,7 +1994,7 @@ namespace VEPROMS
//
this.btnRevisionStageRemove.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRevisionStageRemove.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRevisionStageRemove.Location = new System.Drawing.Point(294, 141);
this.btnRevisionStageRemove.Location = new System.Drawing.Point(271, 140);
this.btnRevisionStageRemove.Margin = new System.Windows.Forms.Padding(2);
this.btnRevisionStageRemove.Name = "btnRevisionStageRemove";
this.btnRevisionStageRemove.Size = new System.Drawing.Size(56, 19);
@ -2089,7 +2009,7 @@ namespace VEPROMS
//
this.btnRevisionStageNew.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRevisionStageNew.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRevisionStageNew.Location = new System.Drawing.Point(217, 141);
this.btnRevisionStageNew.Location = new System.Drawing.Point(211, 140);
this.btnRevisionStageNew.Margin = new System.Windows.Forms.Padding(2);
this.btnRevisionStageNew.Name = "btnRevisionStageNew";
this.btnRevisionStageNew.Size = new System.Drawing.Size(56, 19);
@ -2115,7 +2035,7 @@ namespace VEPROMS
this.lbRevisionStages.Location = new System.Drawing.Point(1, 1);
this.lbRevisionStages.Margin = new System.Windows.Forms.Padding(2);
this.lbRevisionStages.Name = "lbRevisionStages";
this.lbRevisionStages.Size = new System.Drawing.Size(181, 225);
this.lbRevisionStages.Size = new System.Drawing.Size(181, 199);
this.lbRevisionStages.TabIndex = 0;
this.lbRevisionStages.SelectedIndexChanged += new System.EventHandler(this.lbRevisionStages_SelectedIndexChanged);
//
@ -2126,8 +2046,106 @@ namespace VEPROMS
this.tiRevisionStages.Text = "Revision Stages";
this.tiRevisionStages.Click += new System.EventHandler(this.tiRevisionStages_Click);
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtHeading);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.lblHeading);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(484, 212);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpOutputSettings
//
this.tcpOutputSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpOutputSettings.Controls.Add(this.groupPanel2);
this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx);
this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark);
this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex);
this.tcpOutputSettings.Controls.Add(this.label29);
this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark);
this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault);
this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpOutputSettings.Location = new System.Drawing.Point(0, 22);
this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(2);
this.tcpOutputSettings.Name = "tcpOutputSettings";
this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpOutputSettings.Size = new System.Drawing.Size(484, 212);
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpOutputSettings.Style.GradientAngle = 90;
this.tcpOutputSettings.TabIndex = 3;
this.tcpOutputSettings.TabItem = this.tiOutputSettings;
this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiOutputSettings
//
this.tiOutputSettings.AttachedControl = this.tcpOutputSettings;
this.tiOutputSettings.Name = "tiOutputSettings";
this.tiOutputSettings.Text = "Output Settings";
//
// tcpRefObjs
//
this.tcpRefObjs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpRefObjs.Controls.Add(this.ppBtnDefaultGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppCmbxGrphFileExt);
this.tcpRefObjs.Controls.Add(this.ppLblGrphFileExtDefault);
this.tcpRefObjs.Controls.Add(this.lblGrphFileExt);
this.tcpRefObjs.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefObjs.Location = new System.Drawing.Point(0, 22);
this.tcpRefObjs.Margin = new System.Windows.Forms.Padding(2);
this.tcpRefObjs.Name = "tcpRefObjs";
this.tcpRefObjs.Padding = new System.Windows.Forms.Padding(1);
this.tcpRefObjs.Size = new System.Drawing.Size(484, 212);
this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefObjs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefObjs.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefObjs.Style.GradientAngle = 90;
this.tcpRefObjs.TabIndex = 2;
this.tcpRefObjs.TabItem = this.tiRefObj;
this.tcpRefObjs.Enter += new System.EventHandler(this.tabpage_Enter);
//
// tiRefObj
//
this.tiRefObj.AttachedControl = this.tcpRefObjs;
this.tiRefObj.Name = "tiRefObj";
this.tiRefObj.Text = "Referenced Objects";
//
// tabControlPanel1
//
this.tabControlPanel1.Controls.Add(this.btnAnnoTypeApply);
this.tabControlPanel1.Controls.Add(this.txbxRemoveMsg);
this.tabControlPanel1.Controls.Add(this.btnAnnoTypeUndo);
this.tabControlPanel1.Controls.Add(this.btnAnnoTypeRemove);
@ -2140,7 +2158,7 @@ namespace VEPROMS
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(506, 232);
this.tabControlPanel1.Size = new System.Drawing.Size(484, 212);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -2175,7 +2193,7 @@ namespace VEPROMS
this.btnAnnoTypeUndo.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAnnoTypeUndo.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAnnoTypeUndo.Enabled = false;
this.btnAnnoTypeUndo.Location = new System.Drawing.Point(364, 48);
this.btnAnnoTypeUndo.Location = new System.Drawing.Point(378, 47);
this.btnAnnoTypeUndo.Margin = new System.Windows.Forms.Padding(2);
this.btnAnnoTypeUndo.Name = "btnAnnoTypeUndo";
this.btnAnnoTypeUndo.Size = new System.Drawing.Size(56, 19);
@ -2189,7 +2207,7 @@ namespace VEPROMS
this.btnAnnoTypeRemove.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAnnoTypeRemove.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAnnoTypeRemove.Enabled = false;
this.btnAnnoTypeRemove.Location = new System.Drawing.Point(285, 48);
this.btnAnnoTypeRemove.Location = new System.Drawing.Point(258, 47);
this.btnAnnoTypeRemove.Margin = new System.Windows.Forms.Padding(2);
this.btnAnnoTypeRemove.Name = "btnAnnoTypeRemove";
this.btnAnnoTypeRemove.Size = new System.Drawing.Size(56, 19);
@ -2204,7 +2222,7 @@ namespace VEPROMS
//
this.btnAnnoTypeNew.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAnnoTypeNew.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAnnoTypeNew.Location = new System.Drawing.Point(206, 48);
this.btnAnnoTypeNew.Location = new System.Drawing.Point(198, 48);
this.btnAnnoTypeNew.Margin = new System.Windows.Forms.Padding(2);
this.btnAnnoTypeNew.Name = "btnAnnoTypeNew";
this.btnAnnoTypeNew.Size = new System.Drawing.Size(56, 19);
@ -2241,7 +2259,7 @@ namespace VEPROMS
this.lbAnnotationTypes.Location = new System.Drawing.Point(1, 1);
this.lbAnnotationTypes.Margin = new System.Windows.Forms.Padding(2);
this.lbAnnotationTypes.Name = "lbAnnotationTypes";
this.lbAnnotationTypes.Size = new System.Drawing.Size(181, 225);
this.lbAnnotationTypes.Size = new System.Drawing.Size(181, 199);
this.lbAnnotationTypes.TabIndex = 0;
this.lbAnnotationTypes.SelectedIndexChanged += new System.EventHandler(this.lbAnnotationTypes_SelectedIndexChanged);
//
@ -2265,7 +2283,7 @@ namespace VEPROMS
this.tcpEdSettings.Margin = new System.Windows.Forms.Padding(2);
this.tcpEdSettings.Name = "tcpEdSettings";
this.tcpEdSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpEdSettings.Size = new System.Drawing.Size(506, 232);
this.tcpEdSettings.Size = new System.Drawing.Size(484, 212);
this.tcpEdSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpEdSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpEdSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -2300,7 +2318,7 @@ namespace VEPROMS
this.tcpFmtSettings.Margin = new System.Windows.Forms.Padding(2);
this.tcpFmtSettings.Name = "tcpFmtSettings";
this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFmtSettings.Size = new System.Drawing.Size(506, 232);
this.tcpFmtSettings.Size = new System.Drawing.Size(484, 212);
this.tcpFmtSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFmtSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFmtSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -2335,7 +2353,7 @@ namespace VEPROMS
this.tcpStMsg.Margin = new System.Windows.Forms.Padding(2);
this.tcpStMsg.Name = "tcpStMsg";
this.tcpStMsg.Padding = new System.Windows.Forms.Padding(1);
this.tcpStMsg.Size = new System.Drawing.Size(506, 232);
this.tcpStMsg.Size = new System.Drawing.Size(484, 212);
this.tcpStMsg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpStMsg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpStMsg.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -2360,15 +2378,28 @@ namespace VEPROMS
//
this.annotationTypesBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ItemAnnotations);
//
// btnAnnoTypeApply
//
this.btnAnnoTypeApply.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAnnoTypeApply.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAnnoTypeApply.Enabled = false;
this.btnAnnoTypeApply.Location = new System.Drawing.Point(318, 47);
this.btnAnnoTypeApply.Margin = new System.Windows.Forms.Padding(2);
this.btnAnnoTypeApply.Name = "btnAnnoTypeApply";
this.btnAnnoTypeApply.Size = new System.Drawing.Size(56, 19);
this.btnAnnoTypeApply.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnAnnoTypeApply.TabIndex = 8;
this.btnAnnoTypeApply.Text = "Apply";
this.btnAnnoTypeApply.Click += new System.EventHandler(this.btnAnnoTypeApply_Click);
//
// frmFolderProperties
//
this.AcceptButton = this.ppBtnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CancelButton = this.ppBtnCancel;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ClientSize = new System.Drawing.Size(632, 285);
this.ClientSize = new System.Drawing.Size(620, 273);
this.ControlBox = false;
this.Controls.Add(this.tcFolder);
this.Controls.Add(this.panButtons);
@ -2376,7 +2407,6 @@ namespace VEPROMS
this.Controls.Add(this.ppLblDefSettingsInfo);
this.Controls.Add(this.ppBtnCancel);
this.Controls.Add(this.ppBtnOK);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Margin = new System.Windows.Forms.Padding(2);
this.MaximizeBox = false;
@ -2412,15 +2442,15 @@ namespace VEPROMS
this.panButtons.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tcFolder)).EndInit();
this.tcFolder.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.gpApprvStageTypes.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpOutputSettings.ResumeLayout(false);
this.tcpOutputSettings.PerformLayout();
this.tcpRefObjs.ResumeLayout(false);
this.tcpRefObjs.PerformLayout();
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.gpApprvStageTypes.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.tabControlPanel1.PerformLayout();
this.tcpEdSettings.ResumeLayout(false);
@ -2596,6 +2626,8 @@ namespace VEPROMS
private DevComponents.DotNetBar.Controls.CheckBoxX rbApprovalStage;
private DevComponents.DotNetBar.Controls.CheckBoxX rbWorkflowStage;
private DevComponents.DotNetBar.Controls.GroupPanel gpApprvStageTypes;
private DevComponents.DotNetBar.ButtonX btnRevisionStageApply;
private DevComponents.DotNetBar.ButtonX btnAnnoTypeApply;
//private System.Windows.Forms.ComboBox ppCmbxChangeBarType;
}
}

View File

@ -1270,6 +1270,7 @@ namespace VEPROMS
if (btnAnnoTypeUndo.Enabled)
{
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
//DialogResult dr = MessageBox.Show("The Annotation Description was changed. \n\nSave your Changes?", "Annotation Desctiption", MessageBoxButtons.YesNo);
//if (dr == DialogResult.Yes)
//{
@ -1284,6 +1285,7 @@ namespace VEPROMS
private void LoadLocalAnnotationTypeInfo()
{
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
_LastAnnotationTypeInfoIndex = lbAnnotationTypes.SelectedIndex;
LocalAnnotationTypeInfo ai = lbAnnotationTypes.SelectedValue as LocalAnnotationTypeInfo;
@ -1292,6 +1294,7 @@ namespace VEPROMS
tbxAnnotationDescription.Text = "";
tbxAnnotationDescription.Enabled = false;
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
btnAnnoTypeNew.Enabled = true;
btnAnnoTypeRemove.Enabled = false;
txbxRemoveMsg.Visible = false;
@ -1301,7 +1304,7 @@ namespace VEPROMS
tbxAnnotationDescription.Enabled = true;
tbxAnnotationDescription.Text = ai.Name;
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
if (ai.AnnotationTypeAnnotationCount == 0)
{
btnAnnoTypeRemove.Enabled = true;
@ -1326,6 +1329,7 @@ namespace VEPROMS
private void tbxAnnotationDescription_TextChanged(object sender, EventArgs e)
{
btnAnnoTypeUndo.Enabled = true;
btnAnnoTypeApply.Enabled = true;
}
private void tiAnnoTypes_Click(object sender, EventArgs e)
@ -1346,6 +1350,7 @@ namespace VEPROMS
if (btnAnnoTypeUndo.Enabled) // save the current changes
{
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
myLocalAnnotationTypeInfoList[_LastAnnotationTypeInfoIndex].Name = tbxAnnotationDescription.Text;
RefreshAnnotationTypeList();
}
@ -1354,6 +1359,7 @@ namespace VEPROMS
myLocalAnnotationTypeInfoList.Add(lati);
//myLocalAnnotationTypeInfoList.Add(new LocalAnnotationTypeInfo("New Annotation Type"));
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
RefreshAnnotationTypeList();
btnAnnoTypeRemove.Enabled = true;
lbAnnotationTypes.SelectedIndex = lbAnnotationTypes.Items.Count - 1;
@ -1364,6 +1370,7 @@ namespace VEPROMS
{
tbxAnnotationDescription.Undo();
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
//int saveIdx = lbAnnotationTypes.SelectedIndex;
//LocalAnnotationTypeInfo ai = lbAnnotationTypes.SelectedValue as LocalAnnotationTypeInfo;
//btnAnnoTypeSave.Enabled = false;
@ -1379,6 +1386,7 @@ namespace VEPROMS
int saveIdx = lbAnnotationTypes.SelectedIndex;
btnAnnoTypeRemove.Enabled = false;
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
RefreshAnnotationTypeList();
if (saveIdx > lbAnnotationTypes.Items.Count - 1)
lbAnnotationTypes.SelectedIndex = saveIdx - 1;
@ -1428,6 +1436,7 @@ namespace VEPROMS
private void tbRevisionStage_TextChanged(object sender, EventArgs e)
{
btnRevisoinStageUndo.Enabled = true;
btnRevisionStageApply.Enabled = true;
}
@ -1438,6 +1447,7 @@ namespace VEPROMS
//myLocalStageInfoList.Add(new LocalStageInfo("New Stage", 0));
myLocalStageInfoList.Add(lsi);
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
RefreshRevisionStagesList();
btnRevisionStageRemove.Enabled = true;
lbRevisionStages.SelectedIndex = lbRevisionStages.Items.Count - 1;
@ -1457,6 +1467,7 @@ namespace VEPROMS
int savIdx = lbRevisionStages.SelectedIndex;
btnRevisionStageRemove.Enabled = false;
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
RefreshRevisionStagesList();
if (savIdx > lbRevisionStages.Items.Count - 1)
lbRevisionStages.SelectedIndex = savIdx - 1;
@ -1472,6 +1483,7 @@ namespace VEPROMS
{
tbRevisionStage.Undo();
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
LocalStageInfo si = lbRevisionStages.SelectedValue as LocalStageInfo;
rbApprovalStage.Checked = (si.IsApproved > 0);
rbWorkflowStage.Checked = (si.IsApproved == 0);
@ -1489,6 +1501,7 @@ namespace VEPROMS
if (btnRevisoinStageUndo.Enabled)
{
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
//DialogResult dr = MessageBox.Show("The Approval Stage Description was changed. \n\nSave your Changes?", "Approval Stage Desctiption", MessageBoxButtons.YesNo);
//if (dr == DialogResult.Yes)
//{
@ -1503,6 +1516,7 @@ namespace VEPROMS
private void LoadLocalStageInfo()
{
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
_LastStageInfoIndex = lbRevisionStages.SelectedIndex;
LocalStageInfo si = lbRevisionStages.SelectedValue as LocalStageInfo;
if (si == null)
@ -1510,6 +1524,7 @@ namespace VEPROMS
tbRevisionStage.Text = "";
tbRevisionStage.Enabled = false;
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
btnRevisionStageNew.Enabled = true;
btnRevisionStageRemove.Enabled = false;
return;
@ -1521,6 +1536,7 @@ namespace VEPROMS
else
rbWorkflowStage.Checked = true;
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
btnRevisionStageRemove.Enabled = true;
if (lbRevisionStages.SelectedIndex >= 0)
{
@ -1538,11 +1554,13 @@ namespace VEPROMS
private void rbWorkflowStage_CheckedChanged(object sender, EventArgs e)
{
btnRevisoinStageUndo.Enabled = true;
btnRevisionStageApply.Enabled = true;
}
private void rbApproveStage_CheckedChanged(object sender, EventArgs e)
{
btnRevisoinStageUndo.Enabled = true;
btnRevisionStageApply.Enabled = true;
}
private void tbRevisionStage_Validating(object sender, CancelEventArgs e)
@ -1599,6 +1617,29 @@ namespace VEPROMS
}
#endregion
private void btnRevisionStageApply_Click(object sender, EventArgs e)
{
//add code to apply changes
btnRevisoinStageUndo.Enabled = false;
btnRevisionStageApply.Enabled = false;
LocalStageInfo si = lbRevisionStages.SelectedValue as LocalStageInfo;
//rbApprovalStage.Checked = (si.IsApproved > 0);
//rbWorkflowStage.Checked = (si.IsApproved == 0);
si.Name = tbRevisionStage.Text;
si.IsApproved = rbApprovalStage.Checked ? 1 : 0;
RefreshRevisionStagesList();
}
private void btnAnnoTypeApply_Click(object sender, EventArgs e)
{
//add code
btnAnnoTypeUndo.Enabled = false;
btnAnnoTypeApply.Enabled = false;
LocalAnnotationTypeInfo ati = lbAnnotationTypes.SelectedValue as LocalAnnotationTypeInfo;
ati.Name = tbxAnnotationDescription.Text;
RefreshAnnotationTypeList();
}
}
public partial class LocalStageInfo

View File

@ -131,6 +131,9 @@ Check "Show Default Settings" to display the "default" graphic file extension se
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>665, 17</value>
</metadata>
<metadata name="imageCodecInfoBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>665, 17</value>
</metadata>
<data name="ppBtnDeftDisAutoDuplx.SuperTooltip" xml:space="preserve">
<value>This will revert the Disable Automatic Duplexing selection back to using the parent's (default) setting.